7#include <aws/sns/SNS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
49 template<
typename SubscriptionArnT = Aws::String>
50 void SetSubscriptionArn(SubscriptionArnT&& value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn = std::forward<SubscriptionArnT>(value); }
51 template<
typename SubscriptionArnT = Aws::String>
61 template<
typename OwnerT = Aws::String>
62 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
63 template<
typename OwnerT = Aws::String>
73 template<
typename ProtocolT = Aws::String>
74 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet =
true; m_protocol = std::forward<ProtocolT>(value); }
75 template<
typename ProtocolT = Aws::String>
85 template<
typename Endpo
intT = Aws::String>
86 void SetEndpoint(EndpointT&& value) { m_endpointHasBeenSet =
true; m_endpoint = std::forward<EndpointT>(value); }
87 template<
typename Endpo
intT = Aws::String>
97 template<
typename TopicArnT = Aws::String>
98 void SetTopicArn(TopicArnT&& value) { m_topicArnHasBeenSet =
true; m_topicArn = std::forward<TopicArnT>(value); }
99 template<
typename TopicArnT = Aws::String>
105 bool m_subscriptionArnHasBeenSet =
false;
108 bool m_ownerHasBeenSet =
false;
111 bool m_protocolHasBeenSet =
false;
114 bool m_endpointHasBeenSet =
false;
117 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