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
78 inline void SetIntentName(
const char* value) { m_intentNameHasBeenSet =
true; m_intentName.assign(value); }
100 inline DialogAction&
AddSlots(
const char* key,
const char* value) { m_slotsHasBeenSet =
true; m_slots.emplace(key, value);
return *
this; }
111 inline void SetSlotToElicit(
const char* value) { m_slotToElicitHasBeenSet =
true; m_slotToElicit.assign(value); }
144 inline void SetMessage(
const char* value) { m_messageHasBeenSet =
true; m_message.assign(value); }
171 bool m_typeHasBeenSet =
false;
174 bool m_intentNameHasBeenSet =
false;
177 bool m_slotsHasBeenSet =
false;
180 bool m_slotToElicitHasBeenSet =
false;
183 bool m_fulfillmentStateHasBeenSet =
false;
186 bool m_messageHasBeenSet =
false;
189 bool m_messageFormatHasBeenSet =
false;
DialogAction & AddSlots(const char *key, Aws::String &&value)
DialogAction & WithMessageFormat(const MessageFormatType &value)
void SetSlotToElicit(const char *value)
void SetFulfillmentState(const FulfillmentState &value)
DialogAction & WithSlots(const Aws::Map< Aws::String, Aws::String > &value)
void SetMessage(const Aws::String &value)
void SetMessage(const char *value)
DialogAction & AddSlots(Aws::String &&key, Aws::String &&value)
void SetMessage(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API DialogAction(Aws::Utils::Json::JsonView jsonValue)
DialogAction & WithIntentName(Aws::String &&value)
void SetType(const DialogActionType &value)
void SetFulfillmentState(FulfillmentState &&value)
const FulfillmentState & GetFulfillmentState() const
DialogAction & WithSlotToElicit(const char *value)
DialogAction & WithType(const DialogActionType &value)
DialogAction & WithSlotToElicit(Aws::String &&value)
DialogAction & WithType(DialogActionType &&value)
DialogAction & WithIntentName(const char *value)
DialogAction & WithMessage(Aws::String &&value)
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetSlots() const
DialogAction & WithMessage(const char *value)
AWS_LEXRUNTIMESERVICE_API DialogAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetIntentName(Aws::String &&value)
void SetType(DialogActionType &&value)
void SetSlotToElicit(Aws::String &&value)
DialogAction & WithSlotToElicit(const Aws::String &value)
void SetIntentName(const Aws::String &value)
bool FulfillmentStateHasBeenSet() const
DialogAction & AddSlots(Aws::String &&key, const char *value)
const Aws::String & GetMessage() const
bool TypeHasBeenSet() const
bool IntentNameHasBeenSet() const
const MessageFormatType & GetMessageFormat() const
void SetMessageFormat(MessageFormatType &&value)
DialogAction & WithSlots(Aws::Map< Aws::String, Aws::String > &&value)
void SetMessageFormat(const MessageFormatType &value)
const Aws::String & GetIntentName() const
bool MessageFormatHasBeenSet() const
const Aws::String & GetSlotToElicit() const
void SetSlotToElicit(const Aws::String &value)
AWS_LEXRUNTIMESERVICE_API DialogAction()
void SetSlots(const Aws::Map< Aws::String, Aws::String > &value)
DialogAction & AddSlots(const Aws::String &key, const Aws::String &value)
void SetIntentName(const char *value)
DialogAction & WithMessageFormat(MessageFormatType &&value)
DialogAction & WithFulfillmentState(FulfillmentState &&value)
bool SlotsHasBeenSet() const
DialogAction & WithMessage(const Aws::String &value)
DialogAction & WithIntentName(const Aws::String &value)
void SetSlots(Aws::Map< Aws::String, Aws::String > &&value)
bool SlotToElicitHasBeenSet() const
DialogAction & AddSlots(Aws::String &&key, const Aws::String &value)
bool MessageHasBeenSet() const
const DialogActionType & GetType() const
DialogAction & AddSlots(const Aws::String &key, Aws::String &&value)
DialogAction & AddSlots(const char *key, const char *value)
DialogAction & WithFulfillmentState(const FulfillmentState &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
Aws::Utils::Json::JsonValue JsonValue