7#include <aws/lexv2-runtime/LexRuntimeV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/lexv2-runtime/model/Button.h>
52 template<
typename TitleT = Aws::String>
53 void SetTitle(TitleT&& value) { m_titleHasBeenSet =
true; m_title = std::forward<TitleT>(value); }
54 template<
typename TitleT = Aws::String>
65 template<
typename SubtitleT = Aws::String>
66 void SetSubtitle(SubtitleT&& value) { m_subtitleHasBeenSet =
true; m_subtitle = std::forward<SubtitleT>(value); }
67 template<
typename SubtitleT = Aws::String>
79 template<
typename ImageUrlT = Aws::String>
80 void SetImageUrl(ImageUrlT&& value) { m_imageUrlHasBeenSet =
true; m_imageUrl = std::forward<ImageUrlT>(value); }
81 template<
typename ImageUrlT = Aws::String>
93 template<
typename ButtonsT = Aws::Vector<Button>>
94 void SetButtons(ButtonsT&& value) { m_buttonsHasBeenSet =
true; m_buttons = std::forward<ButtonsT>(value); }
95 template<
typename ButtonsT = Aws::Vector<Button>>
97 template<
typename ButtonsT = Button>
98 ImageResponseCard&
AddButtons(ButtonsT&& value) { m_buttonsHasBeenSet =
true; m_buttons.emplace_back(std::forward<ButtonsT>(value));
return *
this; }
103 bool m_titleHasBeenSet =
false;
106 bool m_subtitleHasBeenSet =
false;
109 bool m_imageUrlHasBeenSet =
false;
112 bool m_buttonsHasBeenSet =
false;
AWS_LEXRUNTIMEV2_API ImageResponseCard(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(TitleT &&value)
const Aws::Vector< Button > & GetButtons() const
const Aws::String & GetSubtitle() const
bool TitleHasBeenSet() const
AWS_LEXRUNTIMEV2_API Aws::Utils::Json::JsonValue Jsonize() const
ImageResponseCard & AddButtons(ButtonsT &&value)
void SetButtons(ButtonsT &&value)
bool SubtitleHasBeenSet() const
bool ButtonsHasBeenSet() const
AWS_LEXRUNTIMEV2_API ImageResponseCard & operator=(Aws::Utils::Json::JsonView jsonValue)
ImageResponseCard & WithSubtitle(SubtitleT &&value)
void SetSubtitle(SubtitleT &&value)
const Aws::String & GetImageUrl() const
void SetImageUrl(ImageUrlT &&value)
bool ImageUrlHasBeenSet() const
ImageResponseCard & WithImageUrl(ImageUrlT &&value)
ImageResponseCard & WithButtons(ButtonsT &&value)
ImageResponseCard & WithTitle(TitleT &&value)
const Aws::String & GetTitle() const
AWS_LEXRUNTIMEV2_API ImageResponseCard()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue