7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/SNSRequest.h>
10#include <aws/sns/SNS_EXPORTS.h>
45 template <
typename TopicArnT = Aws::String>
47 m_topicArnHasBeenSet =
true;
48 m_topicArn = std::forward<TopicArnT>(value);
50 template <
typename TopicArnT = Aws::String>
74 template <
typename ProtocolT = Aws::String>
76 m_protocolHasBeenSet =
true;
77 m_protocol = std::forward<ProtocolT>(value);
79 template <
typename ProtocolT = Aws::String>
106 template <
typename Endpo
intT = Aws::String>
108 m_endpointHasBeenSet =
true;
109 m_endpoint = std::forward<EndpointT>(value);
111 template <
typename Endpo
intT = Aws::String>
167 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
169 m_attributesHasBeenSet =
true;
170 m_attributes = std::forward<AttributesT>(value);
172 template <
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
177 template <
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
179 m_attributesHasBeenSet =
true;
180 m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
200 m_returnSubscriptionArnHasBeenSet =
true;
201 m_returnSubscriptionArn = value;
217 bool m_returnSubscriptionArn{
false};
218 bool m_topicArnHasBeenSet =
false;
219 bool m_protocolHasBeenSet =
false;
220 bool m_endpointHasBeenSet =
false;
221 bool m_attributesHasBeenSet =
false;
222 bool m_returnSubscriptionArnHasBeenSet =
false;
bool ReturnSubscriptionArnHasBeenSet() const
void SetReturnSubscriptionArn(bool value)
bool ProtocolHasBeenSet() const
const Aws::String & GetProtocol() const
void SetEndpoint(EndpointT &&value)
SubscribeRequest & WithAttributes(AttributesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetAttributes() const
SubscribeRequest & WithReturnSubscriptionArn(bool value)
void SetProtocol(ProtocolT &&value)
virtual const char * GetServiceRequestName() const override
void SetAttributes(AttributesT &&value)
bool EndpointHasBeenSet() const
SubscribeRequest & WithEndpoint(EndpointT &&value)
AWS_SNS_API SubscribeRequest()=default
SubscribeRequest & WithTopicArn(TopicArnT &&value)
bool AttributesHasBeenSet() const
SubscribeRequest & AddAttributes(AttributesKeyT &&key, AttributesValueT &&value)
bool TopicArnHasBeenSet() const
bool GetReturnSubscriptionArn() const
SubscribeRequest & WithProtocol(ProtocolT &&value)
void SetTopicArn(TopicArnT &&value)
AWS_SNS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetEndpoint() const
const Aws::String & GetTopicArn() const
AWS_SNS_API Aws::String SerializePayload() const override
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