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>
52 inline void SetBody(
const char* value) { m_bodyHasBeenSet =
true; m_body.assign(value); }
71 inline void SetDefaultSubstitutions(
const char* value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions.assign(value); }
89 inline void SetRecommenderId(
const char* value) { m_recommenderIdHasBeenSet =
true; m_recommenderId.assign(value); }
121 inline SMSTemplateRequest&
AddTags(
const char* key,
const char* value) { m_tagsHasBeenSet =
true; m_tags.emplace(key, value);
return *
this; }
132 inline void SetTemplateDescription(
const char* value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription.assign(value); }
140 bool m_bodyHasBeenSet =
false;
143 bool m_defaultSubstitutionsHasBeenSet =
false;
146 bool m_recommenderIdHasBeenSet =
false;
149 bool m_tagsHasBeenSet =
false;
152 bool m_templateDescriptionHasBeenSet =
false;
SMSTemplateRequest & AddTags(const char *key, Aws::String &&value)
void SetDefaultSubstitutions(Aws::String &&value)
SMSTemplateRequest & AddTags(const Aws::String &key, Aws::String &&value)
void SetRecommenderId(Aws::String &&value)
SMSTemplateRequest & WithBody(const Aws::String &value)
SMSTemplateRequest & WithRecommenderId(const Aws::String &value)
SMSTemplateRequest & WithRecommenderId(const char *value)
bool BodyHasBeenSet() const
SMSTemplateRequest & WithRecommenderId(Aws::String &&value)
bool DefaultSubstitutionsHasBeenSet() const
SMSTemplateRequest & AddTags(Aws::String &&key, Aws::String &&value)
SMSTemplateRequest & WithTemplateDescription(Aws::String &&value)
void SetTemplateDescription(const Aws::String &value)
void SetBody(const Aws::String &value)
bool RecommenderIdHasBeenSet() const
SMSTemplateRequest & AddTags(Aws::String &&key, const char *value)
void SetRecommenderId(const Aws::String &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateDescription() const
SMSTemplateRequest & WithDefaultSubstitutions(const Aws::String &value)
const Aws::String & GetDefaultSubstitutions() const
void SetBody(Aws::String &&value)
SMSTemplateRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetBody() const
void SetBody(const char *value)
bool TagsHasBeenSet() const
SMSTemplateRequest & WithTemplateDescription(const Aws::String &value)
SMSTemplateRequest & AddTags(const char *key, const char *value)
SMSTemplateRequest & WithTemplateDescription(const char *value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
AWS_PINPOINT_API SMSTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
void SetDefaultSubstitutions(const Aws::String &value)
void SetTemplateDescription(Aws::String &&value)
SMSTemplateRequest & WithBody(const char *value)
AWS_PINPOINT_API SMSTemplateRequest()
SMSTemplateRequest & AddTags(Aws::String &&key, const Aws::String &value)
AWS_PINPOINT_API SMSTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
SMSTemplateRequest & WithDefaultSubstitutions(Aws::String &&value)
void SetRecommenderId(const char *value)
const Aws::String & GetRecommenderId() const
SMSTemplateRequest & WithBody(Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
SMSTemplateRequest & WithDefaultSubstitutions(const char *value)
SMSTemplateRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
bool TemplateDescriptionHasBeenSet() const
void SetDefaultSubstitutions(const char *value)
SMSTemplateRequest & AddTags(const Aws::String &key, const Aws::String &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