7#include <aws/pinpoint/Pinpoint_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/pinpoint/model/TemplateType.h>
51 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
52 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
67 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
81 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
98 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
113 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
128 inline void SetRecommenderId(
const char* value) { m_recommenderIdHasBeenSet =
true; m_recommenderId.assign(value); }
152 inline SMSTemplateResponse&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
163 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
177 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
206 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
214 bool m_arnHasBeenSet =
false;
217 bool m_bodyHasBeenSet =
false;
220 bool m_creationDateHasBeenSet =
false;
223 bool m_defaultSubstitutionsHasBeenSet =
false;
226 bool m_lastModifiedDateHasBeenSet =
false;
229 bool m_recommenderIdHasBeenSet =
false;
232 bool m_tagsHasBeenSet =
false;
235 bool m_templateDescriptionHasBeenSet =
false;
238 bool m_templateNameHasBeenSet =
false;
241 bool m_templateTypeHasBeenSet =
false;
244 bool m_versionHasBeenSet =
false;
void SetTemplateName(Aws::String &&value)
SMSTemplateResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
SMSTemplateResponse & WithCreationDate(Aws::String &&value)
SMSTemplateResponse & AddTags(Aws::String &&key, const char *value)
void SetVersion(const Aws::String &value)
bool TemplateTypeHasBeenSet() const
SMSTemplateResponse & WithTemplateType(TemplateType &&value)
void SetLastModifiedDate(const Aws::String &value)
void SetCreationDate(const char *value)
void SetTemplateDescription(Aws::String &&value)
void SetArn(const Aws::String &value)
SMSTemplateResponse & WithArn(const Aws::String &value)
SMSTemplateResponse & WithDefaultSubstitutions(const Aws::String &value)
SMSTemplateResponse & WithVersion(const char *value)
SMSTemplateResponse & WithTemplateDescription(const Aws::String &value)
const Aws::String & GetArn() const
bool TagsHasBeenSet() const
SMSTemplateResponse & WithDefaultSubstitutions(const char *value)
SMSTemplateResponse & AddTags(const char *key, const char *value)
void SetArn(Aws::String &&value)
void SetBody(Aws::String &&value)
SMSTemplateResponse & WithRecommenderId(const Aws::String &value)
SMSTemplateResponse & WithRecommenderId(const char *value)
SMSTemplateResponse & WithLastModifiedDate(Aws::String &&value)
SMSTemplateResponse & WithArn(const char *value)
void SetVersion(Aws::String &&value)
AWS_PINPOINT_API SMSTemplateResponse()
bool RecommenderIdHasBeenSet() const
SMSTemplateResponse & WithBody(const char *value)
const Aws::String & GetBody() const
const TemplateType & GetTemplateType() const
SMSTemplateResponse & WithBody(Aws::String &&value)
bool DefaultSubstitutionsHasBeenSet() const
bool TemplateDescriptionHasBeenSet() const
void SetLastModifiedDate(const char *value)
SMSTemplateResponse & WithTemplateDescription(const char *value)
SMSTemplateResponse & WithLastModifiedDate(const Aws::String &value)
void SetTemplateType(const TemplateType &value)
bool ArnHasBeenSet() const
SMSTemplateResponse & WithArn(Aws::String &&value)
SMSTemplateResponse & WithCreationDate(const char *value)
void SetDefaultSubstitutions(const Aws::String &value)
bool TemplateNameHasBeenSet() const
SMSTemplateResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
SMSTemplateResponse & WithCreationDate(const Aws::String &value)
SMSTemplateResponse & WithTemplateName(const char *value)
SMSTemplateResponse & AddTags(const char *key, Aws::String &&value)
const Aws::String & GetVersion() const
SMSTemplateResponse & WithTemplateDescription(Aws::String &&value)
SMSTemplateResponse & WithBody(const Aws::String &value)
void SetLastModifiedDate(Aws::String &&value)
void SetRecommenderId(const Aws::String &value)
void SetBody(const Aws::String &value)
const Aws::String & GetCreationDate() const
void SetRecommenderId(Aws::String &&value)
SMSTemplateResponse & WithVersion(Aws::String &&value)
bool BodyHasBeenSet() const
AWS_PINPOINT_API SMSTemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecommenderId(const char *value)
SMSTemplateResponse & WithRecommenderId(Aws::String &&value)
void SetTemplateName(const char *value)
const Aws::String & GetLastModifiedDate() const
SMSTemplateResponse & WithVersion(const Aws::String &value)
SMSTemplateResponse & AddTags(const Aws::String &key, Aws::String &&value)
const Aws::String & GetRecommenderId() const
SMSTemplateResponse & AddTags(Aws::String &&key, Aws::String &&value)
void SetTemplateName(const Aws::String &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateDescription() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SMSTemplateResponse & WithDefaultSubstitutions(Aws::String &&value)
void SetDefaultSubstitutions(const char *value)
const Aws::String & GetDefaultSubstitutions() const
void SetCreationDate(Aws::String &&value)
void SetTemplateDescription(const Aws::String &value)
SMSTemplateResponse & WithTemplateName(const Aws::String &value)
bool VersionHasBeenSet() const
SMSTemplateResponse & WithTemplateType(const TemplateType &value)
SMSTemplateResponse & WithTemplateName(Aws::String &&value)
void SetDefaultSubstitutions(Aws::String &&value)
bool LastModifiedDateHasBeenSet() const
void SetCreationDate(const Aws::String &value)
void SetArn(const char *value)
const Aws::String & GetTemplateName() const
void SetBody(const char *value)
SMSTemplateResponse & WithLastModifiedDate(const char *value)
AWS_PINPOINT_API SMSTemplateResponse(Aws::Utils::Json::JsonView jsonValue)
SMSTemplateResponse & AddTags(Aws::String &&key, const Aws::String &value)
SMSTemplateResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetVersion(const char *value)
bool CreationDateHasBeenSet() const
void SetTemplateType(TemplateType &&value)
void SetTemplateDescription(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