7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/pinpoint/model/AndroidPushNotificationTemplate.h>
9#include <aws/pinpoint/model/APNSPushNotificationTemplate.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/pinpoint/model/DefaultPushNotificationTemplate.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/pinpoint/model/TemplateType.h>
53 inline const AndroidPushNotificationTemplate&
GetADM()
const {
return m_aDM; }
55 template<
typename ADMT = Andro
idPushNotificationTemplate>
56 void SetADM(ADMT&& value) { m_aDMHasBeenSet =
true; m_aDM = std::forward<ADMT>(value); }
57 template<
typename ADMT = Andro
idPushNotificationTemplate>
69 template<
typename APNST = APNSPushNotificationTemplate>
70 void SetAPNS(APNST&& value) { m_aPNSHasBeenSet =
true; m_aPNS = std::forward<APNST>(value); }
71 template<
typename APNST = APNSPushNotificationTemplate>
81 template<
typename ArnT = Aws::String>
82 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
83 template<
typename ArnT = Aws::String>
93 inline const AndroidPushNotificationTemplate&
GetBaidu()
const {
return m_baidu; }
95 template<
typename Ba
iduT = Andro
idPushNotificationTemplate>
96 void SetBaidu(BaiduT&& value) { m_baiduHasBeenSet =
true; m_baidu = std::forward<BaiduT>(value); }
97 template<
typename Ba
iduT = Andro
idPushNotificationTemplate>
107 template<
typename CreationDateT = Aws::String>
108 void SetCreationDate(CreationDateT&& value) { m_creationDateHasBeenSet =
true; m_creationDate = std::forward<CreationDateT>(value); }
109 template<
typename CreationDateT = Aws::String>
119 template<
typename DefaultT = DefaultPushNotificationTemplate>
120 void SetDefault(DefaultT&& value) { m_defaultHasBeenSet =
true; m_default = std::forward<DefaultT>(value); }
121 template<
typename DefaultT = DefaultPushNotificationTemplate>
134 template<
typename DefaultSubstitutionsT = Aws::String>
135 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value); }
136 template<
typename DefaultSubstitutionsT = Aws::String>
147 inline const AndroidPushNotificationTemplate&
GetGCM()
const {
return m_gCM; }
149 template<
typename GCMT = Andro
idPushNotificationTemplate>
150 void SetGCM(GCMT&& value) { m_gCMHasBeenSet =
true; m_gCM = std::forward<GCMT>(value); }
151 template<
typename GCMT = Andro
idPushNotificationTemplate>
162 template<
typename LastModifiedDateT = Aws::String>
163 void SetLastModifiedDate(LastModifiedDateT&& value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate = std::forward<LastModifiedDateT>(value); }
164 template<
typename LastModifiedDateT = Aws::String>
175 template<
typename RecommenderIdT = Aws::String>
176 void SetRecommenderId(RecommenderIdT&& value) { m_recommenderIdHasBeenSet =
true; m_recommenderId = std::forward<RecommenderIdT>(value); }
177 template<
typename RecommenderIdT = Aws::String>
189 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
190 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
191 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
195 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
205 template<
typename TemplateDescriptionT = Aws::String>
206 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
207 template<
typename TemplateDescriptionT = Aws::String>
217 template<
typename TemplateNameT = Aws::String>
218 void SetTemplateName(TemplateNameT&& value) { m_templateNameHasBeenSet =
true; m_templateName = std::forward<TemplateNameT>(value); }
219 template<
typename TemplateNameT = Aws::String>
242 template<
typename VersionT = Aws::String>
243 void SetVersion(VersionT&& value) { m_versionHasBeenSet =
true; m_version = std::forward<VersionT>(value); }
244 template<
typename VersionT = Aws::String>
249 AndroidPushNotificationTemplate m_aDM;
250 bool m_aDMHasBeenSet =
false;
253 bool m_aPNSHasBeenSet =
false;
256 bool m_arnHasBeenSet =
false;
258 AndroidPushNotificationTemplate m_baidu;
259 bool m_baiduHasBeenSet =
false;
262 bool m_creationDateHasBeenSet =
false;
265 bool m_defaultHasBeenSet =
false;
268 bool m_defaultSubstitutionsHasBeenSet =
false;
270 AndroidPushNotificationTemplate m_gCM;
271 bool m_gCMHasBeenSet =
false;
274 bool m_lastModifiedDateHasBeenSet =
false;
277 bool m_recommenderIdHasBeenSet =
false;
280 bool m_tagsHasBeenSet =
false;
283 bool m_templateDescriptionHasBeenSet =
false;
286 bool m_templateNameHasBeenSet =
false;
289 bool m_templateTypeHasBeenSet =
false;
292 bool m_versionHasBeenSet =
false;
const DefaultPushNotificationTemplate & GetDefault() const
PushNotificationTemplateResponse & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::String & GetArn() const
void SetGCM(GCMT &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
bool APNSHasBeenSet() const
const Aws::String & GetDefaultSubstitutions() const
PushNotificationTemplateResponse & WithTemplateDescription(TemplateDescriptionT &&value)
bool LastModifiedDateHasBeenSet() const
bool GCMHasBeenSet() const
void SetTags(TagsT &&value)
bool BaiduHasBeenSet() const
PushNotificationTemplateResponse & WithTemplateName(TemplateNameT &&value)
bool TemplateTypeHasBeenSet() const
void SetCreationDate(CreationDateT &&value)
TemplateType GetTemplateType() const
PushNotificationTemplateResponse & WithVersion(VersionT &&value)
PushNotificationTemplateResponse & WithArn(ArnT &&value)
void SetTemplateName(TemplateNameT &&value)
const Aws::String & GetVersion() const
bool ADMHasBeenSet() const
bool RecommenderIdHasBeenSet() const
void SetAPNS(APNST &&value)
PushNotificationTemplateResponse & WithLastModifiedDate(LastModifiedDateT &&value)
void SetTemplateDescription(TemplateDescriptionT &&value)
PushNotificationTemplateResponse & WithADM(ADMT &&value)
void SetLastModifiedDate(LastModifiedDateT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetVersion(VersionT &&value)
void SetArn(ArnT &&value)
const Aws::String & GetLastModifiedDate() const
PushNotificationTemplateResponse & WithGCM(GCMT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
const APNSPushNotificationTemplate & GetAPNS() const
bool TemplateNameHasBeenSet() const
void SetRecommenderId(RecommenderIdT &&value)
void SetADM(ADMT &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTemplateDescription() const
bool TemplateDescriptionHasBeenSet() const
PushNotificationTemplateResponse & WithTemplateType(TemplateType value)
bool CreationDateHasBeenSet() const
const Aws::String & GetCreationDate() const
bool DefaultSubstitutionsHasBeenSet() const
PushNotificationTemplateResponse & WithBaidu(BaiduT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetRecommenderId() const
PushNotificationTemplateResponse & WithCreationDate(CreationDateT &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse()=default
bool ArnHasBeenSet() const
bool VersionHasBeenSet() const
void SetDefault(DefaultT &&value)
PushNotificationTemplateResponse & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
const AndroidPushNotificationTemplate & GetADM() const
const AndroidPushNotificationTemplate & GetBaidu() const
PushNotificationTemplateResponse & WithRecommenderId(RecommenderIdT &&value)
void SetBaidu(BaiduT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetTemplateName() const
PushNotificationTemplateResponse & WithDefault(DefaultT &&value)
PushNotificationTemplateResponse & WithAPNS(APNST &&value)
const AndroidPushNotificationTemplate & GetGCM() const
void SetTemplateType(TemplateType value)
PushNotificationTemplateResponse & WithTags(TagsT &&value)
bool DefaultHasBeenSet() 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
Aws::Utils::Json::JsonValue JsonValue