Struct aws_sdk_connect::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2InputBuilder
source · #[non_exhaustive]pub struct ListRealtimeContactAnalysisSegmentsV2InputBuilder { /* private fields */ }
Expand description
A builder for ListRealtimeContactAnalysisSegmentsV2Input
.
Implementations§
source§impl ListRealtimeContactAnalysisSegmentsV2InputBuilder
impl ListRealtimeContactAnalysisSegmentsV2InputBuilder
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 contact_id(self, input: impl Into<String>) -> Self
pub fn contact_id(self, input: impl Into<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
This field is required.sourcepub fn set_contact_id(self, input: Option<String>) -> Self
pub fn set_contact_id(self, input: Option<String>) -> Self
The identifier of the contact in this instance of Amazon Connect.
sourcepub fn get_contact_id(&self) -> &Option<String>
pub fn get_contact_id(&self) -> &Option<String>
The identifier of the contact in this instance of Amazon Connect.
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 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 output_type(self, input: RealTimeContactAnalysisOutputType) -> Self
pub fn output_type(self, input: RealTimeContactAnalysisOutputType) -> Self
The Contact Lens output type to be returned.
This field is required.sourcepub fn set_output_type(
self,
input: Option<RealTimeContactAnalysisOutputType>
) -> Self
pub fn set_output_type( self, input: Option<RealTimeContactAnalysisOutputType> ) -> Self
The Contact Lens output type to be returned.
sourcepub fn get_output_type(&self) -> &Option<RealTimeContactAnalysisOutputType>
pub fn get_output_type(&self) -> &Option<RealTimeContactAnalysisOutputType>
The Contact Lens output type to be returned.
sourcepub fn segment_types(self, input: RealTimeContactAnalysisSegmentType) -> Self
pub fn segment_types(self, input: RealTimeContactAnalysisSegmentType) -> Self
Appends an item to segment_types
.
To override the contents of this collection use set_segment_types
.
Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
sourcepub fn set_segment_types(
self,
input: Option<Vec<RealTimeContactAnalysisSegmentType>>
) -> Self
pub fn set_segment_types( self, input: Option<Vec<RealTimeContactAnalysisSegmentType>> ) -> Self
Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
sourcepub fn get_segment_types(
&self
) -> &Option<Vec<RealTimeContactAnalysisSegmentType>>
pub fn get_segment_types( &self ) -> &Option<Vec<RealTimeContactAnalysisSegmentType>>
Enum with segment types . Each value corresponds to a segment type returned in the segments list of the API. Each segment type has its own structure. Different channels may have different sets of supported segment types.
sourcepub fn build(
self
) -> Result<ListRealtimeContactAnalysisSegmentsV2Input, BuildError>
pub fn build( self ) -> Result<ListRealtimeContactAnalysisSegmentsV2Input, BuildError>
Consumes the builder and constructs a ListRealtimeContactAnalysisSegmentsV2Input
.
source§impl ListRealtimeContactAnalysisSegmentsV2InputBuilder
impl ListRealtimeContactAnalysisSegmentsV2InputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, SdkError<ListRealtimeContactAnalysisSegmentsV2Error, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, SdkError<ListRealtimeContactAnalysisSegmentsV2Error, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListRealtimeContactAnalysisSegmentsV2InputBuilder
impl Clone for ListRealtimeContactAnalysisSegmentsV2InputBuilder
source§fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2InputBuilder
fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2InputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListRealtimeContactAnalysisSegmentsV2InputBuilder
impl Default for ListRealtimeContactAnalysisSegmentsV2InputBuilder
source§fn default() -> ListRealtimeContactAnalysisSegmentsV2InputBuilder
fn default() -> ListRealtimeContactAnalysisSegmentsV2InputBuilder
source§impl PartialEq for ListRealtimeContactAnalysisSegmentsV2InputBuilder
impl PartialEq for ListRealtimeContactAnalysisSegmentsV2InputBuilder
source§fn eq(&self, other: &ListRealtimeContactAnalysisSegmentsV2InputBuilder) -> bool
fn eq(&self, other: &ListRealtimeContactAnalysisSegmentsV2InputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.