7#include <aws/neptune/Neptune_EXPORTS.h>
8#include <aws/neptune/NeptuneRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/neptune/model/Tag.h>
48 template<
typename SubscriptionNameT = Aws::String>
49 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
50 template<
typename SubscriptionNameT = Aws::String>
62 template<
typename SnsTopicArnT = Aws::String>
63 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
64 template<
typename SnsTopicArnT = Aws::String>
79 template<
typename SourceTypeT = Aws::String>
80 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
81 template<
typename SourceTypeT = Aws::String>
93 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
94 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
95 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
97 template<
typename EventCategoriesT = Aws::String>
118 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
119 void SetSourceIds(SourceIdsT&& value) { m_sourceIdsHasBeenSet =
true; m_sourceIds = std::forward<SourceIdsT>(value); }
120 template<
typename SourceIdsT = Aws::Vector<Aws::String>>
122 template<
typename SourceIdsT = Aws::String>
133 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
143 template<
typename TagsT = Aws::Vector<Tag>>
144 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
145 template<
typename TagsT = Aws::Vector<Tag>>
147 template<
typename TagsT = Tag>
153 bool m_subscriptionNameHasBeenSet =
false;
156 bool m_snsTopicArnHasBeenSet =
false;
159 bool m_sourceTypeHasBeenSet =
false;
162 bool m_eventCategoriesHasBeenSet =
false;
165 bool m_sourceIdsHasBeenSet =
false;
167 bool m_enabled{
false};
168 bool m_enabledHasBeenSet =
false;
171 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