7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/redshift/RedshiftRequest.h>
10#include <aws/redshift/Redshift_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>
64 template <
typename SnsTopicArnT = Aws::String>
66 m_snsTopicArnHasBeenSet =
true;
67 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
69 template <
typename SnsTopicArnT = Aws::String>
88 template <
typename SourceTypeT = Aws::String>
90 m_sourceTypeHasBeenSet =
true;
91 m_sourceType = std::forward<SourceTypeT>(value);
93 template <
typename SourceTypeT = Aws::String>
111 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
113 m_sourceIdsHasBeenSet =
true;
114 m_sourceIds = std::forward<SourceIdsT>(value);
116 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
121 template <
typename SourceIdsT = Aws::String>
123 m_sourceIdsHasBeenSet =
true;
124 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
137 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
139 m_eventCategoriesHasBeenSet =
true;
140 m_eventCategories = std::forward<EventCategoriesT>(value);
142 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
147 template <
typename EventCategoriesT = Aws::String>
149 m_eventCategoriesHasBeenSet =
true;
150 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
162 template <
typename SeverityT = Aws::String>
164 m_severityHasBeenSet =
true;
165 m_severity = std::forward<SeverityT>(value);
167 template <
typename SeverityT = Aws::String>
182 m_enabledHasBeenSet =
true;
203 bool m_enabled{
false};
204 bool m_subscriptionNameHasBeenSet =
false;
205 bool m_snsTopicArnHasBeenSet =
false;
206 bool m_sourceTypeHasBeenSet =
false;
207 bool m_sourceIdsHasBeenSet =
false;
208 bool m_eventCategoriesHasBeenSet =
false;
209 bool m_severityHasBeenSet =
false;
210 bool m_enabledHasBeenSet =
false;
bool SnsTopicArnHasBeenSet() const
bool EnabledHasBeenSet() const
ModifyEventSubscriptionRequest & WithEnabled(bool value)
virtual const char * GetServiceRequestName() const override
bool SubscriptionNameHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
void SetSnsTopicArn(SnsTopicArnT &&value)
ModifyEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
bool SourceIdsHasBeenSet() const
AWS_REDSHIFT_API ModifyEventSubscriptionRequest()=default
void SetSubscriptionName(SubscriptionNameT &&value)
ModifyEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
ModifyEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
const Aws::Vector< Aws::String > & GetSourceIds() const
ModifyEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
ModifyEventSubscriptionRequest & WithSeverity(SeverityT &&value)
void SetSourceIds(SourceIdsT &&value)
void SetSourceType(SourceTypeT &&value)
AWS_REDSHIFT_API Aws::String SerializePayload() const override
const Aws::String & GetSubscriptionName() const
bool EventCategoriesHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
void SetSeverity(SeverityT &&value)
const Aws::String & GetSeverity() const
ModifyEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
bool SourceTypeHasBeenSet() const
bool SeverityHasBeenSet() const
void SetEnabled(bool value)
ModifyEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSourceType() const
void SetEventCategories(EventCategoriesT &&value)
ModifyEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector