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 inline void SetADM(
const AndroidPushNotificationTemplate& value) { m_aDMHasBeenSet =
true; m_aDM = value; }
56 inline void SetADM(AndroidPushNotificationTemplate&& value) { m_aDMHasBeenSet =
true; m_aDM = std::move(value); }
82 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
83 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
95 inline const AndroidPushNotificationTemplate&
GetBaidu()
const{
return m_baidu; }
97 inline void SetBaidu(
const AndroidPushNotificationTemplate& value) { m_baiduHasBeenSet =
true; m_baidu = value; }
98 inline void SetBaidu(AndroidPushNotificationTemplate&& value) { m_baiduHasBeenSet =
true; m_baidu = std::move(value); }
111 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
140 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
153 inline const AndroidPushNotificationTemplate&
GetGCM()
const{
return m_gCM; }
155 inline void SetGCM(
const AndroidPushNotificationTemplate& value) { m_gCMHasBeenSet =
true; m_gCM = value; }
156 inline void SetGCM(AndroidPushNotificationTemplate&& value) { m_gCMHasBeenSet =
true; m_gCM = std::move(value); }
170 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
185 inline void SetRecommenderId(
const char* value) { m_recommenderIdHasBeenSet =
true; m_recommenderId.assign(value); }
220 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
234 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
263 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
270 AndroidPushNotificationTemplate m_aDM;
271 bool m_aDMHasBeenSet =
false;
274 bool m_aPNSHasBeenSet =
false;
277 bool m_arnHasBeenSet =
false;
279 AndroidPushNotificationTemplate m_baidu;
280 bool m_baiduHasBeenSet =
false;
283 bool m_creationDateHasBeenSet =
false;
286 bool m_defaultHasBeenSet =
false;
289 bool m_defaultSubstitutionsHasBeenSet =
false;
291 AndroidPushNotificationTemplate m_gCM;
292 bool m_gCMHasBeenSet =
false;
295 bool m_lastModifiedDateHasBeenSet =
false;
298 bool m_recommenderIdHasBeenSet =
false;
301 bool m_tagsHasBeenSet =
false;
304 bool m_templateDescriptionHasBeenSet =
false;
307 bool m_templateNameHasBeenSet =
false;
310 bool m_templateTypeHasBeenSet =
false;
313 bool m_versionHasBeenSet =
false;
PushNotificationTemplateResponse & WithTemplateDescription(const char *value)
const DefaultPushNotificationTemplate & GetDefault() const
const Aws::String & GetArn() const
PushNotificationTemplateResponse & WithTemplateDescription(Aws::String &&value)
void SetTemplateDescription(const char *value)
PushNotificationTemplateResponse & AddTags(const Aws::String &key, Aws::String &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
bool APNSHasBeenSet() const
PushNotificationTemplateResponse & WithGCM(AndroidPushNotificationTemplate &&value)
PushNotificationTemplateResponse & WithTemplateName(const Aws::String &value)
const Aws::String & GetDefaultSubstitutions() const
void SetBaidu(const AndroidPushNotificationTemplate &value)
void SetTemplateName(const Aws::String &value)
bool LastModifiedDateHasBeenSet() const
bool GCMHasBeenSet() const
PushNotificationTemplateResponse & AddTags(Aws::String &&key, const Aws::String &value)
bool BaiduHasBeenSet() const
bool TemplateTypeHasBeenSet() const
PushNotificationTemplateResponse & WithDefaultSubstitutions(Aws::String &&value)
PushNotificationTemplateResponse & WithADM(const AndroidPushNotificationTemplate &value)
void SetDefaultSubstitutions(const char *value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetVersion() const
bool ADMHasBeenSet() const
PushNotificationTemplateResponse & WithVersion(const char *value)
void SetRecommenderId(const char *value)
PushNotificationTemplateResponse & WithTemplateType(TemplateType &&value)
PushNotificationTemplateResponse & WithTemplateName(Aws::String &&value)
PushNotificationTemplateResponse & WithDefault(const DefaultPushNotificationTemplate &value)
bool RecommenderIdHasBeenSet() const
PushNotificationTemplateResponse & WithCreationDate(Aws::String &&value)
void SetDefault(const DefaultPushNotificationTemplate &value)
void SetLastModifiedDate(Aws::String &&value)
void SetTemplateType(TemplateType &&value)
PushNotificationTemplateResponse & AddTags(const char *key, Aws::String &&value)
void SetTemplateDescription(const Aws::String &value)
PushNotificationTemplateResponse & WithTemplateDescription(const Aws::String &value)
PushNotificationTemplateResponse & WithBaidu(const AndroidPushNotificationTemplate &value)
void SetTemplateName(Aws::String &&value)
void SetAPNS(APNSPushNotificationTemplate &&value)
PushNotificationTemplateResponse & WithVersion(const Aws::String &value)
PushNotificationTemplateResponse & AddTags(Aws::String &&key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
PushNotificationTemplateResponse & WithLastModifiedDate(Aws::String &&value)
PushNotificationTemplateResponse & AddTags(const char *key, const char *value)
PushNotificationTemplateResponse & WithAPNS(APNSPushNotificationTemplate &&value)
void SetLastModifiedDate(const char *value)
PushNotificationTemplateResponse & WithDefaultSubstitutions(const char *value)
void SetGCM(AndroidPushNotificationTemplate &&value)
PushNotificationTemplateResponse & WithLastModifiedDate(const Aws::String &value)
PushNotificationTemplateResponse & WithGCM(const AndroidPushNotificationTemplate &value)
const Aws::String & GetLastModifiedDate() const
void SetLastModifiedDate(const Aws::String &value)
void SetDefault(DefaultPushNotificationTemplate &&value)
PushNotificationTemplateResponse & WithDefault(DefaultPushNotificationTemplate &&value)
void SetArn(Aws::String &&value)
PushNotificationTemplateResponse & WithRecommenderId(Aws::String &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse()
PushNotificationTemplateResponse & WithDefaultSubstitutions(const Aws::String &value)
void SetGCM(const AndroidPushNotificationTemplate &value)
PushNotificationTemplateResponse & AddTags(Aws::String &&key, const char *value)
const APNSPushNotificationTemplate & GetAPNS() const
bool TemplateNameHasBeenSet() const
void SetAPNS(const APNSPushNotificationTemplate &value)
void SetRecommenderId(Aws::String &&value)
void SetADM(AndroidPushNotificationTemplate &&value)
void SetDefaultSubstitutions(const Aws::String &value)
PushNotificationTemplateResponse & WithArn(Aws::String &&value)
AWS_PINPOINT_API PushNotificationTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTemplateDescription() const
bool TemplateDescriptionHasBeenSet() const
PushNotificationTemplateResponse & WithArn(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
bool CreationDateHasBeenSet() const
PushNotificationTemplateResponse & AddTags(const Aws::String &key, const Aws::String &value)
const Aws::String & GetCreationDate() const
bool DefaultSubstitutionsHasBeenSet() const
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetADM(const AndroidPushNotificationTemplate &value)
const Aws::String & GetRecommenderId() const
PushNotificationTemplateResponse & WithADM(AndroidPushNotificationTemplate &&value)
void SetArn(const Aws::String &value)
void SetDefaultSubstitutions(Aws::String &&value)
PushNotificationTemplateResponse & WithVersion(Aws::String &&value)
void SetVersion(const char *value)
bool ArnHasBeenSet() const
PushNotificationTemplateResponse & WithRecommenderId(const Aws::String &value)
bool VersionHasBeenSet() const
PushNotificationTemplateResponse & WithCreationDate(const char *value)
void SetTemplateType(const TemplateType &value)
PushNotificationTemplateResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
PushNotificationTemplateResponse & WithLastModifiedDate(const char *value)
const AndroidPushNotificationTemplate & GetADM() const
void SetTemplateDescription(Aws::String &&value)
void SetArn(const char *value)
PushNotificationTemplateResponse & WithCreationDate(const Aws::String &value)
void SetCreationDate(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
const AndroidPushNotificationTemplate & GetBaidu() const
const TemplateType & GetTemplateType() const
PushNotificationTemplateResponse & WithRecommenderId(const char *value)
void SetCreationDate(Aws::String &&value)
PushNotificationTemplateResponse & WithBaidu(AndroidPushNotificationTemplate &&value)
void SetRecommenderId(const Aws::String &value)
void SetBaidu(AndroidPushNotificationTemplate &&value)
bool TagsHasBeenSet() const
const Aws::String & GetTemplateName() const
PushNotificationTemplateResponse & WithTemplateName(const char *value)
void SetTemplateName(const char *value)
void SetVersion(Aws::String &&value)
const AndroidPushNotificationTemplate & GetGCM() const
PushNotificationTemplateResponse & WithTemplateType(const TemplateType &value)
void SetVersion(const Aws::String &value)
PushNotificationTemplateResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
PushNotificationTemplateResponse & WithAPNS(const APNSPushNotificationTemplate &value)
bool DefaultHasBeenSet() const
PushNotificationTemplateResponse & WithArn(const char *value)
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