7#include <aws/lexv2-models/LexModelsV2_EXPORTS.h>
8#include <aws/lexv2-models/model/PlainTextMessage.h>
9#include <aws/lexv2-models/model/CustomPayload.h>
10#include <aws/lexv2-models/model/SSMLMessage.h>
11#include <aws/lexv2-models/model/ImageResponseCard.h>
50 template<
typename PlainTextMessageT = PlainTextMessage>
51 void SetPlainTextMessage(PlainTextMessageT&& value) { m_plainTextMessageHasBeenSet =
true; m_plainTextMessage = std::forward<PlainTextMessageT>(value); }
52 template<
typename PlainTextMessageT = PlainTextMessage>
62 template<
typename CustomPayloadT = CustomPayload>
63 void SetCustomPayload(CustomPayloadT&& value) { m_customPayloadHasBeenSet =
true; m_customPayload = std::forward<CustomPayloadT>(value); }
64 template<
typename CustomPayloadT = CustomPayload>
74 template<
typename SsmlMessageT = SSMLMessage>
75 void SetSsmlMessage(SsmlMessageT&& value) { m_ssmlMessageHasBeenSet =
true; m_ssmlMessage = std::forward<SsmlMessageT>(value); }
76 template<
typename SsmlMessageT = SSMLMessage>
87 template<
typename ImageResponseCardT = ImageResponseCard>
88 void SetImageResponseCard(ImageResponseCardT&& value) { m_imageResponseCardHasBeenSet =
true; m_imageResponseCard = std::forward<ImageResponseCardT>(value); }
89 template<
typename ImageResponseCardT = ImageResponseCard>
95 bool m_plainTextMessageHasBeenSet =
false;
98 bool m_customPayloadHasBeenSet =
false;
101 bool m_ssmlMessageHasBeenSet =
false;
104 bool m_imageResponseCardHasBeenSet =
false;
Message & WithCustomPayload(CustomPayloadT &&value)
const ImageResponseCard & GetImageResponseCard() const
const CustomPayload & GetCustomPayload() const
AWS_LEXMODELSV2_API Message()=default
void SetPlainTextMessage(PlainTextMessageT &&value)
bool SsmlMessageHasBeenSet() const
bool PlainTextMessageHasBeenSet() const
AWS_LEXMODELSV2_API Message & operator=(Aws::Utils::Json::JsonView jsonValue)
const SSMLMessage & GetSsmlMessage() const
Message & WithPlainTextMessage(PlainTextMessageT &&value)
bool CustomPayloadHasBeenSet() const
AWS_LEXMODELSV2_API Message(Aws::Utils::Json::JsonView jsonValue)
Message & WithImageResponseCard(ImageResponseCardT &&value)
const PlainTextMessage & GetPlainTextMessage() const
void SetCustomPayload(CustomPayloadT &&value)
bool ImageResponseCardHasBeenSet() const
void SetImageResponseCard(ImageResponseCardT &&value)
Message & WithSsmlMessage(SsmlMessageT &&value)
void SetSsmlMessage(SsmlMessageT &&value)
AWS_LEXMODELSV2_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue