7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/pinpoint/model/Layout.h>
12#include <aws/pinpoint/model/TemplateType.h>
13#include <aws/pinpoint/model/InAppMessageContent.h>
51 template<
typename ArnT = Aws::String>
52 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
53 template<
typename ArnT = Aws::String>
65 template<
typename ContentT = Aws::Vector<InAppMessageContent>>
66 void SetContent(ContentT&& value) { m_contentHasBeenSet =
true; m_content = std::forward<ContentT>(value); }
67 template<
typename ContentT = Aws::Vector<InAppMessageContent>>
69 template<
typename ContentT = InAppMessageContent>
79 template<
typename CreationDateT = Aws::String>
80 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
81 template<
typename CreationDateT = Aws::String>
91 template<
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
92 void SetCustomConfig(CustomConfigT&& value) { m_customConfigHasBeenSet =
true; m_customConfig = std::forward<CustomConfigT>(value); }
93 template<
typename CustomConfigT = Aws::Map<Aws::String, Aws::String>>
95 template<
typename CustomConfigKeyT = Aws::String,
typename CustomConfigValueT = Aws::String>
97 m_customConfigHasBeenSet =
true; m_customConfig.emplace(std::forward<CustomConfigKeyT>(key), std::forward<CustomConfigValueT>(value));
return *
this;
107 template<
typename LastModifiedDateT = Aws::String>
108 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
109 template<
typename LastModifiedDateT = Aws::String>
131 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
132 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
133 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
135 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
137 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
147 template<
typename TemplateDescriptionT = Aws::String>
148 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
149 template<
typename TemplateDescriptionT = Aws::String>
159 template<
typename TemplateNameT = Aws::String>
160 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
161 template<
typename TemplateNameT = Aws::String>
181 template<
typename VersionT = Aws::String>
182 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
183 template<
typename VersionT = Aws::String>
189 bool m_arnHasBeenSet =
false;
192 bool m_contentHasBeenSet =
false;
195 bool m_creationDateHasBeenSet =
false;
198 bool m_customConfigHasBeenSet =
false;
201 bool m_lastModifiedDateHasBeenSet =
false;
204 bool m_layoutHasBeenSet =
false;
207 bool m_tagsHasBeenSet =
false;
210 bool m_templateDescriptionHasBeenSet =
false;
213 bool m_templateNameHasBeenSet =
false;
216 bool m_templateTypeHasBeenSet =
false;
219 bool m_versionHasBeenSet =
false;
bool LastModifiedDateHasBeenSet() const
bool CreationDateHasBeenSet() const
const Aws::String & GetTemplateName() const
InAppTemplateResponse & WithCreationDate(CreationDateT &&value)
void SetContent(ContentT &&value)
const Aws::String & GetLastModifiedDate() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetTemplateType(TemplateType value)
void SetLayout(Layout value)
InAppTemplateResponse & AddContent(ContentT &&value)
InAppTemplateResponse & WithTemplateName(TemplateNameT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
AWS_PINPOINT_API InAppTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(TagsT &&value)
void SetCustomConfig(CustomConfigT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
bool LayoutHasBeenSet() const
InAppTemplateResponse & AddCustomConfig(CustomConfigKeyT &&key, CustomConfigValueT &&value)
void SetTemplateName(TemplateNameT &&value)
void SetCreationDate(CreationDateT &&value)
InAppTemplateResponse & WithTags(TagsT &&value)
void SetVersion(VersionT &&value)
InAppTemplateResponse & WithVersion(VersionT &&value)
InAppTemplateResponse & WithTemplateType(TemplateType value)
InAppTemplateResponse & WithLayout(Layout value)
InAppTemplateResponse & WithCustomConfig(CustomConfigT &&value)
const Aws::Vector< InAppMessageContent > & GetContent() const
InAppTemplateResponse & WithTemplateDescription(TemplateDescriptionT &&value)
bool TemplateDescriptionHasBeenSet() const
const Aws::String & GetTemplateDescription() const
AWS_PINPOINT_API InAppTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
bool CustomConfigHasBeenSet() const
bool TemplateNameHasBeenSet() const
InAppTemplateResponse & WithArn(ArnT &&value)
bool ContentHasBeenSet() const
void SetTemplateDescription(TemplateDescriptionT &&value)
const Aws::String & GetVersion() const
bool TagsHasBeenSet() const
void SetArn(ArnT &&value)
const Aws::String & GetArn() const
bool TemplateTypeHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetCustomConfig() const
bool VersionHasBeenSet() const
InAppTemplateResponse & WithLastModifiedDate(LastModifiedDateT &&value)
TemplateType GetTemplateType() const
AWS_PINPOINT_API InAppTemplateResponse()=default
const Aws::String & GetCreationDate() const
InAppTemplateResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
InAppTemplateResponse & WithContent(ContentT &&value)
bool ArnHasBeenSet() const
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