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>
57 inline void SetName(
const char* value) { m_nameHasBeenSet =
true; m_name.assign(value); }
156 inline void SetDataProtectionPolicy(
const char* value) { m_dataProtectionPolicyHasBeenSet =
true; m_dataProtectionPolicy.assign(value); }
164 bool m_nameHasBeenSet =
false;
167 bool m_attributesHasBeenSet =
false;
170 bool m_tagsHasBeenSet =
false;
173 bool m_dataProtectionPolicyHasBeenSet =
false;
bool NameHasBeenSet() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
CreateTopicRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
const Aws::String & GetName() const
CreateTopicRequest & AddAttributes(Aws::String &&key, const char *value)
bool DataProtectionPolicyHasBeenSet() const
CreateTopicRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
CreateTopicRequest & AddTags(const Tag &value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetDataProtectionPolicy(Aws::String &&value)
CreateTopicRequest & AddAttributes(const char *key, const char *value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
CreateTopicRequest & WithTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Tag > & GetTags() const
void SetName(const Aws::String &value)
void SetName(Aws::String &&value)
bool TagsHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetDataProtectionPolicy(const char *value)
CreateTopicRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
void SetDataProtectionPolicy(const Aws::String &value)
CreateTopicRequest & WithDataProtectionPolicy(Aws::String &&value)
CreateTopicRequest & AddTags(Tag &&value)
void SetName(const char *value)
CreateTopicRequest & AddAttributes(const char *key, Aws::String &&value)
const Aws::String & GetDataProtectionPolicy() const
CreateTopicRequest & WithName(Aws::String &&value)
CreateTopicRequest & WithTags(Aws::Vector< Tag > &&value)
AWS_SNS_API CreateTopicRequest()
CreateTopicRequest & WithDataProtectionPolicy(const char *value)
bool AttributesHasBeenSet() const
CreateTopicRequest & WithName(const char *value)
void SetAttributes(const Aws::Map< Aws::String, Aws::String > &value)
CreateTopicRequest & WithDataProtectionPolicy(const Aws::String &value)
CreateTopicRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
virtual const char * GetServiceRequestName() const override
void SetTags(const Aws::Vector< Tag > &value)
CreateTopicRequest & WithName(const Aws::String &value)
CreateTopicRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
AWS_SNS_API Aws::String SerializePayload() const override
CreateTopicRequest & AddAttributes(const Aws::String &key, const Aws::String &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
std::vector< T, Aws::Allocator< T > > Vector