7#include <aws/lex/LexRuntimeService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lex/model/Button.h>
23namespace LexRuntimeService
51 inline void SetTitle(
const char* value) { m_titleHasBeenSet =
true; m_title.assign(value); }
65 inline void SetSubTitle(
const char* value) { m_subTitleHasBeenSet =
true; m_subTitle.assign(value); }
79 inline void SetAttachmentLinkUrl(
const char* value) { m_attachmentLinkUrlHasBeenSet =
true; m_attachmentLinkUrl.assign(value); }
93 inline void SetImageUrl(
const char* value) { m_imageUrlHasBeenSet =
true; m_imageUrl.assign(value); }
115 bool m_titleHasBeenSet =
false;
118 bool m_subTitleHasBeenSet =
false;
121 bool m_attachmentLinkUrlHasBeenSet =
false;
124 bool m_imageUrlHasBeenSet =
false;
127 bool m_buttonsHasBeenSet =
false;
bool AttachmentLinkUrlHasBeenSet() const
void SetImageUrl(const char *value)
void SetAttachmentLinkUrl(const Aws::String &value)
void SetTitle(const Aws::String &value)
GenericAttachment & WithImageUrl(const char *value)
GenericAttachment & WithImageUrl(Aws::String &&value)
GenericAttachment & WithTitle(const char *value)
const Aws::Vector< Button > & GetButtons() const
AWS_LEXRUNTIMESERVICE_API GenericAttachment(Aws::Utils::Json::JsonView jsonValue)
void SetSubTitle(Aws::String &&value)
void SetAttachmentLinkUrl(Aws::String &&value)
void SetImageUrl(const Aws::String &value)
void SetAttachmentLinkUrl(const char *value)
void SetImageUrl(Aws::String &&value)
GenericAttachment & WithAttachmentLinkUrl(const char *value)
GenericAttachment & WithSubTitle(Aws::String &&value)
const Aws::String & GetSubTitle() const
const Aws::String & GetTitle() const
void SetSubTitle(const char *value)
bool ImageUrlHasBeenSet() const
AWS_LEXRUNTIMESERVICE_API GenericAttachment & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetButtons(const Aws::Vector< Button > &value)
GenericAttachment & WithSubTitle(const char *value)
GenericAttachment & WithSubTitle(const Aws::String &value)
GenericAttachment & WithAttachmentLinkUrl(Aws::String &&value)
const Aws::String & GetAttachmentLinkUrl() const
void SetSubTitle(const Aws::String &value)
GenericAttachment & WithAttachmentLinkUrl(const Aws::String &value)
const Aws::String & GetImageUrl() const
AWS_LEXRUNTIMESERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
bool TitleHasBeenSet() const
void SetTitle(Aws::String &&value)
GenericAttachment & WithTitle(const Aws::String &value)
GenericAttachment & WithButtons(Aws::Vector< Button > &&value)
GenericAttachment & WithTitle(Aws::String &&value)
bool ButtonsHasBeenSet() const
GenericAttachment & WithButtons(const Aws::Vector< Button > &value)
GenericAttachment & AddButtons(Button &&value)
AWS_LEXRUNTIMESERVICE_API GenericAttachment()
void SetButtons(Aws::Vector< Button > &&value)
GenericAttachment & WithImageUrl(const Aws::String &value)
void SetTitle(const char *value)
GenericAttachment & AddButtons(const Button &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