7#include <aws/redshift/Redshift_EXPORTS.h>
8#include <aws/redshift/RedshiftRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename SubscriptionNameT = Aws::String>
50 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
51 template<
typename SubscriptionNameT = Aws::String>
62 template<
typename SnsTopicArnT = Aws::String>
63 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
64 template<
typename SnsTopicArnT = Aws::String>
80 template<
typename SourceTypeT = Aws::String>
81 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
82 template<
typename SourceTypeT = Aws::String>
97 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
98 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
99 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
101 template<
typename SourceIdsT = Aws::String>
113 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
114 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
115 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
117 template<
typename EventCategoriesT = Aws::String>
128 template<
typename SeverityT = Aws::String>
129 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
130 template<
typename SeverityT = Aws::String>
141 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
147 bool m_subscriptionNameHasBeenSet =
false;
150 bool m_snsTopicArnHasBeenSet =
false;
153 bool m_sourceTypeHasBeenSet =
false;
156 bool m_sourceIdsHasBeenSet =
false;
159 bool m_eventCategoriesHasBeenSet =
false;
162 bool m_severityHasBeenSet =
false;
164 bool m_enabled{
false};
165 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