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>
54 template<
typename SubscriptionNameT = Aws::String>
55 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
56 template<
typename SubscriptionNameT = Aws::String>
68 template<
typename SnsTopicArnT = Aws::String>
69 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
70 template<
typename SnsTopicArnT = Aws::String>
86 template<
typename SourceTypeT = Aws::String>
87 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
88 template<
typename SourceTypeT = Aws::String>
103 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
104 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
105 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
107 template<
typename SourceIdsT = Aws::String>
119 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
120 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
121 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
123 template<
typename EventCategoriesT = Aws::String>
134 template<
typename SeverityT = Aws::String>
135 void SetSeverity(SeverityT&& value) { m_severityHasBeenSet =
true; m_severity = std::forward<SeverityT>(value); }
136 template<
typename SeverityT = Aws::String>
147 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
157 template<
typename TagsT = Aws::Vector<Tag>>
158 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
159 template<
typename TagsT = Aws::Vector<Tag>>
161 template<
typename TagsT = Tag>
167 bool m_subscriptionNameHasBeenSet =
false;
170 bool m_snsTopicArnHasBeenSet =
false;
173 bool m_sourceTypeHasBeenSet =
false;
176 bool m_sourceIdsHasBeenSet =
false;
179 bool m_eventCategoriesHasBeenSet =
false;
182 bool m_severityHasBeenSet =
false;
184 bool m_enabled{
false};
185 bool m_enabledHasBeenSet =
false;
188 bool m_tagsHasBeenSet =
false;
const Aws::Vector< Tag > & GetTags() const
bool SourceIdsHasBeenSet() const
void SetSnsTopicArn(SnsTopicArnT &&value)
AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
const Aws::String & GetSeverity() const
CreateEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
CreateEventSubscriptionRequest & WithSeverity(SeverityT &&value)
const Aws::String & GetSourceType() const
const Aws::Vector< Aws::String > & GetEventCategories() const
void SetEventCategories(EventCategoriesT &&value)
const Aws::String & GetSubscriptionName() const
bool EnabledHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
CreateEventSubscriptionRequest & AddTags(TagsT &&value)
void SetSourceIds(SourceIdsT &&value)
CreateEventSubscriptionRequest & WithTags(TagsT &&value)
bool SubscriptionNameHasBeenSet() const
void SetTags(TagsT &&value)
void SetSubscriptionName(SubscriptionNameT &&value)
CreateEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
bool TagsHasBeenSet() const
void SetSeverity(SeverityT &&value)
virtual const char * GetServiceRequestName() const override
void SetSourceType(SourceTypeT &&value)
AWS_REDSHIFT_API CreateEventSubscriptionRequest()=default
bool SeverityHasBeenSet() const
AWS_REDSHIFT_API Aws::String SerializePayload() const override
bool EventCategoriesHasBeenSet() const
const Aws::String & GetSnsTopicArn() const
CreateEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
const Aws::Vector< Aws::String > & GetSourceIds() const
CreateEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
bool SourceTypeHasBeenSet() const
CreateEventSubscriptionRequest & WithEnabled(bool value)
void SetEnabled(bool value)
CreateEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
CreateEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
CreateEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector