Struct aws_sdk_lexmodelsv2::types::builders::SlotValueBuilder
source · #[non_exhaustive]pub struct SlotValueBuilder { /* private fields */ }Expand description
A builder for SlotValue.
Implementations§
source§impl SlotValueBuilder
impl SlotValueBuilder
sourcepub fn interpreted_value(self, input: impl Into<String>) -> Self
pub fn interpreted_value(self, input: impl Into<String>) -> Self
The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
sourcepub fn set_interpreted_value(self, input: Option<String>) -> Self
pub fn set_interpreted_value(self, input: Option<String>) -> Self
The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
sourcepub fn get_interpreted_value(&self) -> &Option<String>
pub fn get_interpreted_value(&self) -> &Option<String>
The value that Amazon Lex determines for the slot. The actual value depends on the setting of the value selection strategy for the bot. You can choose to use the value entered by the user, or you can have Amazon Lex choose the first value in the resolvedValues list.
Trait Implementations§
source§impl Clone for SlotValueBuilder
impl Clone for SlotValueBuilder
source§fn clone(&self) -> SlotValueBuilder
fn clone(&self) -> SlotValueBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SlotValueBuilder
impl Debug for SlotValueBuilder
source§impl Default for SlotValueBuilder
impl Default for SlotValueBuilder
source§fn default() -> SlotValueBuilder
fn default() -> SlotValueBuilder
source§impl PartialEq for SlotValueBuilder
impl PartialEq for SlotValueBuilder
source§fn eq(&self, other: &SlotValueBuilder) -> bool
fn eq(&self, other: &SlotValueBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SlotValueBuilder
Auto Trait Implementations§
impl Freeze for SlotValueBuilder
impl RefUnwindSafe for SlotValueBuilder
impl Send for SlotValueBuilder
impl Sync for SlotValueBuilder
impl Unpin for SlotValueBuilder
impl UnwindSafe for SlotValueBuilder
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> 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