7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/pinpoint/Pinpoint_EXPORTS.h>
11#include <aws/pinpoint/model/InAppMessageContent.h>
12#include <aws/pinpoint/model/Layout.h>
46 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
48 m_contentHasBeenSet =
true;
49 m_content = std::forward<ContentT>(value);
51 template <
typename ContentT = Aws::Vector<InAppMessageContent>>
56 template <
typename ContentT = InAppMessageContent>
58 m_contentHasBeenSet =
true;
59 m_content.emplace_back(std::forward<ContentT>(value));
70 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
72 m_customConfigHasBeenSet =
true;
73 m_customConfig = std::forward<CustomConfigT>(value);
75 template <
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
80 template <
typename CustomConfigKeyT = Aws::String,
typename CustomConfigValueT = Aws::String>
82 m_customConfigHasBeenSet =
true;
83 m_customConfig.emplace(std::forward<CustomConfigKeyT>(key), std::forward<CustomConfigValueT>(value));
95 m_layoutHasBeenSet =
true;
120 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
122 m_tagsHasBeenSet =
true;
123 m_tags = std::forward<TagsT>(value);
125 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
127 SetTags(std::forward<TagsT>(value));
130 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
132 m_tagsHasBeenSet =
true;
133 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
144 template <
typename TemplateDescriptionT = Aws::String>
146 m_templateDescriptionHasBeenSet =
true;
147 m_templateDescription = std::forward<TemplateDescriptionT>(value);
149 template <
typename TemplateDescriptionT = Aws::String>
165 bool m_contentHasBeenSet =
false;
166 bool m_customConfigHasBeenSet =
false;
167 bool m_layoutHasBeenSet =
false;
168 bool m_tagsHasBeenSet =
false;
169 bool m_templateDescriptionHasBeenSet =
false;
const Aws::Map< Aws::String, Aws::String > & GetTags() const
const Aws::Vector< InAppMessageContent > & GetContent() const
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
InAppTemplateRequest & WithContent(ContentT &&value)
void SetContent(ContentT &&value)
AWS_PINPOINT_API InAppTemplateRequest()=default
InAppTemplateRequest & WithTemplateDescription(TemplateDescriptionT &&value)
InAppTemplateRequest & WithCustomConfig(CustomConfigT &&value)
InAppTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
InAppTemplateRequest & WithLayout(Layout value)
void SetLayout(Layout value)
AWS_PINPOINT_API InAppTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
bool LayoutHasBeenSet() const
void SetTags(TagsT &&value)
InAppTemplateRequest & AddContent(ContentT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateDescription() const
void SetTemplateDescription(TemplateDescriptionT &&value)
InAppTemplateRequest & AddCustomConfig(CustomConfigKeyT &&key, CustomConfigValueT &&value)
bool TagsHasBeenSet() const
bool ContentHasBeenSet() const
InAppTemplateRequest & WithTags(TagsT &&value)
void SetCustomConfig(CustomConfigT &&value)
bool CustomConfigHasBeenSet() const
bool TemplateDescriptionHasBeenSet() const
AWS_PINPOINT_API InAppTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
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
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue