7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/lex/LexRuntimeService_EXPORTS.h>
10#include <aws/lex/model/Button.h>
21namespace LexRuntimeService {
43 template <
typename TitleT = Aws::String>
45 m_titleHasBeenSet =
true;
46 m_title = std::forward<TitleT>(value);
48 template <
typename TitleT = Aws::String>
50 SetTitle(std::forward<TitleT>(value));
61 template <
typename SubTitleT = Aws::String>
63 m_subTitleHasBeenSet =
true;
64 m_subTitle = std::forward<SubTitleT>(value);
66 template <
typename SubTitleT = Aws::String>
79 template <
typename AttachmentLinkUrlT = Aws::String>
81 m_attachmentLinkUrlHasBeenSet =
true;
82 m_attachmentLinkUrl = std::forward<AttachmentLinkUrlT>(value);
84 template <
typename AttachmentLinkUrlT = Aws::String>
97 template <
typename ImageUrlT = Aws::String>
99 m_imageUrlHasBeenSet =
true;
100 m_imageUrl = std::forward<ImageUrlT>(value);
102 template <
typename ImageUrlT = Aws::String>
115 template <
typename ButtonsT = Aws::Vector<Button>>
117 m_buttonsHasBeenSet =
true;
118 m_buttons = std::forward<ButtonsT>(value);
120 template <
typename ButtonsT = Aws::Vector<Button>>
125 template <
typename ButtonsT = Button>
127 m_buttonsHasBeenSet =
true;
128 m_buttons.emplace_back(std::forward<ButtonsT>(value));
142 bool m_titleHasBeenSet =
false;
143 bool m_subTitleHasBeenSet =
false;
144 bool m_attachmentLinkUrlHasBeenSet =
false;
145 bool m_imageUrlHasBeenSet =
false;
146 bool m_buttonsHasBeenSet =
false;
bool AttachmentLinkUrlHasBeenSet() const
void SetButtons(ButtonsT &&value)
GenericAttachment & WithButtons(ButtonsT &&value)
const Aws::Vector< Button > & GetButtons() const
void SetImageUrl(ImageUrlT &&value)
AWS_LEXRUNTIMESERVICE_API GenericAttachment(Aws::Utils::Json::JsonView jsonValue)
AWS_LEXRUNTIMESERVICE_API GenericAttachment()=default
GenericAttachment & WithAttachmentLinkUrl(AttachmentLinkUrlT &&value)
void SetAttachmentLinkUrl(AttachmentLinkUrlT &&value)
const Aws::String & GetSubTitle() const
const Aws::String & GetTitle() const
bool ImageUrlHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API GenericAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
GenericAttachment & WithImageUrl(ImageUrlT &&value)
const Aws::String & GetAttachmentLinkUrl() const
void SetTitle(TitleT &&value)
const Aws::String & GetImageUrl() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
GenericAttachment & AddButtons(ButtonsT &&value)
bool ButtonsHasBeenSet() const
void SetSubTitle(SubTitleT &&value)
GenericAttachment & WithTitle(TitleT &&value)
GenericAttachment & WithSubTitle(SubTitleT &&value)
bool SubTitleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue