7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/sns/SNSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSMap.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sns/model/Tag.h>
55 template<
typename NameT = Aws::String>
56 void SetName(NameT&& value) { m_nameHasBeenSet =
true; m_name = std::forward<NameT>(value); }
57 template<
typename NameT = Aws::String>
123 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
124 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
125 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
127 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
129 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
141 template<
typename TagsT = Aws::Vector<Tag>>
142 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
143 template<
typename TagsT = Aws::Vector<Tag>>
145 template<
typename TagsT = Tag>
157 template<
typename DataProtectionPolicyT = Aws::String>
158 void SetDataProtectionPolicy(DataProtectionPolicyT&& value) { m_dataProtectionPolicyHasBeenSet =
true; m_dataProtectionPolicy = std::forward<DataProtectionPolicyT>(value); }
159 template<
typename DataProtectionPolicyT = Aws::String>
165 bool m_nameHasBeenSet =
false;
168 bool m_attributesHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 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