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>
46 template<
typename SubscriptionNameT = Aws::String>
47 void SetSubscriptionName(SubscriptionNameT&& value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName = std::forward<SubscriptionNameT>(value); }
48 template<
typename SubscriptionNameT = Aws::String>
60 template<
typename SnsTopicArnT = Aws::String>
61 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
62 template<
typename SnsTopicArnT = Aws::String>
76 template<
typename SourceTypeT = Aws::String>
77 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
78 template<
typename SourceTypeT = Aws::String>
90 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
91 void SetEventCategories(EventCategoriesT&& value) { m_eventCategoriesHasBeenSet =
true; m_eventCategories = std::forward<EventCategoriesT>(value); }
92 template<
typename EventCategoriesT = Aws::Vector<Aws::String>>
94 template<
typename EventCategoriesT = Aws::String>
104 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
110 bool m_subscriptionNameHasBeenSet =
false;
113 bool m_snsTopicArnHasBeenSet =
false;
116 bool m_sourceTypeHasBeenSet =
false;
119 bool m_eventCategoriesHasBeenSet =
false;
121 bool m_enabled{
false};
122 bool m_enabledHasBeenSet =
false;
const Aws::String & GetSourceType() const
ModifyEventSubscriptionRequest & AddEventCategories(EventCategoriesT &&value)
ModifyEventSubscriptionRequest & WithSourceType(SourceTypeT &&value)
ModifyEventSubscriptionRequest & WithEventCategories(EventCategoriesT &&value)
ModifyEventSubscriptionRequest & WithSubscriptionName(SubscriptionNameT &&value)
const Aws::Vector< Aws::String > & GetEventCategories() const
void SetSubscriptionName(SubscriptionNameT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
ModifyEventSubscriptionRequest & WithEnabled(bool value)
bool SourceTypeHasBeenSet() const
ModifyEventSubscriptionRequest & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool SnsTopicArnHasBeenSet() const
AWS_NEPTUNE_API Aws::String SerializePayload() const override
bool EventCategoriesHasBeenSet() const
AWS_NEPTUNE_API ModifyEventSubscriptionRequest()=default
const Aws::String & GetSubscriptionName() const
bool EnabledHasBeenSet() const
void SetEnabled(bool value)
virtual const char * GetServiceRequestName() const override
void SetEventCategories(EventCategoriesT &&value)
const Aws::String & GetSnsTopicArn() const
bool SubscriptionNameHasBeenSet() const
void SetSourceType(SourceTypeT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector