Struct aws_sdk_lexmodelsv2::operation::list_intent_paths::builders::ListIntentPathsInputBuilder
source · #[non_exhaustive]pub struct ListIntentPathsInputBuilder { /* private fields */ }Expand description
A builder for ListIntentPathsInput.
Implementations§
source§impl ListIntentPathsInputBuilder
impl ListIntentPathsInputBuilder
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 want to retrieve intent path metrics.
This field is required.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 want to retrieve intent path 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 want to retrieve intent path metrics.
sourcepub fn start_date_time(self, input: DateTime) -> Self
pub fn start_date_time(self, input: DateTime) -> Self
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
This field is required.sourcepub fn set_start_date_time(self, input: Option<DateTime>) -> Self
pub fn set_start_date_time(self, input: Option<DateTime>) -> Self
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
sourcepub fn get_start_date_time(&self) -> &Option<DateTime>
pub fn get_start_date_time(&self) -> &Option<DateTime>
The date and time that marks the beginning of the range of time for which you want to see intent path metrics.
sourcepub fn end_date_time(self, input: DateTime) -> Self
pub fn end_date_time(self, input: DateTime) -> Self
The date and time that marks the end of the range of time for which you want to see intent path metrics.
This field is required.sourcepub fn set_end_date_time(self, input: Option<DateTime>) -> Self
pub fn set_end_date_time(self, input: Option<DateTime>) -> Self
The date and time that marks the end of the range of time for which you want to see intent path metrics.
sourcepub fn get_end_date_time(&self) -> &Option<DateTime>
pub fn get_end_date_time(&self) -> &Option<DateTime>
The date and time that marks the end of the range of time for which you want to see intent path metrics.
sourcepub fn intent_path(self, input: impl Into<String>) -> Self
pub fn intent_path(self, input: impl Into<String>) -> Self
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn set_intent_path(self, input: Option<String>) -> Self
pub fn set_intent_path(self, input: Option<String>) -> Self
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn get_intent_path(&self) -> &Option<String>
pub fn get_intent_path(&self) -> &Option<String>
The intent path for which you want to retrieve metrics. Use a forward slash to separate intents in the path. For example:
-
/BookCar
-
/BookCar/BookHotel
-
/BookHotel/BookCar
sourcepub fn filters(self, input: AnalyticsPathFilter) -> Self
pub fn filters(self, input: AnalyticsPathFilter) -> Self
Appends an item to filters.
To override the contents of this collection use set_filters.
A list of objects, each describes a condition by which you want to filter the results.
sourcepub fn set_filters(self, input: Option<Vec<AnalyticsPathFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<AnalyticsPathFilter>>) -> Self
A list of objects, each describes a condition by which you want to filter the results.
sourcepub fn get_filters(&self) -> &Option<Vec<AnalyticsPathFilter>>
pub fn get_filters(&self) -> &Option<Vec<AnalyticsPathFilter>>
A list of objects, each describes a condition by which you want to filter the results.
sourcepub fn build(self) -> Result<ListIntentPathsInput, BuildError>
pub fn build(self) -> Result<ListIntentPathsInput, BuildError>
Consumes the builder and constructs a ListIntentPathsInput.
source§impl ListIntentPathsInputBuilder
impl ListIntentPathsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListIntentPathsOutput, SdkError<ListIntentPathsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListIntentPathsOutput, SdkError<ListIntentPathsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListIntentPathsInputBuilder
impl Clone for ListIntentPathsInputBuilder
source§fn clone(&self) -> ListIntentPathsInputBuilder
fn clone(&self) -> ListIntentPathsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListIntentPathsInputBuilder
impl Debug for ListIntentPathsInputBuilder
source§impl Default for ListIntentPathsInputBuilder
impl Default for ListIntentPathsInputBuilder
source§fn default() -> ListIntentPathsInputBuilder
fn default() -> ListIntentPathsInputBuilder
impl StructuralPartialEq for ListIntentPathsInputBuilder
Auto Trait Implementations§
impl Freeze for ListIntentPathsInputBuilder
impl RefUnwindSafe for ListIntentPathsInputBuilder
impl Send for ListIntentPathsInputBuilder
impl Sync for ListIntentPathsInputBuilder
impl Unpin for ListIntentPathsInputBuilder
impl UnwindSafe for ListIntentPathsInputBuilder
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