AWS SDK for C++  1.9.68
AWS SDK for C++
Public Member Functions | List of all members
Aws::LexModelBuildingService::Model::Slot Class Reference

#include <Slot.h>

Public Member Functions

 Slot ()
 
 Slot (Aws::Utils::Json::JsonView jsonValue)
 
Slotoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::StringGetName () const
 
bool NameHasBeenSet () const
 
void SetName (const Aws::String &value)
 
void SetName (Aws::String &&value)
 
void SetName (const char *value)
 
SlotWithName (const Aws::String &value)
 
SlotWithName (Aws::String &&value)
 
SlotWithName (const char *value)
 
const Aws::StringGetDescription () const
 
bool DescriptionHasBeenSet () const
 
void SetDescription (const Aws::String &value)
 
void SetDescription (Aws::String &&value)
 
void SetDescription (const char *value)
 
SlotWithDescription (const Aws::String &value)
 
SlotWithDescription (Aws::String &&value)
 
SlotWithDescription (const char *value)
 
const SlotConstraintGetSlotConstraint () const
 
bool SlotConstraintHasBeenSet () const
 
void SetSlotConstraint (const SlotConstraint &value)
 
void SetSlotConstraint (SlotConstraint &&value)
 
SlotWithSlotConstraint (const SlotConstraint &value)
 
SlotWithSlotConstraint (SlotConstraint &&value)
 
const Aws::StringGetSlotType () const
 
bool SlotTypeHasBeenSet () const
 
void SetSlotType (const Aws::String &value)
 
void SetSlotType (Aws::String &&value)
 
void SetSlotType (const char *value)
 
SlotWithSlotType (const Aws::String &value)
 
SlotWithSlotType (Aws::String &&value)
 
SlotWithSlotType (const char *value)
 
const Aws::StringGetSlotTypeVersion () const
 
bool SlotTypeVersionHasBeenSet () const
 
void SetSlotTypeVersion (const Aws::String &value)
 
void SetSlotTypeVersion (Aws::String &&value)
 
void SetSlotTypeVersion (const char *value)
 
SlotWithSlotTypeVersion (const Aws::String &value)
 
SlotWithSlotTypeVersion (Aws::String &&value)
 
SlotWithSlotTypeVersion (const char *value)
 
const PromptGetValueElicitationPrompt () const
 
bool ValueElicitationPromptHasBeenSet () const
 
void SetValueElicitationPrompt (const Prompt &value)
 
void SetValueElicitationPrompt (Prompt &&value)
 
SlotWithValueElicitationPrompt (const Prompt &value)
 
SlotWithValueElicitationPrompt (Prompt &&value)
 
int GetPriority () const
 
bool PriorityHasBeenSet () const
 
void SetPriority (int value)
 
SlotWithPriority (int value)
 
const Aws::Vector< Aws::String > & GetSampleUtterances () const
 
bool SampleUtterancesHasBeenSet () const
 
void SetSampleUtterances (const Aws::Vector< Aws::String > &value)
 
void SetSampleUtterances (Aws::Vector< Aws::String > &&value)
 
SlotWithSampleUtterances (const Aws::Vector< Aws::String > &value)
 
SlotWithSampleUtterances (Aws::Vector< Aws::String > &&value)
 
SlotAddSampleUtterances (const Aws::String &value)
 
SlotAddSampleUtterances (Aws::String &&value)
 
SlotAddSampleUtterances (const char *value)
 
const Aws::StringGetResponseCard () const
 
bool ResponseCardHasBeenSet () const
 
void SetResponseCard (const Aws::String &value)
 
void SetResponseCard (Aws::String &&value)
 
void SetResponseCard (const char *value)
 
SlotWithResponseCard (const Aws::String &value)
 
SlotWithResponseCard (Aws::String &&value)
 
SlotWithResponseCard (const char *value)
 
const ObfuscationSettingGetObfuscationSetting () const
 
bool ObfuscationSettingHasBeenSet () const
 
void SetObfuscationSetting (const ObfuscationSetting &value)
 
void SetObfuscationSetting (ObfuscationSetting &&value)
 
SlotWithObfuscationSetting (const ObfuscationSetting &value)
 
SlotWithObfuscationSetting (ObfuscationSetting &&value)
 
const SlotDefaultValueSpecGetDefaultValueSpec () const
 
bool DefaultValueSpecHasBeenSet () const
 
void SetDefaultValueSpec (const SlotDefaultValueSpec &value)
 
void SetDefaultValueSpec (SlotDefaultValueSpec &&value)
 
SlotWithDefaultValueSpec (const SlotDefaultValueSpec &value)
 
SlotWithDefaultValueSpec (SlotDefaultValueSpec &&value)
 

Detailed Description

Identifies the version of a specific slot.

