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>
45 template <
typename SubscriptionNameT = Aws::String>
47 m_subscriptionNameHasBeenSet =
true;
48 m_subscriptionName = std::forward<SubscriptionNameT>(value);
50 template <
typename SubscriptionNameT = Aws::String>
65 template <
typename SnsTopicArnT = Aws::String>
67 m_snsTopicArnHasBeenSet =
true;
68 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
70 template <
typename SnsTopicArnT = Aws::String>
89 template <
typename SourceTypeT = Aws::String>
91 m_sourceTypeHasBeenSet =
true;
92 m_sourceType = std::forward<SourceTypeT>(value);
94 template <
typename SourceTypeT = Aws::String>
112 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
114 m_eventCategoriesHasBeenSet =
true;
115 m_eventCategories = std::forward<EventCategoriesT>(value);
117 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
122 template <
typename EventCategoriesT = Aws::String>
124 m_eventCategoriesHasBeenSet =
true;
125 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
137 m_enabledHasBeenSet =
true;
154 bool m_enabled{
false};
155 bool m_subscriptionNameHasBeenSet =
false;
156 bool m_snsTopicArnHasBeenSet =
false;
157 bool m_sourceTypeHasBeenSet =
false;
158 bool m_eventCategoriesHasBeenSet =
false;
159 bool m_enabledHasBeenSet =
false;
AWS_RDS_API ModifyEventSubscriptionRequest()=default
bool EnabledHasBeenSet() const
ModifyEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
bool SnsTopicArnHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
void SetSubscriptionName(SubscriptionNameT &&value)
void SetEventCategories(EventCategoriesT &&value)
bool EventCategoriesHasBeenSet() const
const Aws::String & GetSubscriptionName() const
void SetSourceType(SourceTypeT &&value)
ModifyEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
ModifyEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
ModifyEventSubscriptionRequest & WithEnabled(bool value)
virtual const char * GetServiceRequestName() const override
bool SourceTypeHasBeenSet() const
AWS_RDS_API Aws::String SerializePayload() const override
bool SubscriptionNameHasBeenSet() const
ModifyEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
void SetEnabled(bool value)
AWS_RDS_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
ModifyEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
const Aws::String & GetSourceType() const
void SetSnsTopicArn(SnsTopicArnT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector