7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sns/SNS_EXPORTS.h>
43 template <
typename SubscriptionArnT = Aws::String>
45 m_subscriptionArnHasBeenSet =
true;
46 m_subscriptionArn = std::forward<SubscriptionArnT>(value);
48 template <
typename SubscriptionArnT = Aws::String>
61 template <
typename OwnerT = Aws::String>
63 m_ownerHasBeenSet =
true;
64 m_owner = std::forward<OwnerT>(value);
66 template <
typename OwnerT = Aws::String>
68 SetOwner(std::forward<OwnerT>(value));
79 template <
typename ProtocolT = Aws::String>
81 m_protocolHasBeenSet =
true;
82 m_protocol = std::forward<ProtocolT>(value);
84 template <
typename ProtocolT = Aws::String>
97 template <
typename Endpo
intT = Aws::String>
99 m_endpointHasBeenSet =
true;
100 m_endpoint = std::forward<EndpointT>(value);
102 template <
typename Endpo
intT = Aws::String>
115 template <
typename TopicArnT = Aws::String>
117 m_topicArnHasBeenSet =
true;
118 m_topicArn = std::forward<TopicArnT>(value);
120 template <
typename TopicArnT = Aws::String>
136 bool m_subscriptionArnHasBeenSet =
false;
137 bool m_ownerHasBeenSet =
false;
138 bool m_protocolHasBeenSet =
false;
139 bool m_endpointHasBeenSet =
false;
140 bool m_topicArnHasBeenSet =
false;
Subscription & WithSubscriptionArn(SubscriptionArnT &&value)
const Aws::String & GetOwner() const
AWS_SNS_API Subscription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSubscriptionArn(SubscriptionArnT &&value)
void SetEndpoint(EndpointT &&value)
Subscription & WithOwner(OwnerT &&value)
Subscription & WithProtocol(ProtocolT &&value)
bool ProtocolHasBeenSet() const
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetOwner(OwnerT &&value)
const Aws::String & GetTopicArn() const
const Aws::String & GetSubscriptionArn() const
bool TopicArnHasBeenSet() const
bool OwnerHasBeenSet() const
Subscription & WithEndpoint(EndpointT &&value)
AWS_SNS_API Subscription()=default
const Aws::String & GetEndpoint() const
const Aws::String & GetProtocol() const
bool SubscriptionArnHasBeenSet() const
void SetProtocol(ProtocolT &&value)
AWS_SNS_API Subscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetTopicArn(TopicArnT &&value)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Subscription & WithTopicArn(TopicArnT &&value)
bool EndpointHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream