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>
50 template<
typename BodyT = Aws::String>
51 void SetBody(BodyT&& value) { m_bodyHasBeenSet =
true; m_body = std::forward<BodyT>(value); }
52 template<
typename BodyT = Aws::String>
67 template<
typename DefaultSubstitutionsT = Aws::String>
68 void SetDefaultSubstitutions(DefaultSubstitutionsT&& value) { m_defaultSubstitutionsHasBeenSet =
true; m_defaultSubstitutions = std::forward<DefaultSubstitutionsT>(value); }
69 template<
typename DefaultSubstitutionsT = Aws::String>
83 template<
typename RecommenderIdT = Aws::String>
84 void SetRecommenderId(RecommenderIdT&& value) { m_recommenderIdHasBeenSet =
true; m_recommenderId = std::forward<RecommenderIdT>(value); }
85 template<
typename RecommenderIdT = Aws::String>
105 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
106 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
107 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
109 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
111 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
121 template<
typename TemplateDescriptionT = Aws::String>
122 void SetTemplateDescription(TemplateDescriptionT&& value) { m_templateDescriptionHasBeenSet =
true; m_templateDescription = std::forward<TemplateDescriptionT>(value); }
123 template<
typename TemplateDescriptionT = Aws::String>
129 bool m_bodyHasBeenSet =
false;
132 bool m_defaultSubstitutionsHasBeenSet =
false;
135 bool m_recommenderIdHasBeenSet =
false;
138 bool m_tagsHasBeenSet =
false;
141 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