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>
11#include <aws/redshift/model/Tag.h>
56 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
72 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
92 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
144 inline void SetSeverity(
const char* value) { m_severityHasBeenSet =
true; m_severity.assign(value); }
157 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
177 bool m_subscriptionNameHasBeenSet =
false;
180 bool m_snsTopicArnHasBeenSet =
false;
183 bool m_sourceTypeHasBeenSet =
false;
186 bool m_sourceIdsHasBeenSet =
false;
189 bool m_eventCategoriesHasBeenSet =
false;
192 bool m_severityHasBeenSet =
false;
195 bool m_enabledHasBeenSet =
false;
198 bool m_tagsHasBeenSet =
false;
CreateEventSubscriptionRequest & WithSeverity(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
bool SourceIdsHasBeenSet() const
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSeverity() const
void SetSubscriptionName(Aws::String &&value)
AWS_REDSHIFT_API CreateEventSubscriptionRequest()
void SetSnsTopicArn(Aws::String &&value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
void SetSubscriptionName(const char *value)
void SetEventCategories(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSourceType() const
void SetTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
CreateEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
void SetSubscriptionName(const Aws::String &value)
CreateEventSubscriptionRequest & WithSubscriptionName(const char *value)
const Aws::String & GetSubscriptionName() const
bool EnabledHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
void SetSeverity(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceType(const Aws::String &value)
void SetSourceType(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
void SetSnsTopicArn(const Aws::String &value)
void SetSnsTopicArn(const char *value)
CreateEventSubscriptionRequest & WithSeverity(const Aws::String &value)
CreateEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
bool SubscriptionNameHasBeenSet() const
CreateEventSubscriptionRequest & AddTags(Tag &&value)
CreateEventSubscriptionRequest & AddEventCategories(const char *value)
void SetSourceType(Aws::String &&value)
void SetSourceType(const Aws::String &value)
CreateEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
bool TagsHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateEventSubscriptionRequest & AddTags(const Tag &value)
CreateEventSubscriptionRequest & WithSeverity(Aws::String &&value)
bool SeverityHasBeenSet() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
void SetEventCategories(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & AddSourceIds(const char *value)
bool EventCategoriesHasBeenSet() const
CreateEventSubscriptionRequest & WithSourceType(const char *value)
void SetSeverity(const Aws::String &value)
const Aws::String & GetSnsTopicArn() const
CreateEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
CreateEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
const Aws::Vector< Aws::String > & GetSourceIds() const
void SetSeverity(const char *value)
CreateEventSubscriptionRequest & WithTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
bool SourceTypeHasBeenSet() const
CreateEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & WithEnabled(bool value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
void SetEnabled(bool value)
CreateEventSubscriptionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const char *value)
CreateEventSubscriptionRequest & WithSourceType(Aws::String &&value)
void SetSourceIds(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector