7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sns/SNSRequest.h>
11#include <aws/sns/SNS_EXPORTS.h>
12#include <aws/sns/model/Tag.h>
51 template <
typename NameT = Aws::String>
53 m_nameHasBeenSet =
true;
54 m_name = std::forward<NameT>(value);
56 template <
typename NameT = Aws::String>
58 SetName(std::forward<NameT>(value));
175 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
177 m_attributesHasBeenSet =
true;
178 m_attributes = std::forward<AttributesT>(value);
180 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
185 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
187 m_attributesHasBeenSet =
true;
188 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
201 template <
typename TagsT = Aws::Vector<Tag>>
203 m_tagsHasBeenSet =
true;
204 m_tags = std::forward<TagsT>(value);
206 template <
typename TagsT = Aws::Vector<Tag>>
208 SetTags(std::forward<TagsT>(value));
211 template <
typename TagsT = Tag>
213 m_tagsHasBeenSet =
true;
214 m_tags.emplace_back(std::forward<TagsT>(value));
227 template <
typename DataProtectionPolicyT = Aws::String>
229 m_dataProtectionPolicyHasBeenSet =
true;
230 m_dataProtectionPolicy = std::forward<DataProtectionPolicyT>(value);
232 template <
typename DataProtectionPolicyT = Aws::String>
246 bool m_nameHasBeenSet =
false;
247 bool m_attributesHasBeenSet =
false;
248 bool m_tagsHasBeenSet =
false;
249 bool m_dataProtectionPolicyHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
const Aws::String & GetName() const
bool DataProtectionPolicyHasBeenSet() const
CreateTopicRequest & WithName(NameT &&value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetTags(TagsT &&value)
CreateTopicRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetAttributes(AttributesT &&value)
bool TagsHasBeenSet() const
const Aws::String & GetDataProtectionPolicy() const
CreateTopicRequest & WithTags(TagsT &&value)
void SetName(NameT &&value)
bool AttributesHasBeenSet() const
CreateTopicRequest & AddTags(TagsT &&value)
virtual const char * GetServiceRequestName() const override
CreateTopicRequest & WithDataProtectionPolicy(DataProtectionPolicyT &&value)
void SetDataProtectionPolicy(DataProtectionPolicyT &&value)
CreateTopicRequest & WithAttributes(AttributesT &&value)
AWS_SNS_API Aws::String SerializePayload() const override
AWS_SNS_API CreateTopicRequest()=default
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
std::vector< T, Aws::Allocator< T > > Vector