Struct aws_sdk_lexmodelsv2::operation::list_session_metrics::builders::ListSessionMetricsOutputBuilder
source · #[non_exhaustive]pub struct ListSessionMetricsOutputBuilder { /* private fields */ }Expand description
A builder for ListSessionMetricsOutput.
Implementations§
source§impl ListSessionMetricsOutputBuilder
impl ListSessionMetricsOutputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier for the bot for which you retrieved session metrics.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier for the bot for which you retrieved session metrics.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier for the bot for which you retrieved session metrics.
sourcepub fn results(self, input: AnalyticsSessionResult) -> Self
pub fn results(self, input: AnalyticsSessionResult) -> Self
Appends an item to results.
To override the contents of this collection use set_results.
The results for the session metrics.
sourcepub fn set_results(self, input: Option<Vec<AnalyticsSessionResult>>) -> Self
pub fn set_results(self, input: Option<Vec<AnalyticsSessionResult>>) -> Self
The results for the session metrics.
sourcepub fn get_results(&self) -> &Option<Vec<AnalyticsSessionResult>>
pub fn get_results(&self) -> &Option<Vec<AnalyticsSessionResult>>
The results for the session metrics.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the response from the ListSessionMetrics operation contains more results than specified in the maxResults parameter, a token is returned in the response.
Use the returned token in the nextToken parameter of a ListSessionMetrics request to return the next page of results. For a complete set of results, call the ListSessionMetrics operation until the nextToken returned in the response is null.
sourcepub fn build(self) -> ListSessionMetricsOutput
pub fn build(self) -> ListSessionMetricsOutput
Consumes the builder and constructs a ListSessionMetricsOutput.
Trait Implementations§
source§impl Clone for ListSessionMetricsOutputBuilder
impl Clone for ListSessionMetricsOutputBuilder
source§fn clone(&self) -> ListSessionMetricsOutputBuilder
fn clone(&self) -> ListSessionMetricsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListSessionMetricsOutputBuilder
impl Default for ListSessionMetricsOutputBuilder
source§fn default() -> ListSessionMetricsOutputBuilder
fn default() -> ListSessionMetricsOutputBuilder
source§impl PartialEq for ListSessionMetricsOutputBuilder
impl PartialEq for ListSessionMetricsOutputBuilder
source§fn eq(&self, other: &ListSessionMetricsOutputBuilder) -> bool
fn eq(&self, other: &ListSessionMetricsOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListSessionMetricsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListSessionMetricsOutputBuilder
impl RefUnwindSafe for ListSessionMetricsOutputBuilder
impl Send for ListSessionMetricsOutputBuilder
impl Sync for ListSessionMetricsOutputBuilder
impl Unpin for ListSessionMetricsOutputBuilder
impl UnwindSafe for ListSessionMetricsOutputBuilder
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