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>
11#include <aws/redshift/model/Tag.h>
50 template <
typename SubscriptionNameT = Aws::String>
52 m_subscriptionNameHasBeenSet =
true;
53 m_subscriptionName = std::forward<SubscriptionNameT>(value);
55 template <
typename SubscriptionNameT = Aws::String>
70 template <
typename SnsTopicArnT = Aws::String>
72 m_snsTopicArnHasBeenSet =
true;
73 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
75 template <
typename SnsTopicArnT = Aws::String>
94 template <
typename SourceTypeT = Aws::String>
96 m_sourceTypeHasBeenSet =
true;
97 m_sourceType = std::forward<SourceTypeT>(value);
99 template <
typename SourceTypeT = Aws::String>
117 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
119 m_sourceIdsHasBeenSet =
true;
120 m_sourceIds = std::forward<SourceIdsT>(value);
122 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
127 template <
typename SourceIdsT = Aws::String>
129 m_sourceIdsHasBeenSet =
true;
130 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
143 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
145 m_eventCategoriesHasBeenSet =
true;
146 m_eventCategories = std::forward<EventCategoriesT>(value);
148 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
153 template <
typename EventCategoriesT = Aws::String>
155 m_eventCategoriesHasBeenSet =
true;
156 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
168 template <
typename SeverityT = Aws::String>
170 m_severityHasBeenSet =
true;
171 m_severity = std::forward<SeverityT>(value);
173 template <
typename SeverityT = Aws::String>
188 m_enabledHasBeenSet =
true;
203 template <
typename TagsT = Aws::Vector<Tag>>
205 m_tagsHasBeenSet =
true;
206 m_tags = std::forward<TagsT>(value);
208 template <
typename TagsT = Aws::Vector<Tag>>
210 SetTags(std::forward<TagsT>(value));
213 template <
typename TagsT = Tag>
215 m_tagsHasBeenSet =
true;
216 m_tags.emplace_back(std::forward<TagsT>(value));
233 bool m_enabled{
false};
236 bool m_subscriptionNameHasBeenSet =
false;
237 bool m_snsTopicArnHasBeenSet =
false;
238 bool m_sourceTypeHasBeenSet =
false;
239 bool m_sourceIdsHasBeenSet =
false;
240 bool m_eventCategoriesHasBeenSet =
false;
241 bool m_severityHasBeenSet =
false;
242 bool m_enabledHasBeenSet =
false;
243 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