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>
49 template<
typename TopicArnT = Aws::String>
50 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
51 template<
typename TopicArnT = Aws::String>
72 template<
typename ProtocolT = Aws::String>
73 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet =
true; m_protocol = std::forward<ProtocolT>(value); }
74 template<
typename ProtocolT = Aws::String>
98 template<
typename Endpo
intT = Aws::String>
99 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
100 template<
typename Endpo
intT = Aws::String>
153 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
154 void SetAttributes(AttributesT&& value) { m_attributesHasBeenSet =
true; m_attributes = std::forward<AttributesT>(value); }
155 template<
typename AttributesT = Aws::Map<Aws::String, Aws::String>>
157 template<
typename AttributesKeyT = Aws::String,
typename AttributesValueT = Aws::String>
159 m_attributesHasBeenSet =
true; m_attributes.emplace(std::forward<AttributesKeyT>(key), std::forward<AttributesValueT>(value));
return *
this;
183 bool m_topicArnHasBeenSet =
false;
186 bool m_protocolHasBeenSet =
false;
189 bool m_endpointHasBeenSet =
false;
192 bool m_attributesHasBeenSet =
false;
194 bool m_returnSubscriptionArn{
false};
195 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