7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/lexv2-runtime/model/DialogAction.h>
9#include <aws/lexv2-runtime/model/Intent.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/lexv2-runtime/model/RuntimeHints.h>
14#include <aws/lexv2-runtime/model/ActiveContext.h>
66 inline void SetIntent(
const Intent& value) { m_intentHasBeenSet =
true; m_intent = value; }
67 inline void SetIntent(
Intent&& value) { m_intentHasBeenSet =
true; m_intent = std::move(value); }
106 inline SessionState&
AddSessionAttributes(
const char* key,
const char* value) { m_sessionAttributesHasBeenSet =
true; m_sessionAttributes.emplace(key, value);
return *
this; }
117 inline void SetOriginatingRequestId(
const char* value) { m_originatingRequestIdHasBeenSet =
true; m_originatingRequestId.assign(value); }
138 bool m_dialogActionHasBeenSet =
false;
141 bool m_intentHasBeenSet =
false;
144 bool m_activeContextsHasBeenSet =
false;
147 bool m_sessionAttributesHasBeenSet =
false;
150 bool m_originatingRequestIdHasBeenSet =
false;
153 bool m_runtimeHintsHasBeenSet =
false;
SessionState & AddSessionAttributes(const Aws::String &key, const Aws::String &value)
bool DialogActionHasBeenSet() const
SessionState & WithDialogAction(DialogAction &&value)
SessionState & WithActiveContexts(Aws::Vector< ActiveContext > &&value)
const Aws::Vector< ActiveContext > & GetActiveContexts() const
SessionState & AddSessionAttributes(Aws::String &&key, const char *value)
AWS_LEXRUNTIMEV2_API SessionState()
void SetRuntimeHints(RuntimeHints &&value)
void SetOriginatingRequestId(const char *value)
void SetSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SessionState & AddActiveContexts(ActiveContext &&value)
const RuntimeHints & GetRuntimeHints() const
void SetActiveContexts(Aws::Vector< ActiveContext > &&value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
void SetOriginatingRequestId(Aws::String &&value)
SessionState & AddSessionAttributes(Aws::String &&key, const Aws::String &value)
bool SessionAttributesHasBeenSet() const
void SetIntent(Intent &&value)
const Aws::String & GetOriginatingRequestId() const
void SetSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
bool ActiveContextsHasBeenSet() const
AWS_LEXRUNTIMEV2_API SessionState(Aws::Utils::Json::JsonView jsonValue)
SessionState & AddActiveContexts(const ActiveContext &value)
SessionState & WithRuntimeHints(const RuntimeHints &value)
SessionState & WithOriginatingRequestId(const char *value)
void SetIntent(const Intent &value)
bool IntentHasBeenSet() const
bool RuntimeHintsHasBeenSet() const
void SetOriginatingRequestId(const Aws::String &value)
SessionState & AddSessionAttributes(const char *key, const char *value)
void SetDialogAction(DialogAction &&value)
SessionState & AddSessionAttributes(const Aws::String &key, Aws::String &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
SessionState & WithActiveContexts(const Aws::Vector< ActiveContext > &value)
SessionState & WithIntent(const Intent &value)
const Intent & GetIntent() const
SessionState & WithOriginatingRequestId(const Aws::String &value)
SessionState & WithDialogAction(const DialogAction &value)
void SetRuntimeHints(const RuntimeHints &value)
SessionState & WithOriginatingRequestId(Aws::String &&value)
SessionState & WithSessionAttributes(const Aws::Map< Aws::String, Aws::String > &value)
SessionState & WithSessionAttributes(Aws::Map< Aws::String, Aws::String > &&value)
AWS_LEXRUNTIMEV2_API SessionState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OriginatingRequestIdHasBeenSet() const
void SetDialogAction(const DialogAction &value)
const DialogAction & GetDialogAction() const
SessionState & WithRuntimeHints(RuntimeHints &&value)
SessionState & WithIntent(Intent &&value)
void SetActiveContexts(const Aws::Vector< ActiveContext > &value)
SessionState & AddSessionAttributes(const char *key, Aws::String &&value)
SessionState & AddSessionAttributes(Aws::String &&key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue