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>
51 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
66 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
86 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
138 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
151 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
157 bool m_subscriptionNameHasBeenSet =
false;
160 bool m_snsTopicArnHasBeenSet =
false;
163 bool m_sourceTypeHasBeenSet =
false;
166 bool m_sourceIdsHasBeenSet =
false;
169 bool m_eventCategoriesHasBeenSet =
false;
172 bool m_severityHasBeenSet =
false;
175 bool m_enabledHasBeenSet =
false;
bool SnsTopicArnHasBeenSet() const
ModifyEventSubscriptionRequest & WithSnsTopicArn(const char *value)
ModifyEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
bool EnabledHasBeenSet() const
void SetSourceType(const Aws::String &value)
ModifyEventSubscriptionRequest & WithEnabled(bool value)
virtual const char * GetServiceRequestName() const override
bool SubscriptionNameHasBeenSet() const
ModifyEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
const Aws::String & GetSnsTopicArn() const
void SetEventCategories(Aws::Vector< Aws::String > &&value)
ModifyEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
bool SourceIdsHasBeenSet() const
void SetSubscriptionName(const Aws::String &value)
void SetSnsTopicArn(const Aws::String &value)
ModifyEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
ModifyEventSubscriptionRequest & WithSeverity(Aws::String &&value)
ModifyEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
ModifyEventSubscriptionRequest & WithSeverity(const char *value)
const Aws::Vector< Aws::String > & GetSourceIds() const
AWS_REDSHIFT_API ModifyEventSubscriptionRequest()
ModifyEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
ModifyEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
ModifyEventSubscriptionRequest & WithSubscriptionName(const char *value)
void SetSubscriptionName(const char *value)
ModifyEventSubscriptionRequest & AddEventCategories(const char *value)
void SetSourceType(Aws::String &&value)
ModifyEventSubscriptionRequest & WithSourceType(const Aws::String &value)
ModifyEventSubscriptionRequest & AddSourceIds(const char *value)
void SetEventCategories(const Aws::Vector< Aws::String > &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(const Aws::String &value)
void SetSeverity(Aws::String &&value)
ModifyEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
ModifyEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSeverity() const
void SetSeverity(const char *value)
void SetSourceIds(Aws::Vector< Aws::String > &&value)
bool SourceTypeHasBeenSet() const
bool SeverityHasBeenSet() const
void SetEnabled(bool value)
ModifyEventSubscriptionRequest & WithSourceType(const char *value)
void SetSourceType(const char *value)
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSourceType() const
ModifyEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
ModifyEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
ModifyEventSubscriptionRequest & WithSeverity(const Aws::String &value)
void SetSnsTopicArn(Aws::String &&value)
ModifyEventSubscriptionRequest & WithSourceType(Aws::String &&value)
void SetSnsTopicArn(const char *value)
void SetSubscriptionName(Aws::String &&value)
ModifyEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector