7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
10#include <aws/lexv2-models/model/DialogAction.h>
11#include <aws/lexv2-models/model/IntentOverride.h>
22namespace LexModelsV2 {
42 template <
typename DialogActionT = DialogAction>
44 m_dialogActionHasBeenSet =
true;
45 m_dialogAction = std::forward<DialogActionT>(value);
47 template <
typename DialogActionT = DialogAction>
58 template <
typename IntentT = IntentOverr
ide>
60 m_intentHasBeenSet =
true;
61 m_intent = std::forward<IntentT>(value);
63 template <
typename IntentT = IntentOverr
ide>
78 template <
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
80 m_sessionAttributesHasBeenSet =
true;
81 m_sessionAttributes = std::forward<SessionAttributesT>(value);
83 template <
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
88 template <
typename SessionAttributesKeyT = Aws::String,
typename SessionAttributesValueT = Aws::String>
90 m_sessionAttributesHasBeenSet =
true;
91 m_sessionAttributes.emplace(std::forward<SessionAttributesKeyT>(key), std::forward<SessionAttributesValueT>(value));
101 bool m_dialogActionHasBeenSet =
false;
102 bool m_intentHasBeenSet =
false;
103 bool m_sessionAttributesHasBeenSet =
false;
bool SessionAttributesHasBeenSet() const
bool DialogActionHasBeenSet() const
DialogState & WithDialogAction(DialogActionT &&value)
DialogState & AddSessionAttributes(SessionAttributesKeyT &&key, SessionAttributesValueT &&value)
void SetDialogAction(DialogActionT &&value)
AWS_LEXMODELSV2_API DialogState(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXMODELSV2_API DialogState()=default
bool IntentHasBeenSet() const
void SetSessionAttributes(SessionAttributesT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
DialogState & WithIntent(IntentT &&value)
const DialogAction & GetDialogAction() const
const Aws::Map< Aws::String, Aws::String > & GetSessionAttributes() const
void SetIntent(IntentT &&value)
AWS_LEXMODELSV2_API DialogState & operator=(Aws::Utils::Json::JsonView jsonValue)
const IntentOverride & GetIntent() const
DialogState & WithSessionAttributes(SessionAttributesT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
Aws::Utils::Json::JsonValue JsonValue