#[non_exhaustive]pub struct DeleteSessionInputBuilder { /* private fields */ }Expand description
A builder for DeleteSessionInput.
Implementations§
source§impl DeleteSessionInputBuilder
impl DeleteSessionInputBuilder
sourcepub fn bot_id(self, input: impl Into<String>) -> Self
pub fn bot_id(self, input: impl Into<String>) -> Self
The identifier of the bot that contains the session data.
sourcepub fn set_bot_id(self, input: Option<String>) -> Self
pub fn set_bot_id(self, input: Option<String>) -> Self
The identifier of the bot that contains the session data.
sourcepub fn get_bot_id(&self) -> &Option<String>
pub fn get_bot_id(&self) -> &Option<String>
The identifier of the bot that contains the session data.
sourcepub fn bot_alias_id(self, input: impl Into<String>) -> Self
pub fn bot_alias_id(self, input: impl Into<String>) -> Self
The alias identifier in use for the bot that contains the session data.
sourcepub fn set_bot_alias_id(self, input: Option<String>) -> Self
pub fn set_bot_alias_id(self, input: Option<String>) -> Self
The alias identifier in use for the bot that contains the session data.
sourcepub fn get_bot_alias_id(&self) -> &Option<String>
pub fn get_bot_alias_id(&self) -> &Option<String>
The alias identifier in use for the bot that contains the session data.
sourcepub fn locale_id(self, input: impl Into<String>) -> Self
pub fn locale_id(self, input: impl Into<String>) -> Self
The locale where the session is in use.
sourcepub fn set_locale_id(self, input: Option<String>) -> Self
pub fn set_locale_id(self, input: Option<String>) -> Self
The locale where the session is in use.
sourcepub fn get_locale_id(&self) -> &Option<String>
pub fn get_locale_id(&self) -> &Option<String>
The locale where the session is in use.
sourcepub fn session_id(self, input: impl Into<String>) -> Self
pub fn session_id(self, input: impl Into<String>) -> Self
The identifier of the session to delete.
sourcepub fn set_session_id(self, input: Option<String>) -> Self
pub fn set_session_id(self, input: Option<String>) -> Self
The identifier of the session to delete.
sourcepub fn get_session_id(&self) -> &Option<String>
pub fn get_session_id(&self) -> &Option<String>
The identifier of the session to delete.
sourcepub fn build(self) -> Result<DeleteSessionInput, BuildError>
pub fn build(self) -> Result<DeleteSessionInput, BuildError>
Consumes the builder and constructs a DeleteSessionInput.
source§impl DeleteSessionInputBuilder
impl DeleteSessionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DeleteSessionOutput, SdkError<DeleteSessionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DeleteSessionOutput, SdkError<DeleteSessionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DeleteSessionInputBuilder
impl Clone for DeleteSessionInputBuilder
source§fn clone(&self) -> DeleteSessionInputBuilder
fn clone(&self) -> DeleteSessionInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteSessionInputBuilder
impl Debug for DeleteSessionInputBuilder
source§impl Default for DeleteSessionInputBuilder
impl Default for DeleteSessionInputBuilder
source§fn default() -> DeleteSessionInputBuilder
fn default() -> DeleteSessionInputBuilder
source§impl PartialEq<DeleteSessionInputBuilder> for DeleteSessionInputBuilder
impl PartialEq<DeleteSessionInputBuilder> for DeleteSessionInputBuilder
source§fn eq(&self, other: &DeleteSessionInputBuilder) -> bool
fn eq(&self, other: &DeleteSessionInputBuilder) -> bool
self and other values to be equal, and is used
by ==.