Struct aws_sdk_lexmodelsv2::operation::list_intent_metrics::builders::ListIntentMetricsOutputBuilder
source · #[non_exhaustive]pub struct ListIntentMetricsOutputBuilder { /* private fields */ }Expand description
A builder for ListIntentMetricsOutput.
Implementations§
source§impl ListIntentMetricsOutputBuilder
impl ListIntentMetricsOutputBuilder
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 intent 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 intent 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 intent metrics.
sourcepub fn results(self, input: AnalyticsIntentResult) -> Self
pub fn results(self, input: AnalyticsIntentResult) -> Self
Appends an item to results.
To override the contents of this collection use set_results.
The results for the intent metrics.
sourcepub fn set_results(self, input: Option<Vec<AnalyticsIntentResult>>) -> Self
pub fn set_results(self, input: Option<Vec<AnalyticsIntentResult>>) -> Self
The results for the intent metrics.
sourcepub fn get_results(&self) -> &Option<Vec<AnalyticsIntentResult>>
pub fn get_results(&self) -> &Option<Vec<AnalyticsIntentResult>>
The results for the intent 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics 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 ListIntentMetrics 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 ListIntentMetrics request to return the next page of results. For a complete set of results, call the ListIntentMetrics operation until the nextToken returned in the response is null.
sourcepub fn build(self) -> ListIntentMetricsOutput
pub fn build(self) -> ListIntentMetricsOutput
Consumes the builder and constructs a ListIntentMetricsOutput.
Trait Implementations§
source§impl Clone for ListIntentMetricsOutputBuilder
impl Clone for ListIntentMetricsOutputBuilder
source§fn clone(&self) -> ListIntentMetricsOutputBuilder
fn clone(&self) -> ListIntentMetricsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListIntentMetricsOutputBuilder
impl Default for ListIntentMetricsOutputBuilder
source§fn default() -> ListIntentMetricsOutputBuilder
fn default() -> ListIntentMetricsOutputBuilder
source§impl PartialEq for ListIntentMetricsOutputBuilder
impl PartialEq for ListIntentMetricsOutputBuilder
source§fn eq(&self, other: &ListIntentMetricsOutputBuilder) -> bool
fn eq(&self, other: &ListIntentMetricsOutputBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ListIntentMetricsOutputBuilder
Auto Trait Implementations§
impl Freeze for ListIntentMetricsOutputBuilder
impl RefUnwindSafe for ListIntentMetricsOutputBuilder
impl Send for ListIntentMetricsOutputBuilder
impl Sync for ListIntentMetricsOutputBuilder
impl Unpin for ListIntentMetricsOutputBuilder
impl UnwindSafe for ListIntentMetricsOutputBuilder
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