Struct aws_sdk_connect::operation::list_realtime_contact_analysis_segments_v2::builders::ListRealtimeContactAnalysisSegmentsV2FluentBuilder
source · pub struct ListRealtimeContactAnalysisSegmentsV2FluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to ListRealtimeContactAnalysisSegmentsV2
.
Provides a list of analysis segments for a real-time analysis session.
Implementations§
source§impl ListRealtimeContactAnalysisSegmentsV2FluentBuilder
impl ListRealtimeContactAnalysisSegmentsV2FluentBuilder
sourcepub fn as_input(&self) -> &ListRealtimeContactAnalysisSegmentsV2InputBuilder
pub fn as_input(&self) -> &ListRealtimeContactAnalysisSegmentsV2InputBuilder
Access the ListRealtimeContactAnalysisSegmentsV2 as a reference.
sourcepub async fn send(
self
) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, SdkError<ListRealtimeContactAnalysisSegmentsV2Error, HttpResponse>>
pub async fn send( self ) -> Result<ListRealtimeContactAnalysisSegmentsV2Output, SdkError<ListRealtimeContactAnalysisSegmentsV2Error, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListRealtimeContactAnalysisSegmentsV2Output, ListRealtimeContactAnalysisSegmentsV2Error, Self>
pub fn customize( self ) -> CustomizableOperation<ListRealtimeContactAnalysisSegmentsV2Output, ListRealtimeContactAnalysisSegmentsV2Error, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListRealtimeContactAnalysisSegmentsV2Paginator
pub fn into_paginator(self) -> ListRealtimeContactAnalysisSegmentsV2Paginator
Create a paginator for this request
Paginators are used by calling send().await
which returns a PaginationStream
.
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.
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.
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.
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 SegmentTypes
.
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.
Trait Implementations§
source§impl Clone for ListRealtimeContactAnalysisSegmentsV2FluentBuilder
impl Clone for ListRealtimeContactAnalysisSegmentsV2FluentBuilder
source§fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2FluentBuilder
fn clone(&self) -> ListRealtimeContactAnalysisSegmentsV2FluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more