#[non_exhaustive]pub struct SearchPromptsInputBuilder { /* private fields */ }
Expand description
A builder for SearchPromptsInput
.
Implementations§
source§impl SearchPromptsInputBuilder
impl SearchPromptsInputBuilder
sourcepub fn instance_id(self, input: impl Into<String>) -> Self
pub fn instance_id(self, input: impl Into<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
This field is required.sourcepub fn set_instance_id(self, input: Option<String>) -> Self
pub fn set_instance_id(self, input: Option<String>) -> Self
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn get_instance_id(&self) -> &Option<String>
pub fn get_instance_id(&self) -> &Option<String>
The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return per page.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return per page.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return per page.
sourcepub fn search_filter(self, input: PromptSearchFilter) -> Self
pub fn search_filter(self, input: PromptSearchFilter) -> Self
Filters to be applied to search results.
sourcepub fn set_search_filter(self, input: Option<PromptSearchFilter>) -> Self
pub fn set_search_filter(self, input: Option<PromptSearchFilter>) -> Self
Filters to be applied to search results.
sourcepub fn get_search_filter(&self) -> &Option<PromptSearchFilter>
pub fn get_search_filter(&self) -> &Option<PromptSearchFilter>
Filters to be applied to search results.
sourcepub fn search_criteria(self, input: PromptSearchCriteria) -> Self
pub fn search_criteria(self, input: PromptSearchCriteria) -> Self
The search criteria to be used to return prompts.
sourcepub fn set_search_criteria(self, input: Option<PromptSearchCriteria>) -> Self
pub fn set_search_criteria(self, input: Option<PromptSearchCriteria>) -> Self
The search criteria to be used to return prompts.
sourcepub fn get_search_criteria(&self) -> &Option<PromptSearchCriteria>
pub fn get_search_criteria(&self) -> &Option<PromptSearchCriteria>
The search criteria to be used to return prompts.
sourcepub fn build(self) -> Result<SearchPromptsInput, BuildError>
pub fn build(self) -> Result<SearchPromptsInput, BuildError>
Consumes the builder and constructs a SearchPromptsInput
.
source§impl SearchPromptsInputBuilder
impl SearchPromptsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<SearchPromptsOutput, SdkError<SearchPromptsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<SearchPromptsOutput, SdkError<SearchPromptsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchPromptsInputBuilder
impl Clone for SearchPromptsInputBuilder
source§fn clone(&self) -> SearchPromptsInputBuilder
fn clone(&self) -> SearchPromptsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SearchPromptsInputBuilder
impl Debug for SearchPromptsInputBuilder
source§impl Default for SearchPromptsInputBuilder
impl Default for SearchPromptsInputBuilder
source§fn default() -> SearchPromptsInputBuilder
fn default() -> SearchPromptsInputBuilder
source§impl PartialEq for SearchPromptsInputBuilder
impl PartialEq for SearchPromptsInputBuilder
source§fn eq(&self, other: &SearchPromptsInputBuilder) -> bool
fn eq(&self, other: &SearchPromptsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.