7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/pinpoint/Pinpoint_EXPORTS.h>
44 template <
typename BodyT = Aws::String>
46 m_bodyHasBeenSet =
true;
47 m_body = std::forward<BodyT>(value);
49 template <
typename BodyT = Aws::String>
51 SetBody(std::forward<BodyT>(value));
67 template <
typename DefaultSubstitutionsT = Aws::String>
69 m_defaultSubstitutionsHasBeenSet =
true;
70 m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value);
72 template <
typename DefaultSubstitutionsT = Aws::String>
89 template <
typename RecommenderIdT = Aws::String>
91 m_recommenderIdHasBeenSet =
true;
92 m_recommenderId = std::forward<RecommenderIdT>(value);
94 template <
typename RecommenderIdT = Aws::String>
117 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
119 m_tagsHasBeenSet =
true;
120 m_tags = std::forward<TagsT>(value);
122 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
124 SetTags(std::forward<TagsT>(value));
127 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
129 m_tagsHasBeenSet =
true;
130 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
141 template <
typename TemplateDescriptionT = Aws::String>
143 m_templateDescriptionHasBeenSet =
true;
144 m_templateDescription = std::forward<TemplateDescriptionT>(value);
146 template <
typename TemplateDescriptionT = Aws::String>
154 bool m_bodyHasBeenSet =
false;
157 bool m_defaultSubstitutionsHasBeenSet =
false;
160 bool m_recommenderIdHasBeenSet =
false;
163 bool m_tagsHasBeenSet =
false;
166 bool m_templateDescriptionHasBeenSet =
false;
void SetBody(BodyT &&value)
void SetTags(TagsT &&value)
SMSTemplateRequest & WithTemplateDescription(TemplateDescriptionT &&value)
SMSTemplateRequest & WithDefaultSubstitutions(DefaultSubstitutionsT &&value)
void SetDefaultSubstitutions(DefaultSubstitutionsT &&value)
void SetRecommenderId(RecommenderIdT &&value)
bool BodyHasBeenSet() const
SMSTemplateRequest & WithRecommenderId(RecommenderIdT &&value)
bool DefaultSubstitutionsHasBeenSet() const
bool RecommenderIdHasBeenSet() const
AWS_PINPOINT_API SMSTemplateRequest()=default
SMSTemplateRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
AWS_PINPOINT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetTemplateDescription() const
const Aws::String & GetDefaultSubstitutions() const
const Aws::String & GetBody() const
bool TagsHasBeenSet() const
SMSTemplateRequest & WithTags(TagsT &&value)
AWS_PINPOINT_API SMSTemplateRequest(Aws::Utils::Json::JsonView jsonValue)
AWS_PINPOINT_API SMSTemplateRequest & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRecommenderId() const
SMSTemplateRequest & WithBody(BodyT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
bool TemplateDescriptionHasBeenSet() const
void SetTemplateDescription(TemplateDescriptionT &&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