7#include <aws/rds/RDS_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); }
100 inline void SetStatus(
const char* value) { m_statusHasBeenSet =
true; m_status.assign(value); }
114 inline void SetSubscriptionCreationTime(
const char* value) { m_subscriptionCreationTimeHasBeenSet =
true; m_subscriptionCreationTime.assign(value); }
128 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
171 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
183 inline void SetEventSubscriptionArn(
const char* value) { m_eventSubscriptionArnHasBeenSet =
true; m_eventSubscriptionArn.assign(value); }
191 bool m_customerAwsIdHasBeenSet =
false;
194 bool m_custSubscriptionIdHasBeenSet =
false;
197 bool m_snsTopicArnHasBeenSet =
false;
200 bool m_statusHasBeenSet =
false;
203 bool m_subscriptionCreationTimeHasBeenSet =
false;
206 bool m_sourceTypeHasBeenSet =
false;
209 bool m_sourceIdsListHasBeenSet =
false;
212 bool m_eventCategoriesListHasBeenSet =
false;
215 bool m_enabledHasBeenSet =
false;
218 bool m_eventSubscriptionArnHasBeenSet =
false;
EventSubscription & WithEnabled(bool value)
EventSubscription & WithEventCategoriesList(Aws::Vector< Aws::String > &&value)
void SetSourceType(Aws::String &&value)
void SetEventSubscriptionArn(const char *value)
EventSubscription & WithSourceIdsList(Aws::Vector< Aws::String > &&value)
EventSubscription & WithSourceType(const Aws::String &value)
bool EnabledHasBeenSet() const
const Aws::String & GetSubscriptionCreationTime() const
const Aws::String & GetSnsTopicArn() const
EventSubscription & WithSnsTopicArn(const Aws::String &value)
void SetCustomerAwsId(Aws::String &&value)
bool EventSubscriptionArnHasBeenSet() const
void SetCustSubscriptionId(const char *value)
const Aws::String & GetStatus() const
void SetCustomerAwsId(const Aws::String &value)
EventSubscription & WithEventSubscriptionArn(const char *value)
EventSubscription & WithStatus(const Aws::String &value)
EventSubscription & WithCustSubscriptionId(const char *value)
void SetEventCategoriesList(const Aws::Vector< Aws::String > &value)
bool SourceIdsListHasBeenSet() const
EventSubscription & WithCustSubscriptionId(const Aws::String &value)
EventSubscription & WithCustSubscriptionId(Aws::String &&value)
EventSubscription & WithStatus(const char *value)
void SetEnabled(bool value)
void SetSourceIdsList(Aws::Vector< Aws::String > &&value)
void SetSubscriptionCreationTime(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool SubscriptionCreationTimeHasBeenSet() const
EventSubscription & WithCustomerAwsId(const char *value)
bool CustSubscriptionIdHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
EventSubscription & AddEventCategoriesList(const char *value)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
AWS_RDS_API EventSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
EventSubscription & WithCustomerAwsId(const Aws::String &value)
void SetCustomerAwsId(const char *value)
EventSubscription & WithSnsTopicArn(Aws::String &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetStatus(const Aws::String &value)
void SetSourceType(const Aws::String &value)
EventSubscription & WithEventSubscriptionArn(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
const Aws::String & GetEventSubscriptionArn() const
EventSubscription & WithEventCategoriesList(const Aws::Vector< Aws::String > &value)
EventSubscription & AddSourceIdsList(const Aws::String &value)
EventSubscription & WithSourceType(Aws::String &&value)
bool CustomerAwsIdHasBeenSet() const
EventSubscription & WithEventSubscriptionArn(const Aws::String &value)
EventSubscription & AddEventCategoriesList(const Aws::String &value)
void SetEventCategoriesList(Aws::Vector< Aws::String > &&value)
void SetCustSubscriptionId(const Aws::String &value)
const Aws::String & GetSourceType() const
EventSubscription & AddEventCategoriesList(Aws::String &&value)
bool SourceTypeHasBeenSet() const
void SetSnsTopicArn(Aws::String &&value)
EventSubscription & WithSnsTopicArn(const char *value)
void SetSourceIdsList(const Aws::Vector< Aws::String > &value)
EventSubscription & WithSubscriptionCreationTime(const char *value)
void SetSnsTopicArn(const char *value)
AWS_RDS_API EventSubscription()
bool StatusHasBeenSet() const
AWS_RDS_API EventSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetSourceType(const char *value)
void SetEventSubscriptionArn(Aws::String &&value)
void SetSubscriptionCreationTime(const Aws::String &value)
EventSubscription & WithStatus(Aws::String &&value)
EventSubscription & WithSourceType(const char *value)
const Aws::String & GetCustomerAwsId() const
void SetSnsTopicArn(const Aws::String &value)
EventSubscription & WithCustomerAwsId(Aws::String &&value)
bool EventCategoriesListHasBeenSet() const
EventSubscription & WithSubscriptionCreationTime(const Aws::String &value)
EventSubscription & WithSubscriptionCreationTime(Aws::String &&value)
void SetCustSubscriptionId(Aws::String &&value)
void SetStatus(const char *value)
void SetEventSubscriptionArn(const Aws::String &value)
void SetStatus(Aws::String &&value)
void SetSubscriptionCreationTime(const char *value)
EventSubscription & AddSourceIdsList(Aws::String &&value)
const Aws::String & GetCustSubscriptionId() const
EventSubscription & WithSourceIdsList(const Aws::Vector< Aws::String > &value)
EventSubscription & AddSourceIdsList(const char *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