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

#include <SlotDefaultValueSpec.h>

Public Member Functions

 SlotDefaultValueSpec ()
 
 SlotDefaultValueSpec (Aws::Utils::Json::JsonView jsonValue)
 
SlotDefaultValueSpecoperator= (Aws::Utils::Json::JsonView jsonValue)
 
Aws::Utils::Json::JsonValue Jsonize () const
 
const Aws::Vector< SlotDefaultValue > & GetDefaultValueList () const
 
bool DefaultValueListHasBeenSet () const
 
void SetDefaultValueList (const Aws::Vector< SlotDefaultValue > &value)
 
void SetDefaultValueList (Aws::Vector< SlotDefaultValue > &&value)
 
SlotDefaultValueSpecWithDefaultValueList (const Aws::Vector< SlotDefaultValue > &value)
 
SlotDefaultValueSpecWithDefaultValueList (Aws::Vector< SlotDefaultValue > &&value)
 
SlotDefaultValueSpecAddDefaultValueList (const SlotDefaultValue &value)
 
SlotDefaultValueSpecAddDefaultValueList (SlotDefaultValue &&value)
 

Detailed Description

Contains the default values for a slot. Default values are used when Amazon Lex hasn't determined a value for a slot.

See Also:

AWS API Reference

Definition at line 33 of file SlotDefaultValueSpec.h.

Constructor & Destructor Documentation

◆ SlotDefaultValueSpec() [1/2]

Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::SlotDefaultValueSpec ( )

◆ SlotDefaultValueSpec() [2/2]

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

Member Function Documentation

◆ AddDefaultValueList() [1/2]

SlotDefaultValueSpec& Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::AddDefaultValueList ( const SlotDefaultValue value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 110 of file SlotDefaultValueSpec.h.

◆ AddDefaultValueList() [2/2]

SlotDefaultValueSpec& Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::AddDefaultValueList ( SlotDefaultValue &&  value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 120 of file SlotDefaultValueSpec.h.

◆ DefaultValueListHasBeenSet()

bool Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::DefaultValueListHasBeenSet ( ) const
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 60 of file SlotDefaultValueSpec.h.

◆ GetDefaultValueList()

const Aws::Vector<SlotDefaultValue>& Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::GetDefaultValueList ( ) const
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 50 of file SlotDefaultValueSpec.h.

◆ Jsonize()

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

◆ operator=()

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

◆ SetDefaultValueList() [1/2]

void Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::SetDefaultValueList ( Aws::Vector< SlotDefaultValue > &&  value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 80 of file SlotDefaultValueSpec.h.

◆ SetDefaultValueList() [2/2]

void Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::SetDefaultValueList ( const Aws::Vector< SlotDefaultValue > &  value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 70 of file SlotDefaultValueSpec.h.

◆ WithDefaultValueList() [1/2]

SlotDefaultValueSpec& Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::WithDefaultValueList ( Aws::Vector< SlotDefaultValue > &&  value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 100 of file SlotDefaultValueSpec.h.

◆ WithDefaultValueList() [2/2]

SlotDefaultValueSpec& Aws::LexModelBuildingService::Model::SlotDefaultValueSpec::WithDefaultValueList ( const Aws::Vector< SlotDefaultValue > &  value)
inline

The default values for a slot. You can specify more than one default. For example, you can specify a default value to use from a matching context variable, a session attribute, or a fixed value.

The default value chosen is selected based on the order that you specify them in the list. For example, if you specify a context variable and a fixed value in that order, Amazon Lex uses the context variable if it is available, else it uses the fixed value.

Definition at line 90 of file SlotDefaultValueSpec.h.


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