#[non_exhaustive]pub struct GetSessionInputBuilder { /* private fields */ }
Expand description
A builder for GetSessionInput
.
Implementations§
source§impl GetSessionInputBuilder
impl GetSessionInputBuilder
sourcepub fn bot_name(self, input: impl Into<String>) -> Self
pub fn bot_name(self, input: impl Into<String>) -> Self
The name of the bot that contains the session data.
This field is required.sourcepub fn set_bot_name(self, input: Option<String>) -> Self
pub fn set_bot_name(self, input: Option<String>) -> Self
The name of the bot that contains the session data.
sourcepub fn get_bot_name(&self) -> &Option<String>
pub fn get_bot_name(&self) -> &Option<String>
The name of the bot that contains the session data.
sourcepub fn bot_alias(self, input: impl Into<String>) -> Self
pub fn bot_alias(self, input: impl Into<String>) -> Self
The alias in use for the bot that contains the session data.
This field is required.sourcepub fn set_bot_alias(self, input: Option<String>) -> Self
pub fn set_bot_alias(self, input: Option<String>) -> Self
The alias in use for the bot that contains the session data.
sourcepub fn get_bot_alias(&self) -> &Option<String>
pub fn get_bot_alias(&self) -> &Option<String>
The alias in use for the bot that contains the session data.
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
This field is required.sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The ID of the client application user. Amazon Lex uses this to identify a user's conversation with your bot.
sourcepub fn checkpoint_label_filter(self, input: impl Into<String>) -> Self
pub fn checkpoint_label_filter(self, input: impl Into<String>) -> Self
A string used to filter the intents returned in the recentIntentSummaryView
structure.
When you specify a filter, only intents with their checkpointLabel
field set to that string are returned.
sourcepub fn set_checkpoint_label_filter(self, input: Option<String>) -> Self
pub fn set_checkpoint_label_filter(self, input: Option<String>) -> Self
A string used to filter the intents returned in the recentIntentSummaryView
structure.
When you specify a filter, only intents with their checkpointLabel
field set to that string are returned.
sourcepub fn get_checkpoint_label_filter(&self) -> &Option<String>
pub fn get_checkpoint_label_filter(&self) -> &Option<String>
A string used to filter the intents returned in the recentIntentSummaryView
structure.
When you specify a filter, only intents with their checkpointLabel
field set to that string are returned.
sourcepub fn build(self) -> Result<GetSessionInput, BuildError>
pub fn build(self) -> Result<GetSessionInput, BuildError>
Consumes the builder and constructs a GetSessionInput
.
source§impl GetSessionInputBuilder
impl GetSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetSessionOutput, SdkError<GetSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetSessionOutput, SdkError<GetSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetSessionInputBuilder
impl Clone for GetSessionInputBuilder
source§fn clone(&self) -> GetSessionInputBuilder
fn clone(&self) -> GetSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GetSessionInputBuilder
impl Debug for GetSessionInputBuilder
source§impl Default for GetSessionInputBuilder
impl Default for GetSessionInputBuilder
source§fn default() -> GetSessionInputBuilder
fn default() -> GetSessionInputBuilder
source§impl PartialEq for GetSessionInputBuilder
impl PartialEq for GetSessionInputBuilder
source§fn eq(&self, other: &GetSessionInputBuilder) -> bool
fn eq(&self, other: &GetSessionInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.