AWS SDK for C++  1.9.126
AWS SDK for C++
Public Member Functions | List of all members
Aws::LexRuntimeService::Model::ActiveContext Class Reference

#include <ActiveContext.h>

Public Member Functions

 ActiveContext ()
 
 ActiveContext (Aws::Utils::Json::JsonView jsonValue)
 
ActiveContextoperator= (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)
 
ActiveContextWithName (const Aws::String &value)
 
ActiveContextWithName (Aws::String &&value)
 
ActiveContextWithName (const char *value)
 
const ActiveContextTimeToLiveGetTimeToLive () const
 
bool TimeToLiveHasBeenSet () const
 
void SetTimeToLive (const ActiveContextTimeToLive &value)
 
void SetTimeToLive (ActiveContextTimeToLive &&value)
 
ActiveContextWithTimeToLive (const ActiveContextTimeToLive &value)
 
ActiveContextWithTimeToLive (ActiveContextTimeToLive &&value)
 
const Aws::Map< Aws::String, Aws::String > & GetParameters () const
 
bool ParametersHasBeenSet () const
 
void SetParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
void SetParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
ActiveContextWithParameters (const Aws::Map< Aws::String, Aws::String > &value)
 
ActiveContextWithParameters (Aws::Map< Aws::String, Aws::String > &&value)
 
ActiveContextAddParameters (const Aws::String &key, const Aws::String &value)
 
ActiveContextAddParameters (Aws::String &&key, const Aws::String &value)
 
ActiveContextAddParameters (const Aws::String &key, Aws::String &&value)
 
ActiveContextAddParameters (Aws::String &&key, Aws::String &&value)
 
ActiveContextAddParameters (const char *key, Aws::String &&value)
 
ActiveContextAddParameters (Aws::String &&key, const char *value)
 
ActiveContextAddParameters (const char *key, const char *value)
 

Detailed Description

A context is a variable that contains information about the current state of the conversation between a user and Amazon Lex. Context can be set automatically by Amazon Lex when an intent is fulfilled, or it can be set at runtime using the PutContent, PutText, or PutSession operation.

See Also:

AWS API Reference

Definition at line 37 of file ActiveContext.h.

Constructor & Destructor Documentation

◆ ActiveContext() [1/2]

Aws::LexRuntimeService::Model::ActiveContext::ActiveContext ( )

◆ ActiveContext() [2/2]

Aws::LexRuntimeService::Model::ActiveContext::ActiveContext ( Aws::Utils::Json::JsonView  jsonValue)

Member Function Documentation

◆ AddParameters() [1/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( Aws::String &&  key,
Aws::String &&  value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 176 of file ActiveContext.h.

◆ AddParameters() [2/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( Aws::String &&  key,
const Aws::String value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 164 of file ActiveContext.h.

◆ AddParameters() [3/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( Aws::String &&  key,
const char *  value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 188 of file ActiveContext.h.

◆ AddParameters() [4/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( const Aws::String key,
Aws::String &&  value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 170 of file ActiveContext.h.

◆ AddParameters() [5/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( const Aws::String key,
const Aws::String value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 158 of file ActiveContext.h.

◆ AddParameters() [6/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( const char *  key,
Aws::String &&  value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 182 of file ActiveContext.h.

◆ AddParameters() [7/7]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::AddParameters ( const char *  key,
const char *  value 
)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 194 of file ActiveContext.h.

◆ GetName()

const Aws::String& Aws::LexRuntimeService::Model::ActiveContext::GetName ( ) const
inline

The name of the context.

Definition at line 49 of file ActiveContext.h.

◆ GetParameters()

const Aws::Map<Aws::String, Aws::String>& Aws::LexRuntimeService::Model::ActiveContext::GetParameters ( ) const
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 122 of file ActiveContext.h.

◆ GetTimeToLive()

const ActiveContextTimeToLive& Aws::LexRuntimeService::Model::ActiveContext::GetTimeToLive ( ) const
inline

The length of time or number of turns that a context remains active.

Definition at line 90 of file ActiveContext.h.

◆ Jsonize()

Aws::Utils::Json::JsonValue Aws::LexRuntimeService::Model::ActiveContext::Jsonize ( ) const

◆ NameHasBeenSet()

bool Aws::LexRuntimeService::Model::ActiveContext::NameHasBeenSet ( ) const
inline

The name of the context.

Definition at line 54 of file ActiveContext.h.

◆ operator=()

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::operator= ( Aws::Utils::Json::JsonView  jsonValue)

◆ ParametersHasBeenSet()

bool Aws::LexRuntimeService::Model::ActiveContext::ParametersHasBeenSet ( ) const
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 128 of file ActiveContext.h.

◆ SetName() [1/3]

void Aws::LexRuntimeService::Model::ActiveContext::SetName ( Aws::String &&  value)
inline

The name of the context.

Definition at line 64 of file ActiveContext.h.

◆ SetName() [2/3]

void Aws::LexRuntimeService::Model::ActiveContext::SetName ( const Aws::String value)
inline

The name of the context.

Definition at line 59 of file ActiveContext.h.

◆ SetName() [3/3]

void Aws::LexRuntimeService::Model::ActiveContext::SetName ( const char *  value)
inline

The name of the context.

Definition at line 69 of file ActiveContext.h.

◆ SetParameters() [1/2]

void Aws::LexRuntimeService::Model::ActiveContext::SetParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 140 of file ActiveContext.h.

◆ SetParameters() [2/2]

void Aws::LexRuntimeService::Model::ActiveContext::SetParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 134 of file ActiveContext.h.

◆ SetTimeToLive() [1/2]

void Aws::LexRuntimeService::Model::ActiveContext::SetTimeToLive ( ActiveContextTimeToLive &&  value)
inline

The length of time or number of turns that a context remains active.

Definition at line 105 of file ActiveContext.h.

◆ SetTimeToLive() [2/2]

void Aws::LexRuntimeService::Model::ActiveContext::SetTimeToLive ( const ActiveContextTimeToLive value)
inline

The length of time or number of turns that a context remains active.

Definition at line 100 of file ActiveContext.h.

◆ TimeToLiveHasBeenSet()

bool Aws::LexRuntimeService::Model::ActiveContext::TimeToLiveHasBeenSet ( ) const
inline

The length of time or number of turns that a context remains active.

Definition at line 95 of file ActiveContext.h.

◆ WithName() [1/3]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithName ( Aws::String &&  value)
inline

The name of the context.

Definition at line 79 of file ActiveContext.h.

◆ WithName() [2/3]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithName ( const Aws::String value)
inline

The name of the context.

Definition at line 74 of file ActiveContext.h.

◆ WithName() [3/3]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithName ( const char *  value)
inline

The name of the context.

Definition at line 84 of file ActiveContext.h.

◆ WithParameters() [1/2]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithParameters ( Aws::Map< Aws::String, Aws::String > &&  value)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 152 of file ActiveContext.h.

◆ WithParameters() [2/2]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithParameters ( const Aws::Map< Aws::String, Aws::String > &  value)
inline

State variables for the current context. You can use these values as default values for slots in subsequent events.

Definition at line 146 of file ActiveContext.h.

◆ WithTimeToLive() [1/2]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithTimeToLive ( ActiveContextTimeToLive &&  value)
inline

The length of time or number of turns that a context remains active.

Definition at line 115 of file ActiveContext.h.

◆ WithTimeToLive() [2/2]

ActiveContext& Aws::LexRuntimeService::Model::ActiveContext::WithTimeToLive ( const ActiveContextTimeToLive value)
inline

The length of time or number of turns that a context remains active.

Definition at line 110 of file ActiveContext.h.


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