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>
51 inline void SetTopicArn(
const char* value) { m_topicArnHasBeenSet =
true; m_topicArn.assign(value); }
76 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
104 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
169 inline SubscribeRequest&
AddAttributes(
const char* key,
const char* value) { m_attributesHasBeenSet =
true; m_attributes.emplace(key, value);
return *
this; }
192 bool m_topicArnHasBeenSet =
false;
195 bool m_protocolHasBeenSet =
false;
198 bool m_endpointHasBeenSet =
false;
201 bool m_attributesHasBeenSet =
false;
203 bool m_returnSubscriptionArn;
204 bool m_returnSubscriptionArnHasBeenSet =
false;
void SetEndpoint(const Aws::String &value)
bool ReturnSubscriptionArnHasBeenSet() const
void SetReturnSubscriptionArn(bool value)
void SetAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SubscribeRequest & WithEndpoint(const char *value)
bool ProtocolHasBeenSet() const
void SetProtocol(const char *value)
void SetTopicArn(Aws::String &&value)
const Aws::String & GetProtocol() const
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
SubscribeRequest & WithAttributes(Aws::Map< Aws::String, Aws::String > &&value)
SubscribeRequest & WithReturnSubscriptionArn(bool value)
void SetProtocol(Aws::String &&value)
SubscribeRequest & AddAttributes(Aws::String &&key, Aws::String &&value)
void SetProtocol(const Aws::String &value)
SubscribeRequest & WithProtocol(Aws::String &&value)
SubscribeRequest & AddAttributes(Aws::String &&key, const Aws::String &value)
void SetEndpoint(Aws::String &&value)
void SetTopicArn(const char *value)
virtual const char * GetServiceRequestName() const override
SubscribeRequest & WithAttributes(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SNS_API SubscribeRequest()
SubscribeRequest & AddAttributes(const char *key, Aws::String &&value)
SubscribeRequest & AddAttributes(const char *key, const char *value)
SubscribeRequest & WithTopicArn(Aws::String &&value)
void SetEndpoint(const char *value)
bool EndpointHasBeenSet() const
SubscribeRequest & WithProtocol(const char *value)
bool AttributesHasBeenSet() const
SubscribeRequest & AddAttributes(const Aws::String &key, const Aws::String &value)
bool TopicArnHasBeenSet() const
bool GetReturnSubscriptionArn() const
void SetTopicArn(const Aws::String &value)
SubscribeRequest & WithTopicArn(const char *value)
SubscribeRequest & WithEndpoint(Aws::String &&value)
SubscribeRequest & AddAttributes(Aws::String &&key, const char *value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetEndpoint() const
const Aws::String & GetTopicArn() const
SubscribeRequest & WithProtocol(const Aws::String &value)
SubscribeRequest & WithEndpoint(const Aws::String &value)
AWS_SNS_API Aws::String SerializePayload() const override
SubscribeRequest & WithTopicArn(const Aws::String &value)
SubscribeRequest & AddAttributes(const Aws::String &key, Aws::String &&value)
void SetAttributes(const Aws::Map< Aws::String, 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