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>
51 template<
typename SubscriptionNameT = Aws::String>
52 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
53 template<
typename SubscriptionNameT = Aws::String>
69 template<
typename SnsTopicArnT = Aws::String>
70 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
71 template<
typename SnsTopicArnT = Aws::String>
87 template<
typename SourceTypeT = Aws::String>
88 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
89 template<
typename SourceTypeT = Aws::String>
107 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
108 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
109 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
111 template<
typename EventCategoriesT = Aws::String>
137 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
138 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
139 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
141 template<
typename SourceIdsT = Aws::String>
152 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
160 template<
typename TagsT = Aws::Vector<Tag>>
161 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
162 template<
typename TagsT = Aws::Vector<Tag>>
164 template<
typename TagsT = Tag>
170 bool m_subscriptionNameHasBeenSet =
false;
173 bool m_snsTopicArnHasBeenSet =
false;
176 bool m_sourceTypeHasBeenSet =
false;
179 bool m_eventCategoriesHasBeenSet =
false;
182 bool m_sourceIdsHasBeenSet =
false;
184 bool m_enabled{
false};
185 bool m_enabledHasBeenSet =
false;
188 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