7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
11#include <aws/lexv2-runtime/model/ActiveContext.h>
12#include <aws/lexv2-runtime/model/DialogAction.h>
13#include <aws/lexv2-runtime/model/Intent.h>
14#include <aws/lexv2-runtime/model/RuntimeHints.h>
25namespace LexRuntimeV2 {
48 template <
typename DialogActionT = DialogAction>
50 m_dialogActionHasBeenSet =
true;
51 m_dialogAction = std::forward<DialogActionT>(value);
53 template <
typename DialogActionT = DialogAction>
66 template <
typename IntentT = Intent>
68 m_intentHasBeenSet =
true;
69 m_intent = std::forward<IntentT>(value);
71 template <
typename IntentT = Intent>
86 template <
typename ActiveContextsT = Aws::Vector<ActiveContext>>
88 m_activeContextsHasBeenSet =
true;
89 m_activeContexts = std::forward<ActiveContextsT>(value);
91 template <
typename ActiveContextsT = Aws::Vector<ActiveContext>>
96 template <
typename ActiveContextsT = ActiveContext>
98 m_activeContextsHasBeenSet =
true;
99 m_activeContexts.emplace_back(std::forward<ActiveContextsT>(value));
112 template <
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
114 m_sessionAttributesHasBeenSet =
true;
115 m_sessionAttributes = std::forward<SessionAttributesT>(value);
117 template <
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
122 template <
typename SessionAttributesKeyT = Aws::String,
typename SessionAttributesValueT = Aws::String>
124 m_sessionAttributesHasBeenSet =
true;
125 m_sessionAttributes.emplace(std::forward<SessionAttributesKeyT>(key), std::forward<SessionAttributesValueT>(value));
136 template <
typename OriginatingRequestIdT = Aws::String>
138 m_originatingRequestIdHasBeenSet =
true;
139 m_originatingRequestId = std::forward<OriginatingRequestIdT>(value);
141 template <
typename OriginatingRequestIdT = Aws::String>
155 template <
typename RuntimeH
intsT = RuntimeH
ints>
157 m_runtimeHintsHasBeenSet =
true;
158 m_runtimeHints = std::forward<RuntimeHintsT>(value);
160 template <
typename RuntimeH
intsT = RuntimeH
ints>
178 bool m_dialogActionHasBeenSet =
false;
179 bool m_intentHasBeenSet =
false;
180 bool m_activeContextsHasBeenSet =
false;
181 bool m_sessionAttributesHasBeenSet =
false;
182 bool m_originatingRequestIdHasBeenSet =
false;
183 bool m_runtimeHintsHasBeenSet =
false;
bool DialogActionHasBeenSet() const
SessionState & WithOriginatingRequestId(OriginatingRequestIdT &&value)
SessionState & WithDialogAction(DialogActionT &&value)
SessionState & WithIntent(IntentT &&value)
const Aws::Vector< ActiveContext > & GetActiveContexts() const
void SetSessionAttributes(SessionAttributesT &&value)
const RuntimeHints & GetRuntimeHints() const
SessionState & WithSessionAttributes(SessionAttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
void SetActiveContexts(ActiveContextsT &&value)
bool SessionAttributesHasBeenSet() const
const Aws::String & GetOriginatingRequestId() const
bool ActiveContextsHasBeenSet() const
SessionState & AddActiveContexts(ActiveContextsT &&value)
AWS_LEXRUNTIMEV2_API SessionState(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMEV2_API SessionState()=default
void SetDialogAction(DialogActionT &&value)
bool IntentHasBeenSet() const
SessionState & WithActiveContexts(ActiveContextsT &&value)
bool RuntimeHintsHasBeenSet() const
void SetRuntimeHints(RuntimeHintsT &&value)
SessionState & AddSessionAttributes(SessionAttributesKeyT &&key, SessionAttributesValueT &&value)
SessionState & WithRuntimeHints(RuntimeHintsT &&value)
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
const Intent & GetIntent() const
AWS_LEXRUNTIMEV2_API SessionState & operator=(Aws::Utils::Json::JsonView jsonValue)
bool OriginatingRequestIdHasBeenSet() const
const DialogAction & GetDialogAction() const
void SetOriginatingRequestId(OriginatingRequestIdT &&value)
void SetIntent(IntentT &&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