See Also:

AWS API Reference

Definition at line 36 of file Slot.h.

Constructor & Destructor Documentation

◆ Slot() [1/2]

Aws::LexModelBuildingService::Model::Slot::Slot ( )

◆ Slot() [2/2]

Aws::LexModelBuildingService::Model::Slot::Slot ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddSampleUtterances() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::AddSampleUtterances ( Aws::String &&  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 378 of file Slot.h.

◆ AddSampleUtterances() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::AddSampleUtterances ( const Aws::String value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 370 of file Slot.h.

◆ AddSampleUtterances() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::AddSampleUtterances ( const char *  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 386 of file Slot.h.

◆ DefaultValueSpecHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::DefaultValueSpecHasBeenSet ( ) const
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 519 of file Slot.h.

◆ DescriptionHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::DescriptionHasBeenSet ( ) const
inline

A description of the slot.

Definition at line 94 of file Slot.h.

◆ GetDefaultValueSpec()

const SlotDefaultValueSpec& Aws::LexModelBuildingService::Model::Slot::GetDefaultValueSpec ( ) const
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 512 of file Slot.h.

◆ GetDescription()

const Aws::String& Aws::LexModelBuildingService::Model::Slot::GetDescription ( ) const
inline

A description of the slot.

Definition at line 89 of file Slot.h.

◆ GetName()

const Aws::String& Aws::LexModelBuildingService::Model::Slot::GetName ( ) const
inline

The name of the slot.

Definition at line 48 of file Slot.h.

◆ GetObfuscationSetting()

const ObfuscationSetting& Aws::LexModelBuildingService::Model::Slot::GetObfuscationSetting ( ) const
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 454 of file Slot.h.

◆ GetPriority()

int Aws::LexModelBuildingService::Model::Slot::GetPriority ( ) const
inline

Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.

Definition at line 286 of file Slot.h.

◆ GetResponseCard()

const Aws::String& Aws::LexModelBuildingService::Model::Slot::GetResponseCard ( ) const
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 394 of file Slot.h.

◆ GetSampleUtterances()

const Aws::Vector<Aws::String>& Aws::LexModelBuildingService::Model::Slot::GetSampleUtterances ( ) const
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 322 of file Slot.h.

◆ GetSlotConstraint()

const SlotConstraint& Aws::LexModelBuildingService::Model::Slot::GetSlotConstraint ( ) const
inline

Specifies whether the slot is required or optional.

Definition at line 130 of file Slot.h.

◆ GetSlotType()

const Aws::String& Aws::LexModelBuildingService::Model::Slot::GetSlotType ( ) const
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 162 of file Slot.h.

◆ GetSlotTypeVersion()

const Aws::String& Aws::LexModelBuildingService::Model::Slot::GetSlotTypeVersion ( ) const
inline

The version of the slot type.

Definition at line 210 of file Slot.h.

◆ GetValueElicitationPrompt()

const Prompt& Aws::LexModelBuildingService::Model::Slot::GetValueElicitationPrompt ( ) const
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 251 of file Slot.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::LexModelBuildingService::Model::Slot::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::NameHasBeenSet ( ) const
inline

The name of the slot.

Definition at line 53 of file Slot.h.

◆ ObfuscationSettingHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::ObfuscationSettingHasBeenSet ( ) const
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 464 of file Slot.h.

◆ operator=()

Slot& Aws::LexModelBuildingService::Model::Slot::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ PriorityHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::PriorityHasBeenSet ( ) const
inline

Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.

Definition at line 295 of file Slot.h.

◆ ResponseCardHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::ResponseCardHasBeenSet ( ) const
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 401 of file Slot.h.

◆ SampleUtterancesHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::SampleUtterancesHasBeenSet ( ) const
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 330 of file Slot.h.

◆ SetDefaultValueSpec() [1/2]

void Aws::LexModelBuildingService::Model::Slot::SetDefaultValueSpec ( const SlotDefaultValueSpec value)
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 526 of file Slot.h.

◆ SetDefaultValueSpec() [2/2]

void Aws::LexModelBuildingService::Model::Slot::SetDefaultValueSpec ( SlotDefaultValueSpec &&  value)
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 533 of file Slot.h.

◆ SetDescription() [1/3]

void Aws::LexModelBuildingService::Model::Slot::SetDescription ( Aws::String &&  value)
inline

A description of the slot.

Definition at line 104 of file Slot.h.

◆ SetDescription() [2/3]

void Aws::LexModelBuildingService::Model::Slot::SetDescription ( const Aws::String value)
inline

A description of the slot.

Definition at line 99 of file Slot.h.

◆ SetDescription() [3/3]

void Aws::LexModelBuildingService::Model::Slot::SetDescription ( const char *  value)
inline

A description of the slot.

Definition at line 109 of file Slot.h.

◆ SetName() [1/3]

void Aws::LexModelBuildingService::Model::Slot::SetName ( Aws::String &&  value)
inline

The name of the slot.

Definition at line 63 of file Slot.h.

◆ SetName() [2/3]

void Aws::LexModelBuildingService::Model::Slot::SetName ( const Aws::String value)
inline

The name of the slot.

Definition at line 58 of file Slot.h.

◆ SetName() [3/3]

void Aws::LexModelBuildingService::Model::Slot::SetName ( const char *  value)
inline

The name of the slot.

Definition at line 68 of file Slot.h.

◆ SetObfuscationSetting() [1/2]

void Aws::LexModelBuildingService::Model::Slot::SetObfuscationSetting ( const ObfuscationSetting value)
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 474 of file Slot.h.

◆ SetObfuscationSetting() [2/2]

void Aws::LexModelBuildingService::Model::Slot::SetObfuscationSetting ( ObfuscationSetting &&  value)
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 484 of file Slot.h.

◆ SetPriority()

void Aws::LexModelBuildingService::Model::Slot::SetPriority ( int  value)
inline

Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.

Definition at line 304 of file Slot.h.

◆ SetResponseCard() [1/3]

void Aws::LexModelBuildingService::Model::Slot::SetResponseCard ( Aws::String &&  value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 415 of file Slot.h.

◆ SetResponseCard() [2/3]

void Aws::LexModelBuildingService::Model::Slot::SetResponseCard ( const Aws::String value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 408 of file Slot.h.

◆ SetResponseCard() [3/3]

void Aws::LexModelBuildingService::Model::Slot::SetResponseCard ( const char *  value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 422 of file Slot.h.

◆ SetSampleUtterances() [1/2]

void Aws::LexModelBuildingService::Model::Slot::SetSampleUtterances ( Aws::Vector< Aws::String > &&  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 346 of file Slot.h.

◆ SetSampleUtterances() [2/2]

void Aws::LexModelBuildingService::Model::Slot::SetSampleUtterances ( const Aws::Vector< Aws::String > &  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 338 of file Slot.h.

◆ SetSlotConstraint() [1/2]

void Aws::LexModelBuildingService::Model::Slot::SetSlotConstraint ( const SlotConstraint value)
inline

Specifies whether the slot is required or optional.

Definition at line 140 of file Slot.h.

◆ SetSlotConstraint() [2/2]

void Aws::LexModelBuildingService::Model::Slot::SetSlotConstraint ( SlotConstraint &&  value)
inline

Specifies whether the slot is required or optional.

Definition at line 145 of file Slot.h.

◆ SetSlotType() [1/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotType ( Aws::String &&  value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 180 of file Slot.h.

◆ SetSlotType() [2/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotType ( const Aws::String value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 174 of file Slot.h.

◆ SetSlotType() [3/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotType ( const char *  value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 186 of file Slot.h.

◆ SetSlotTypeVersion() [1/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotTypeVersion ( Aws::String &&  value)
inline

The version of the slot type.

Definition at line 225 of file Slot.h.

◆ SetSlotTypeVersion() [2/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotTypeVersion ( const Aws::String value)
inline

The version of the slot type.

Definition at line 220 of file Slot.h.

◆ SetSlotTypeVersion() [3/3]

void Aws::LexModelBuildingService::Model::Slot::SetSlotTypeVersion ( const char *  value)
inline

The version of the slot type.

Definition at line 230 of file Slot.h.

◆ SetValueElicitationPrompt() [1/2]

void Aws::LexModelBuildingService::Model::Slot::SetValueElicitationPrompt ( const Prompt value)
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 261 of file Slot.h.

◆ SetValueElicitationPrompt() [2/2]

void Aws::LexModelBuildingService::Model::Slot::SetValueElicitationPrompt ( Prompt &&  value)
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 266 of file Slot.h.

◆ SlotConstraintHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::SlotConstraintHasBeenSet ( ) const
inline

Specifies whether the slot is required or optional.

Definition at line 135 of file Slot.h.

◆ SlotTypeHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::SlotTypeHasBeenSet ( ) const
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 168 of file Slot.h.

◆ SlotTypeVersionHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::SlotTypeVersionHasBeenSet ( ) const
inline

The version of the slot type.

Definition at line 215 of file Slot.h.

◆ ValueElicitationPromptHasBeenSet()

bool Aws::LexModelBuildingService::Model::Slot::ValueElicitationPromptHasBeenSet ( ) const
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 256 of file Slot.h.

◆ WithDefaultValueSpec() [1/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithDefaultValueSpec ( const SlotDefaultValueSpec value)
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 540 of file Slot.h.

◆ WithDefaultValueSpec() [2/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithDefaultValueSpec ( SlotDefaultValueSpec &&  value)
inline

A list of default values for the slot. Default values are used when Amazon Lex hasn't determined a value for a slot. You can specify default values from context variables, session attributes, and defined values.

Definition at line 547 of file Slot.h.

◆ WithDescription() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithDescription ( Aws::String &&  value)
inline

A description of the slot.

Definition at line 119 of file Slot.h.

◆ WithDescription() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithDescription ( const Aws::String value)
inline

A description of the slot.

Definition at line 114 of file Slot.h.

◆ WithDescription() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithDescription ( const char *  value)
inline

A description of the slot.

Definition at line 124 of file Slot.h.

◆ WithName() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithName ( Aws::String &&  value)
inline

The name of the slot.

Definition at line 78 of file Slot.h.

◆ WithName() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithName ( const Aws::String value)
inline

The name of the slot.

Definition at line 73 of file Slot.h.

◆ WithName() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithName ( const char *  value)
inline

The name of the slot.

Definition at line 83 of file Slot.h.

◆ WithObfuscationSetting() [1/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithObfuscationSetting ( const ObfuscationSetting value)
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 494 of file Slot.h.

◆ WithObfuscationSetting() [2/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithObfuscationSetting ( ObfuscationSetting &&  value)
inline

Determines whether a slot is obfuscated in conversation logs and stored utterances. When you obfuscate a slot, the value is replaced by the slot name in curly braces ({}). For example, if the slot name is "full_name", obfuscated values are replaced with "{full_name}". For more information, see Slot Obfuscation .

Definition at line 504 of file Slot.h.

◆ WithPriority()

Slot& Aws::LexModelBuildingService::Model::Slot::WithPriority ( int  value)
inline

Directs Amazon Lex the order in which to elicit this slot value from the user. For example, if the intent has two slots with priorities 1 and 2, AWS Amazon Lex first elicits a value for the slot with priority 1.

If multiple slots share the same priority, the order in which Amazon Lex elicits values is arbitrary.

Definition at line 313 of file Slot.h.

◆ WithResponseCard() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithResponseCard ( Aws::String &&  value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 436 of file Slot.h.

◆ WithResponseCard() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithResponseCard ( const Aws::String value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 429 of file Slot.h.

◆ WithResponseCard() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithResponseCard ( const char *  value)
inline

A set of possible responses for the slot type used by text-based clients. A user chooses an option from the response card, instead of using text to reply.

Definition at line 443 of file Slot.h.

◆ WithSampleUtterances() [1/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSampleUtterances ( Aws::Vector< Aws::String > &&  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 362 of file Slot.h.

◆ WithSampleUtterances() [2/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSampleUtterances ( const Aws::Vector< Aws::String > &  value)
inline

If you know a specific pattern with which users might respond to an Amazon Lex request for a slot value, you can provide those utterances to improve accuracy. This is optional. In most cases, Amazon Lex is capable of understanding user utterances.

Definition at line 354 of file Slot.h.

◆ WithSlotConstraint() [1/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotConstraint ( const SlotConstraint value)
inline

Specifies whether the slot is required or optional.

Definition at line 150 of file Slot.h.

◆ WithSlotConstraint() [2/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotConstraint ( SlotConstraint &&  value)
inline

Specifies whether the slot is required or optional.

Definition at line 155 of file Slot.h.

◆ WithSlotType() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotType ( Aws::String &&  value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 198 of file Slot.h.

◆ WithSlotType() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotType ( const Aws::String value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 192 of file Slot.h.

◆ WithSlotType() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotType ( const char *  value)
inline

The type of the slot, either a custom slot type that you defined or one of the built-in slot types.

Definition at line 204 of file Slot.h.

◆ WithSlotTypeVersion() [1/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotTypeVersion ( Aws::String &&  value)
inline

The version of the slot type.

Definition at line 240 of file Slot.h.

◆ WithSlotTypeVersion() [2/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotTypeVersion ( const Aws::String value)
inline

The version of the slot type.

Definition at line 235 of file Slot.h.

◆ WithSlotTypeVersion() [3/3]

Slot& Aws::LexModelBuildingService::Model::Slot::WithSlotTypeVersion ( const char *  value)
inline

The version of the slot type.

Definition at line 245 of file Slot.h.

◆ WithValueElicitationPrompt() [1/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithValueElicitationPrompt ( const Prompt value)
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 271 of file Slot.h.

◆ WithValueElicitationPrompt() [2/2]

Slot& Aws::LexModelBuildingService::Model::Slot::WithValueElicitationPrompt ( Prompt &&  value)
inline

The prompt that Amazon Lex uses to elicit the slot value from the user.

Definition at line 276 of file Slot.h.


The documentation for this class was generated from the following file: