7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/neptune/NeptuneRequest.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
11#include <aws/neptune/model/Tag.h>
44 template <
typename SubscriptionNameT = Aws::String>
46 m_subscriptionNameHasBeenSet =
true;
47 m_subscriptionName = std::forward<SubscriptionNameT>(value);
49 template <
typename SubscriptionNameT = Aws::String>
64 template <
typename SnsTopicArnT = Aws::String>
66 m_snsTopicArnHasBeenSet =
true;
67 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
69 template <
typename SnsTopicArnT = Aws::String>
87 template <
typename SourceTypeT = Aws::String>
89 m_sourceTypeHasBeenSet =
true;
90 m_sourceType = std::forward<SourceTypeT>(value);
92 template <
typename SourceTypeT = Aws::String>
107 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
109 m_eventCategoriesHasBeenSet =
true;
110 m_eventCategories = std::forward<EventCategoriesT>(value);
112 template <
typename EventCategoriesT = Aws::Vector<Aws::String>>
117 template <
typename EventCategoriesT = Aws::String>
119 m_eventCategoriesHasBeenSet =
true;
120 m_eventCategories.emplace_back(std::forward<EventCategoriesT>(value));
142 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
144 m_sourceIdsHasBeenSet =
true;
145 m_sourceIds = std::forward<SourceIdsT>(value);
147 template <
typename SourceIdsT = Aws::Vector<Aws::String>>
152 template <
typename SourceIdsT = Aws::String>
154 m_sourceIdsHasBeenSet =
true;
155 m_sourceIds.emplace_back(std::forward<SourceIdsT>(value));
168 m_enabledHasBeenSet =
true;
183 template <
typename TagsT = Aws::Vector<Tag>>
185 m_tagsHasBeenSet =
true;
186 m_tags = std::forward<TagsT>(value);
188 template <
typename TagsT = Aws::Vector<Tag>>
190 SetTags(std::forward<TagsT>(value));
193 template <
typename TagsT = Tag>
195 m_tagsHasBeenSet =
true;
196 m_tags.emplace_back(std::forward<TagsT>(value));
202 bool m_subscriptionNameHasBeenSet =
false;
205 bool m_snsTopicArnHasBeenSet =
false;
208 bool m_sourceTypeHasBeenSet =
false;
211 bool m_eventCategoriesHasBeenSet =
false;
214 bool m_sourceIdsHasBeenSet =
false;
216 bool m_enabled{
false};
217 bool m_enabledHasBeenSet =
false;
220 bool m_tagsHasBeenSet =
false;
CreateEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
CreateEventSubscriptionRequest & WithSourceIds(SourceIdsT &&value)
AWS_NEPTUNE_API Aws::String SerializePayload() const override
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool TagsHasBeenSet() const
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSnsTopicArn() const
void SetSubscriptionName(SubscriptionNameT &&value)
bool EnabledHasBeenSet() const
AWS_NEPTUNE_API CreateEventSubscriptionRequest()=default
bool SourceTypeHasBeenSet() const
void SetEnabled(bool value)
const Aws::String & GetSubscriptionName() const
bool SnsTopicArnHasBeenSet() const
CreateEventSubscriptionRequest & AddSourceIds(SourceIdsT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetTags(TagsT &&value)
CreateEventSubscriptionRequest & WithEnabled(bool value)
CreateEventSubscriptionRequest & AddTags(TagsT &&value)
const Aws::Vector< Aws::String > & GetSourceIds() const
CreateEventSubscriptionRequest & WithTags(TagsT &&value)
void SetSourceIds(SourceIdsT &&value)
void SetEventCategories(EventCategoriesT &&value)
CreateEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
bool EventCategoriesHasBeenSet() const
const Aws::String & GetSourceType() const
CreateEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
bool SubscriptionNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
void SetSourceType(SourceTypeT &&value)
bool SourceIdsHasBeenSet() const
CreateEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
CreateEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector