Struct aws_sdk_connect::types::builders::SearchCriteriaBuilder
source · #[non_exhaustive]pub struct SearchCriteriaBuilder { /* private fields */ }Expand description
A builder for SearchCriteria.
Implementations§
source§impl SearchCriteriaBuilder
impl SearchCriteriaBuilder
sourcepub fn agent_ids(self, input: impl Into<String>) -> Self
pub fn agent_ids(self, input: impl Into<String>) -> Self
Appends an item to agent_ids.
To override the contents of this collection use set_agent_ids.
The identifiers of agents who handled the contacts.
sourcepub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_agent_ids(self, input: Option<Vec<String>>) -> Self
The identifiers of agents who handled the contacts.
sourcepub fn get_agent_ids(&self) -> &Option<Vec<String>>
pub fn get_agent_ids(&self) -> &Option<Vec<String>>
The identifiers of agents who handled the contacts.
sourcepub fn agent_hierarchy_groups(self, input: AgentHierarchyGroups) -> Self
pub fn agent_hierarchy_groups(self, input: AgentHierarchyGroups) -> Self
The agent hierarchy groups of the agent at the time of handling the contact.
sourcepub fn set_agent_hierarchy_groups(
self,
input: Option<AgentHierarchyGroups>,
) -> Self
pub fn set_agent_hierarchy_groups( self, input: Option<AgentHierarchyGroups>, ) -> Self
The agent hierarchy groups of the agent at the time of handling the contact.
sourcepub fn get_agent_hierarchy_groups(&self) -> &Option<AgentHierarchyGroups>
pub fn get_agent_hierarchy_groups(&self) -> &Option<AgentHierarchyGroups>
The agent hierarchy groups of the agent at the time of handling the contact.
sourcepub fn channels(self, input: Channel) -> Self
pub fn channels(self, input: Channel) -> Self
Appends an item to channels.
To override the contents of this collection use set_channels.
The list of channels associated with contacts.
sourcepub fn set_channels(self, input: Option<Vec<Channel>>) -> Self
pub fn set_channels(self, input: Option<Vec<Channel>>) -> Self
The list of channels associated with contacts.
sourcepub fn get_channels(&self) -> &Option<Vec<Channel>>
pub fn get_channels(&self) -> &Option<Vec<Channel>>
The list of channels associated with contacts.
sourcepub fn contact_analysis(self, input: ContactAnalysis) -> Self
pub fn contact_analysis(self, input: ContactAnalysis) -> Self
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
sourcepub fn set_contact_analysis(self, input: Option<ContactAnalysis>) -> Self
pub fn set_contact_analysis(self, input: Option<ContactAnalysis>) -> Self
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
sourcepub fn get_contact_analysis(&self) -> &Option<ContactAnalysis>
pub fn get_contact_analysis(&self) -> &Option<ContactAnalysis>
Search criteria based on analysis outputs from Amazon Connect Contact Lens.
sourcepub fn initiation_methods(self, input: ContactInitiationMethod) -> Self
pub fn initiation_methods(self, input: ContactInitiationMethod) -> Self
Appends an item to initiation_methods.
To override the contents of this collection use set_initiation_methods.
The list of initiation methods associated with contacts.
sourcepub fn set_initiation_methods(
self,
input: Option<Vec<ContactInitiationMethod>>,
) -> Self
pub fn set_initiation_methods( self, input: Option<Vec<ContactInitiationMethod>>, ) -> Self
The list of initiation methods associated with contacts.
sourcepub fn get_initiation_methods(&self) -> &Option<Vec<ContactInitiationMethod>>
pub fn get_initiation_methods(&self) -> &Option<Vec<ContactInitiationMethod>>
The list of initiation methods associated with contacts.
sourcepub fn queue_ids(self, input: impl Into<String>) -> Self
pub fn queue_ids(self, input: impl Into<String>) -> Self
Appends an item to queue_ids.
To override the contents of this collection use set_queue_ids.
The list of queue IDs associated with contacts.
sourcepub fn set_queue_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_queue_ids(self, input: Option<Vec<String>>) -> Self
The list of queue IDs associated with contacts.
sourcepub fn get_queue_ids(&self) -> &Option<Vec<String>>
pub fn get_queue_ids(&self) -> &Option<Vec<String>>
The list of queue IDs associated with contacts.
sourcepub fn searchable_contact_attributes(
self,
input: SearchableContactAttributes,
) -> Self
pub fn searchable_contact_attributes( self, input: SearchableContactAttributes, ) -> Self
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
sourcepub fn set_searchable_contact_attributes(
self,
input: Option<SearchableContactAttributes>,
) -> Self
pub fn set_searchable_contact_attributes( self, input: Option<SearchableContactAttributes>, ) -> Self
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
sourcepub fn get_searchable_contact_attributes(
&self,
) -> &Option<SearchableContactAttributes>
pub fn get_searchable_contact_attributes( &self, ) -> &Option<SearchableContactAttributes>
The search criteria based on user-defined contact attributes that have been configured for contact search. For more information, see Search by custom contact attributes in the Amazon Connect Administrator Guide.
To use SearchableContactAttributes in a search request, the GetContactAttributes action is required to perform an API request. For more information, see https://docs.aws.amazon.com/service-authorization/latest/reference/list_amazonconnect.html#amazonconnect-actions-as-permissionsActions defined by Amazon Connect.
sourcepub fn build(self) -> SearchCriteria
pub fn build(self) -> SearchCriteria
Consumes the builder and constructs a SearchCriteria.
Trait Implementations§
source§impl Clone for SearchCriteriaBuilder
impl Clone for SearchCriteriaBuilder
source§fn clone(&self) -> SearchCriteriaBuilder
fn clone(&self) -> SearchCriteriaBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SearchCriteriaBuilder
impl Debug for SearchCriteriaBuilder
source§impl Default for SearchCriteriaBuilder
impl Default for SearchCriteriaBuilder
source§fn default() -> SearchCriteriaBuilder
fn default() -> SearchCriteriaBuilder
source§impl PartialEq for SearchCriteriaBuilder
impl PartialEq for SearchCriteriaBuilder
impl StructuralPartialEq for SearchCriteriaBuilder
Auto Trait Implementations§
impl Freeze for SearchCriteriaBuilder
impl RefUnwindSafe for SearchCriteriaBuilder
impl Send for SearchCriteriaBuilder
impl Sync for SearchCriteriaBuilder
impl Unpin for SearchCriteriaBuilder
impl UnwindSafe for SearchCriteriaBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more