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 ==.