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>
51 inline void SetSubscriptionArn(
const char* value) { m_subscriptionArnHasBeenSet =
true; m_subscriptionArn.assign(value); }
65 inline void SetOwner(
const char* value) { m_ownerHasBeenSet =
true; m_owner.assign(value); }
79 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
93 inline void SetEndpoint(
const char* value) { m_endpointHasBeenSet =
true; m_endpoint.assign(value); }
107 inline void SetTopicArn(
const char* value) { m_topicArnHasBeenSet =
true; m_topicArn.assign(value); }
115 bool m_subscriptionArnHasBeenSet =
false;
118 bool m_ownerHasBeenSet =
false;
121 bool m_protocolHasBeenSet =
false;
124 bool m_endpointHasBeenSet =
false;
127 bool m_topicArnHasBeenSet =
false;
Subscription & WithSubscriptionArn(const char *value)
Subscription & WithTopicArn(const char *value)
void SetTopicArn(const Aws::String &value)
void SetSubscriptionArn(Aws::String &&value)
void SetSubscriptionArn(const Aws::String &value)
const Aws::String & GetOwner() const
Subscription & WithOwner(const Aws::String &value)
Subscription & WithOwner(Aws::String &&value)
Subscription & WithEndpoint(Aws::String &&value)
Subscription & WithSubscriptionArn(Aws::String &&value)
AWS_SNS_API Subscription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetOwner(const char *value)
bool ProtocolHasBeenSet() const
Subscription & WithOwner(const char *value)
Subscription & WithProtocol(Aws::String &&value)
void SetProtocol(const char *value)
AWS_SNS_API Subscription()
AWS_SNS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetEndpoint(Aws::String &&value)
Subscription & WithTopicArn(Aws::String &&value)
const Aws::String & GetTopicArn() const
Subscription & WithTopicArn(const Aws::String &value)
Subscription & WithEndpoint(const Aws::String &value)
const Aws::String & GetSubscriptionArn() const
void SetOwner(Aws::String &&value)
bool TopicArnHasBeenSet() const
bool OwnerHasBeenSet() const
void SetTopicArn(Aws::String &&value)
void SetProtocol(const Aws::String &value)
const Aws::String & GetEndpoint() const
void SetTopicArn(const char *value)
const Aws::String & GetProtocol() const
bool SubscriptionArnHasBeenSet() const
void SetEndpoint(const char *value)
void SetEndpoint(const Aws::String &value)
Subscription & WithProtocol(const char *value)
AWS_SNS_API Subscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_SNS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
Subscription & WithEndpoint(const char *value)
void SetSubscriptionArn(const char *value)
void SetOwner(const Aws::String &value)
Subscription & WithSubscriptionArn(const Aws::String &value)
void SetProtocol(Aws::String &&value)
Subscription & WithProtocol(const Aws::String &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