Struct aws_sdk_lexruntimev2::model::Value
source · #[non_exhaustive]pub struct Value { /* private fields */ }Expand description
The value of a slot.
Implementations§
source§impl Value
impl Value
sourcepub fn original_value(&self) -> Option<&str>
pub fn original_value(&self) -> Option<&str>
The text of the utterance from the user that was entered for the slot.
sourcepub fn interpreted_value(&self) -> Option<&str>
pub fn interpreted_value(&self) -> Option<&str>
The value that Amazon Lex V2 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 V2 choose the first value in the resolvedValues list.
sourcepub fn resolved_values(&self) -> Option<&[String]>
pub fn resolved_values(&self) -> Option<&[String]>
A list of additional values that have been recognized for the slot.