Struct aws_sdk_connect::operation::get_current_user_data::builders::GetCurrentUserDataInputBuilder
source · #[non_exhaustive]pub struct GetCurrentUserDataInputBuilder { /* private fields */ }
Expand description
A builder for GetCurrentUserDataInput
.
Implementations§
source§impl GetCurrentUserDataInputBuilder
impl GetCurrentUserDataInputBuilder
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 filters(self, input: UserDataFilters) -> Self
pub fn filters(self, input: UserDataFilters) -> Self
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
This field is required.sourcepub fn set_filters(self, input: Option<UserDataFilters>) -> Self
pub fn set_filters(self, input: Option<UserDataFilters>) -> Self
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
sourcepub fn get_filters(&self) -> &Option<UserDataFilters>
pub fn get_filters(&self) -> &Option<UserDataFilters>
The filters to apply to returned user data. You can filter up to the following limits:
-
Queues: 100
-
Routing profiles: 100
-
Agents: 100
-
Contact states: 9
-
User hierarchy groups: 1
The user data is retrieved for only the specified values/resources in the filter. A maximum of one filter can be passed from queues, routing profiles, agents, and user hierarchy groups.
Currently tagging is only supported on the resources that are passed in the filter.
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 build(self) -> Result<GetCurrentUserDataInput, BuildError>
pub fn build(self) -> Result<GetCurrentUserDataInput, BuildError>
Consumes the builder and constructs a GetCurrentUserDataInput
.
source§impl GetCurrentUserDataInputBuilder
impl GetCurrentUserDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetCurrentUserDataOutput, SdkError<GetCurrentUserDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetCurrentUserDataOutput, SdkError<GetCurrentUserDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetCurrentUserDataInputBuilder
impl Clone for GetCurrentUserDataInputBuilder
source§fn clone(&self) -> GetCurrentUserDataInputBuilder
fn clone(&self) -> GetCurrentUserDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetCurrentUserDataInputBuilder
impl Default for GetCurrentUserDataInputBuilder
source§fn default() -> GetCurrentUserDataInputBuilder
fn default() -> GetCurrentUserDataInputBuilder
source§impl PartialEq for GetCurrentUserDataInputBuilder
impl PartialEq for GetCurrentUserDataInputBuilder
source§fn eq(&self, other: &GetCurrentUserDataInputBuilder) -> bool
fn eq(&self, other: &GetCurrentUserDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.