7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/lex/model/DialogActionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/lex/model/FulfillmentState.h>
12#include <aws/lex/model/MessageFormatType.h>
25namespace LexRuntimeService
74 template<
typename IntentNameT = Aws::String>
75 void SetIntentName(IntentNameT&& value) { m_intentNameHasBeenSet =
true; m_intentName = std::forward<IntentNameT>(value); }
76 template<
typename IntentNameT = Aws::String>
86 template<
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
87 void SetSlots(SlotsT&& value) { m_slotsHasBeenSet =
true; m_slots = std::forward<SlotsT>(value); }
88 template<
typename SlotsT = Aws::Map<Aws::String, Aws::String>>
90 template<
typename SlotsKeyT = Aws::String,
typename SlotsValueT = Aws::String>
92 m_slotsHasBeenSet =
true; m_slots.emplace(std::forward<SlotsKeyT>(key), std::forward<SlotsValueT>(value));
return *
this;
102 template<
typename SlotToElicitT = Aws::String>
103 void SetSlotToElicit(SlotToElicitT&& value) { m_slotToElicitHasBeenSet =
true; m_slotToElicit = std::forward<SlotToElicitT>(value); }
104 template<
typename SlotToElicitT = Aws::String>
131 template<
typename MessageT = Aws::String>
132 void SetMessage(MessageT&& value) { m_messageHasBeenSet =
true; m_message = std::forward<MessageT>(value); }
133 template<
typename MessageT = Aws::String>
156 bool m_typeHasBeenSet =
false;
159 bool m_intentNameHasBeenSet =
false;
162 bool m_slotsHasBeenSet =
false;
165 bool m_slotToElicitHasBeenSet =
false;
168 bool m_fulfillmentStateHasBeenSet =
false;
171 bool m_messageHasBeenSet =
false;
174 bool m_messageFormatHasBeenSet =
false;
DialogAction & WithSlotToElicit(SlotToElicitT &&value)
DialogAction & WithMessageFormat(MessageFormatType value)
DialogAction & AddSlots(SlotsKeyT &&key, SlotsValueT &&value)
AWS_LEXRUNTIMESERVICE_API DialogAction(Aws::Utils::Json::JsonView jsonValue)
void SetIntentName(IntentNameT &&value)
DialogAction & WithIntentName(IntentNameT &&value)
void SetMessageFormat(MessageFormatType value)
MessageFormatType GetMessageFormat() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
AWS_LEXRUNTIMESERVICE_API DialogAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DialogAction & WithType(DialogActionType value)
bool FulfillmentStateHasBeenSet() const
const Aws::String & GetMessage() const
bool TypeHasBeenSet() const
bool IntentNameHasBeenSet() const
void SetFulfillmentState(FulfillmentState value)
void SetSlots(SlotsT &&value)
const Aws::String & GetIntentName() const
bool MessageFormatHasBeenSet() const
const Aws::String & GetSlotToElicit() const
void SetMessage(MessageT &&value)
DialogAction & WithFulfillmentState(FulfillmentState value)
void SetSlotToElicit(SlotToElicitT &&value)
FulfillmentState GetFulfillmentState() const
bool SlotsHasBeenSet() const
DialogAction & WithSlots(SlotsT &&value)
DialogAction & WithMessage(MessageT &&value)
void SetType(DialogActionType value)
bool SlotToElicitHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API DialogAction()=default
bool MessageHasBeenSet() const
DialogActionType GetType() const
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
Aws::Utils::Json::JsonValue JsonValue