7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/rds/RDSRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/model/Tag.h>
53 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
73 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
93 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
160 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
178 bool m_subscriptionNameHasBeenSet =
false;
181 bool m_snsTopicArnHasBeenSet =
false;
184 bool m_sourceTypeHasBeenSet =
false;
187 bool m_eventCategoriesHasBeenSet =
false;
190 bool m_sourceIdsHasBeenSet =
false;
193 bool m_enabledHasBeenSet =
false;
196 bool m_tagsHasBeenSet =
false;
CreateEventSubscriptionRequest & WithTags(const Aws::Vector< Tag > &value)
AWS_RDS_API CreateEventSubscriptionRequest()
void SetSubscriptionName(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
bool SnsTopicArnHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
bool TagsHasBeenSet() const
CreateEventSubscriptionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & AddSourceIds(const char *value)
CreateEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
AWS_RDS_API Aws::String SerializePayload() const override
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::Vector< Tag > & GetTags() const
bool EnabledHasBeenSet() const
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
bool SubscriptionNameHasBeenSet() const
bool SourceTypeHasBeenSet() const
void SetEnabled(bool value)
CreateEventSubscriptionRequest & AddEventCategories(const char *value)
const Aws::String & GetSourceType() const
CreateEventSubscriptionRequest & WithSnsTopicArn(const char *value)
CreateEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & AddTags(const Tag &value)
void SetSnsTopicArn(const char *value)
void SetSnsTopicArn(Aws::String &&value)
void SetSnsTopicArn(const Aws::String &value)
CreateEventSubscriptionRequest & AddTags(Tag &&value)
void SetSourceType(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
void SetSourceIds(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithSourceType(const char *value)
CreateEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
CreateEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
bool SourceIdsHasBeenSet() const
CreateEventSubscriptionRequest & WithSubscriptionName(const char *value)
CreateEventSubscriptionRequest & WithSourceType(Aws::String &&value)
CreateEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
bool EventCategoriesHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceIds() const
const Aws::String & GetSnsTopicArn() const
CreateEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceType(const Aws::String &value)
void SetSourceType(const Aws::String &value)
CreateEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
void SetSubscriptionName(const Aws::String &value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
void SetSubscriptionName(const char *value)
virtual const char * GetServiceRequestName() const override
CreateEventSubscriptionRequest & WithEnabled(bool value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
void SetSourceType(Aws::String &&value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSubscriptionName() const
CreateEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector