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>
54 inline void SetArn(
Aws::String&& value) { m_arnHasBeenSet =
true; m_arn = std::move(value); }
55 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
69 inline void SetCreationDate(
const char* value) { m_creationDateHasBeenSet =
true; m_creationDate.assign(value); }
88 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
103 inline void SetLastModifiedDate(
const char* value) { m_lastModifiedDateHasBeenSet =
true; m_lastModifiedDate.assign(value); }
129 inline TemplateResponse&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
144 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
158 inline void SetTemplateName(
const char* value) { m_templateNameHasBeenSet =
true; m_templateName.assign(value); }
186 inline void SetVersion(
const char* value) { m_versionHasBeenSet =
true; m_version.assign(value); }
194 bool m_arnHasBeenSet =
false;
197 bool m_creationDateHasBeenSet =
false;
200 bool m_defaultSubstitutionsHasBeenSet =
false;
203 bool m_lastModifiedDateHasBeenSet =
false;
206 bool m_tagsHasBeenSet =
false;
209 bool m_templateDescriptionHasBeenSet =
false;
212 bool m_templateNameHasBeenSet =
false;
215 bool m_templateTypeHasBeenSet =
false;
218 bool m_versionHasBeenSet =
false;
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVersion(const Aws::String &value)
TemplateResponse & AddTags(const Aws::String &key, Aws::String &&value)
void SetArn(Aws::String &&value)
TemplateResponse & AddTags(Aws::String &&key, const Aws::String &value)
TemplateResponse & WithLastModifiedDate(const char *value)
const Aws::String & GetVersion() const
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
TemplateResponse & WithVersion(const char *value)
void SetDefaultSubstitutions(const char *value)
const Aws::String & GetLastModifiedDate() const
TemplateResponse & WithArn(const char *value)
bool TagsHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetTags() const
TemplateResponse & WithCreationDate(const Aws::String &value)
TemplateResponse & WithLastModifiedDate(Aws::String &&value)
const TemplateType & GetTemplateType() const
TemplateResponse & AddTags(const Aws::String &key, const Aws::String &value)
void SetArn(const Aws::String &value)
void SetTemplateDescription(const Aws::String &value)
void SetTemplateDescription(Aws::String &&value)
void SetVersion(const char *value)
void SetLastModifiedDate(Aws::String &&value)
void SetTemplateName(const Aws::String &value)
void SetCreationDate(const Aws::String &value)
TemplateResponse & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
TemplateResponse & WithTemplateName(const char *value)
bool TemplateDescriptionHasBeenSet() const
TemplateResponse & WithTemplateDescription(const Aws::String &value)
void SetCreationDate(Aws::String &&value)
TemplateResponse & AddTags(const char *key, const char *value)
void SetVersion(Aws::String &&value)
TemplateResponse & WithTemplateType(const TemplateType &value)
TemplateResponse & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
void SetTemplateType(TemplateType &&value)
void SetTemplateType(const TemplateType &value)
TemplateResponse & WithDefaultSubstitutions(Aws::String &&value)
TemplateResponse & WithLastModifiedDate(const Aws::String &value)
TemplateResponse & AddTags(Aws::String &&key, const char *value)
TemplateResponse & WithArn(const Aws::String &value)
bool DefaultSubstitutionsHasBeenSet() const
TemplateResponse & WithTemplateName(const Aws::String &value)
TemplateResponse & WithTemplateType(TemplateType &&value)
const Aws::String & GetArn() const
TemplateResponse & WithDefaultSubstitutions(const char *value)
void SetArn(const char *value)
AWS_PINPOINT_API TemplateResponse(Aws::Utils::Json::JsonView jsonValue)
TemplateResponse & WithTemplateDescription(Aws::String &&value)
bool TemplateTypeHasBeenSet() const
TemplateResponse & WithVersion(Aws::String &&value)
TemplateResponse & WithCreationDate(const char *value)
TemplateResponse & WithTemplateName(Aws::String &&value)
bool LastModifiedDateHasBeenSet() const
TemplateResponse & WithTemplateDescription(const char *value)
AWS_PINPOINT_API TemplateResponse()
void SetLastModifiedDate(const Aws::String &value)
void SetTemplateDescription(const char *value)
void SetLastModifiedDate(const char *value)
bool VersionHasBeenSet() const
void SetCreationDate(const char *value)
TemplateResponse & WithArn(Aws::String &&value)
bool CreationDateHasBeenSet() const
bool TemplateNameHasBeenSet() const
TemplateResponse & AddTags(Aws::String &&key, Aws::String &&value)
bool ArnHasBeenSet() const
TemplateResponse & WithDefaultSubstitutions(const Aws::String &value)
AWS_PINPOINT_API TemplateResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
TemplateResponse & WithCreationDate(Aws::String &&value)
void SetTemplateName(Aws::String &&value)
TemplateResponse & AddTags(const char *key, Aws::String &&value)
void SetDefaultSubstitutions(Aws::String &&value)
const Aws::String & GetTemplateDescription() const
const Aws::String & GetCreationDate() const
void SetDefaultSubstitutions(const Aws::String &value)
void SetTemplateName(const char *value)
const Aws::String & GetTemplateName() const
TemplateResponse & WithVersion(const Aws::String &value)
const Aws::String & GetDefaultSubstitutions() 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