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>
50 inline void SetSubscriptionName(
const char* value) { m_subscriptionNameHasBeenSet =
true; m_subscriptionName.assign(value); }
66 inline void SetSnsTopicArn(
const char* value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn.assign(value); }
85 inline void SetSourceType(
const char* value) { m_sourceTypeHasBeenSet =
true; m_sourceType.assign(value); }
141 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
161 bool m_subscriptionNameHasBeenSet =
false;
164 bool m_snsTopicArnHasBeenSet =
false;
167 bool m_sourceTypeHasBeenSet =
false;
170 bool m_eventCategoriesHasBeenSet =
false;
173 bool m_sourceIdsHasBeenSet =
false;
176 bool m_enabledHasBeenSet =
false;
179 bool m_tagsHasBeenSet =
false;
void SetSnsTopicArn(Aws::String &&value)
CreateEventSubscriptionRequest & WithSourceType(Aws::String &&value)
CreateEventSubscriptionRequest & AddSourceIds(const char *value)
CreateEventSubscriptionRequest & AddSourceIds(const Aws::String &value)
void SetSnsTopicArn(const char *value)
AWS_NEPTUNE_API CreateEventSubscriptionRequest()
AWS_NEPTUNE_API Aws::String SerializePayload() const override
CreateEventSubscriptionRequest & AddEventCategories(const Aws::String &value)
AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
CreateEventSubscriptionRequest & WithTags(Aws::Vector< Tag > &&value)
CreateEventSubscriptionRequest & WithSubscriptionName(Aws::String &&value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const char *value)
void SetSubscriptionName(const char *value)
void SetSourceType(const char *value)
bool TagsHasBeenSet() const
const Aws::Vector< Aws::String > & GetEventCategories() const
const Aws::String & GetSnsTopicArn() const
void SetSubscriptionName(const Aws::String &value)
void SetSourceType(Aws::String &&value)
CreateEventSubscriptionRequest & WithEventCategories(Aws::Vector< Aws::String > &&value)
CreateEventSubscriptionRequest & WithSubscriptionName(const Aws::String &value)
CreateEventSubscriptionRequest & WithTags(const Aws::Vector< Tag > &value)
bool EnabledHasBeenSet() const
CreateEventSubscriptionRequest & AddEventCategories(const char *value)
CreateEventSubscriptionRequest & WithSourceType(const char *value)
void SetSourceIds(const Aws::Vector< Aws::String > &value)
CreateEventSubscriptionRequest & WithSnsTopicArn(const Aws::String &value)
bool SourceTypeHasBeenSet() const
void SetEnabled(bool value)
void SetEventCategories(const Aws::Vector< Aws::String > &value)
const Aws::String & GetSubscriptionName() const
CreateEventSubscriptionRequest & WithSourceIds(Aws::Vector< Aws::String > &&value)
bool SnsTopicArnHasBeenSet() const
CreateEventSubscriptionRequest & WithEventCategories(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Tag > & GetTags() const
CreateEventSubscriptionRequest & AddEventCategories(Aws::String &&value)
CreateEventSubscriptionRequest & WithEnabled(bool value)
void SetTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Aws::String > & GetSourceIds() const
void SetSourceType(const Aws::String &value)
bool EventCategoriesHasBeenSet() const
void SetEventCategories(Aws::Vector< Aws::String > &&value)
const Aws::String & GetSourceType() const
bool SubscriptionNameHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateEventSubscriptionRequest & WithSourceType(const Aws::String &value)
CreateEventSubscriptionRequest & WithSubscriptionName(const char *value)
void SetSourceIds(Aws::Vector< Aws::String > &&value)
bool SourceIdsHasBeenSet() const
void SetSubscriptionName(Aws::String &&value)
CreateEventSubscriptionRequest & AddTags(const Tag &value)
CreateEventSubscriptionRequest & WithSourceIds(const Aws::Vector< Aws::String > &value)
void SetTags(const Aws::Vector< Tag > &value)
CreateEventSubscriptionRequest & WithSnsTopicArn(Aws::String &&value)
CreateEventSubscriptionRequest & AddTags(Tag &&value)
CreateEventSubscriptionRequest & AddSourceIds(Aws::String &&value)
void SetSnsTopicArn(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector