7#include <aws/docdb/DocDB_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
53 inline void SetCustomerAwsId(
const char* value) { m_customerAwsIdHasBeenSet =
true; m_customerAwsId.assign(value); }
67 inline void SetCustSubscriptionId(
const char* value) { m_custSubscriptionIdHasBeenSet =
true; m_custSubscriptionId.assign(value); }
81 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
101 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
116 inline void SetSubscriptionCreationTime(
const char* value) { m_subscriptionCreationTimeHasBeenSet =
true; m_subscriptionCreationTime.assign(value); }
131 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
176 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
188 inline void SetEventSubscriptionArn(
const char* value) { m_eventSubscriptionArnHasBeenSet =
true; m_eventSubscriptionArn.assign(value); }
196 bool m_customerAwsIdHasBeenSet =
false;
199 bool m_custSubscriptionIdHasBeenSet =
false;
202 bool m_snsTopicArnHasBeenSet =
false;
205 bool m_statusHasBeenSet =
false;
208 bool m_subscriptionCreationTimeHasBeenSet =
false;
211 bool m_sourceTypeHasBeenSet =
false;
214 bool m_sourceIdsListHasBeenSet =
false;
217 bool m_eventCategoriesListHasBeenSet =
false;
220 bool m_enabledHasBeenSet =
false;
223 bool m_eventSubscriptionArnHasBeenSet =
false;
void SetSourceIdsList(Aws::Vector< Aws::String > &&value)
void SetStatus(const Aws::String &value)
void SetSubscriptionCreationTime(Aws::String &&value)
const Aws::String & GetEventSubscriptionArn() const
void SetEventSubscriptionArn(const Aws::String &value)
const Aws::String & GetSourceType() const
void SetSourceType(Aws::String &&value)
EventSubscription & WithSourceType(const char *value)
EventSubscription & WithCustSubscriptionId(const Aws::String &value)
EventSubscription & WithSnsTopicArn(const char *value)
void SetSnsTopicArn(Aws::String &&value)
bool SourceTypeHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
void SetEventCategoriesList(const Aws::Vector< Aws::String > &value)
EventSubscription & WithEventSubscriptionArn(const char *value)
EventSubscription & WithStatus(Aws::String &&value)
const Aws::String & GetStatus() const
void SetSubscriptionCreationTime(const Aws::String &value)
EventSubscription & AddSourceIdsList(const Aws::String &value)
void SetSourceType(const Aws::String &value)
EventSubscription & WithCustSubscriptionId(Aws::String &&value)
void SetSourceIdsList(const Aws::Vector< Aws::String > &value)
EventSubscription & WithEnabled(bool value)
EventSubscription & WithEventCategoriesList(const Aws::Vector< Aws::String > &value)
bool CustSubscriptionIdHasBeenSet() const
void SetCustSubscriptionId(const Aws::String &value)
void SetSnsTopicArn(const Aws::String &value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
EventSubscription & WithSourceType(const Aws::String &value)
bool EnabledHasBeenSet() const
void SetCustSubscriptionId(const char *value)
EventSubscription & WithCustSubscriptionId(const char *value)
void SetEventSubscriptionArn(Aws::String &&value)
EventSubscription & WithCustomerAwsId(const char *value)
bool StatusHasBeenSet() const
EventSubscription & WithSubscriptionCreationTime(const char *value)
EventSubscription & WithSnsTopicArn(Aws::String &&value)
void SetSourceType(const char *value)
bool SourceIdsListHasBeenSet() const
EventSubscription & WithEventCategoriesList(Aws::Vector< Aws::String > &&value)
void SetStatus(const char *value)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
void SetEnabled(bool value)
EventSubscription & WithStatus(const Aws::String &value)
EventSubscription & WithEventSubscriptionArn(const Aws::String &value)
EventSubscription & WithSnsTopicArn(const Aws::String &value)
const Aws::String & GetCustSubscriptionId() const
EventSubscription & WithEventSubscriptionArn(Aws::String &&value)
EventSubscription & WithStatus(const char *value)
AWS_DOCDB_API EventSubscription()
void SetSubscriptionCreationTime(const char *value)
void SetCustomerAwsId(const Aws::String &value)
EventSubscription & WithSubscriptionCreationTime(Aws::String &&value)
bool SubscriptionCreationTimeHasBeenSet() const
EventSubscription & WithCustomerAwsId(const Aws::String &value)
EventSubscription & AddSourceIdsList(const char *value)
void SetCustomerAwsId(const char *value)
AWS_DOCDB_API EventSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EventSubscription & AddEventCategoriesList(const Aws::String &value)
void SetSnsTopicArn(const char *value)
bool EventSubscriptionArnHasBeenSet() const
EventSubscription & WithSubscriptionCreationTime(const Aws::String &value)
void SetStatus(Aws::String &&value)
EventSubscription & WithSourceIdsList(Aws::Vector< Aws::String > &&value)
AWS_DOCDB_API EventSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnsTopicArnHasBeenSet() const
EventSubscription & AddSourceIdsList(Aws::String &&value)
bool EventCategoriesListHasBeenSet() const
EventSubscription & WithSourceIdsList(const Aws::Vector< Aws::String > &value)
const Aws::String & GetCustomerAwsId() const
void SetCustSubscriptionId(Aws::String &&value)
EventSubscription & WithSourceType(Aws::String &&value)
const Aws::String & GetSubscriptionCreationTime() const
EventSubscription & WithCustomerAwsId(Aws::String &&value)
bool CustomerAwsIdHasBeenSet() const
EventSubscription & AddEventCategoriesList(Aws::String &&value)
void SetEventCategoriesList(Aws::Vector< Aws::String > &&value)
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
void SetEventSubscriptionArn(const char *value)
EventSubscription & AddEventCategoriesList(const char *value)
AWS_DOCDB_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetCustomerAwsId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream