7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/rds/RDSRequest.h>
10#include <aws/rds/RDS_EXPORTS.h>
11#include <aws/rds/model/Tag.h>
47 template <
typename SubscriptionNameT = Aws::String>
49 m_subscriptionNameHasBeenSet =
true;
50 m_subscriptionName = std::forward<SubscriptionNameT>(value);
52 template <
typename SubscriptionNameT = Aws::String>
71 template <
typename SnsTopicArnT = Aws::String>
73 m_snsTopicArnHasBeenSet =
true;
74 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
76 template <
typename SnsTopicArnT = Aws::String>
95 template <
typename SourceTypeT = Aws::String>
97 m_sourceTypeHasBeenSet =
true;
98 m_sourceType = std::forward<SourceTypeT>(value);
100 template <
typename SourceTypeT = Aws::String>
121 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
123 m_eventCategoriesHasBeenSet =
true;
124 m_eventCategories = std::forward<EventCategoriesT>(value);
126 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
131 template <
typename EventCategoriesT = Aws::String>
133 m_eventCategoriesHasBeenSet =
true;
134 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
161 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
163 m_sourceIdsHasBeenSet =
true;
164 m_sourceIds = std::forward<SourceIdsT>(value);
166 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
171 template <
typename SourceIdsT = Aws::String>
173 m_sourceIdsHasBeenSet =
true;
174 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
187 m_enabledHasBeenSet =
true;
200 template <
typename TagsT = Aws::Vector<Tag>>
202 m_tagsHasBeenSet =
true;
203 m_tags = std::forward<TagsT>(value);
205 template <
typename TagsT = Aws::Vector<Tag>>
207 SetTags(std::forward<TagsT>(value));
210 template <
typename TagsT = Tag>
212 m_tagsHasBeenSet =
true;
213 m_tags.emplace_back(std::forward<TagsT>(value));
228 bool m_enabled{
false};
231 bool m_subscriptionNameHasBeenSet =
false;
232 bool m_snsTopicArnHasBeenSet =
false;
233 bool m_sourceTypeHasBeenSet =
false;
234 bool m_eventCategoriesHasBeenSet =
false;
235 bool m_sourceIdsHasBeenSet =
false;
236 bool m_enabledHasBeenSet =
false;
237 bool m_tagsHasBeenSet =
false;
void SetSnsTopicArn(SnsTopicArnT &&value)
bool SnsTopicArnHasBeenSet() const
bool TagsHasBeenSet() const
CreateEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
void SetEventCategories(EventCategoriesT &&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
CreateEventSubscriptionRequest & AddTags(TagsT &&value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SubscriptionNameHasBeenSet() const
bool SourceTypeHasBeenSet() const
void SetEnabled(bool value)
const Aws::String & GetSourceType() const
CreateEventSubscriptionRequest & WithTags(TagsT &&value)
CreateEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
CreateEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
CreateEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
CreateEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
void SetSourceIds(SourceIdsT &&value)
void SetTags(TagsT &&value)
bool SourceIdsHasBeenSet() const
void SetSubscriptionName(SubscriptionNameT &&value)
AWS_RDS_API CreateEventSubscriptionRequest()=default
bool EventCategoriesHasBeenSet() const
const Aws::Vector< Aws::String > & GetSourceIds() const
const Aws::String & GetSnsTopicArn() const
CreateEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
virtual const char * GetServiceRequestName() const override
CreateEventSubscriptionRequest & WithEnabled(bool value)
CreateEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
void SetSourceType(SourceTypeT &&value)
const Aws::String & GetSubscriptionName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector