7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/DialogAction.h>
9#include <aws/lexv2-models/model/IntentOverride.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
48 template<
typename DialogActionT = DialogAction>
49 void SetDialogAction(DialogActionT&& value) { m_dialogActionHasBeenSet =
true; m_dialogAction = std::forward<DialogActionT>(value); }
50 template<
typename DialogActionT = DialogAction>
58 template<
typename IntentT = IntentOverr
ide>
59 void SetIntent(IntentT&& value) { m_intentHasBeenSet =
true; m_intent = std::forward<IntentT>(value); }
60 template<
typename IntentT = IntentOverr
ide>
72 template<
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
73 void SetSessionAttributes(SessionAttributesT&& value) { m_sessionAttributesHasBeenSet =
true; m_sessionAttributes = std::forward<SessionAttributesT>(value); }
74 template<
typename SessionAttributesT = Aws::Map<Aws::String, Aws::String>>
76 template<
typename SessionAttributesKeyT = Aws::String,
typename SessionAttributesValueT = Aws::String>
78 m_sessionAttributesHasBeenSet =
true; m_sessionAttributes.emplace(std::forward<SessionAttributesKeyT>(key), std::forward<SessionAttributesValueT>(value));
return *
this;
84 bool m_dialogActionHasBeenSet =
false;
87 bool m_intentHasBeenSet =
false;
90 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