7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/neptune/Neptune_EXPORTS.h>
45 template <
typename CustomerAwsIdT = Aws::String>
47 m_customerAwsIdHasBeenSet =
true;
48 m_customerAwsId = std::forward<CustomerAwsIdT>(value);
50 template <
typename CustomerAwsIdT = Aws::String>
63 template <
typename CustSubscriptionIdT = Aws::String>
65 m_custSubscriptionIdHasBeenSet =
true;
66 m_custSubscriptionId = std::forward<CustSubscriptionIdT>(value);
68 template <
typename CustSubscriptionIdT = Aws::String>
81 template <
typename SnsTopicArnT = Aws::String>
83 m_snsTopicArnHasBeenSet =
true;
84 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
86 template <
typename SnsTopicArnT = Aws::String>
104 template <
typename StatusT = Aws::String>
106 m_statusHasBeenSet =
true;
107 m_status = std::forward<StatusT>(value);
109 template <
typename StatusT = Aws::String>
122 template <
typename SubscriptionCreationTimeT = Aws::String>
124 m_subscriptionCreationTimeHasBeenSet =
true;
125 m_subscriptionCreationTime = std::forward<SubscriptionCreationTimeT>(value);
127 template <
typename SubscriptionCreationTimeT = Aws::String>
140 template <
typename SourceTypeT = Aws::String>
142 m_sourceTypeHasBeenSet =
true;
143 m_sourceType = std::forward<SourceTypeT>(value);
145 template <
typename SourceTypeT = Aws::String>
158 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
160 m_sourceIdsListHasBeenSet =
true;
161 m_sourceIdsList = std::forward<SourceIdsListT>(value);
163 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
168 template <
typename SourceIdsListT = Aws::String>
170 m_sourceIdsListHasBeenSet =
true;
171 m_sourceIdsList.emplace_back(std::forward<SourceIdsListT>(value));
182 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
184 m_eventCategoriesListHasBeenSet =
true;
185 m_eventCategoriesList = std::forward<EventCategoriesListT>(value);
187 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
192 template <
typename EventCategoriesListT = Aws::String>
194 m_eventCategoriesListHasBeenSet =
true;
195 m_eventCategoriesList.emplace_back(std::forward<EventCategoriesListT>(value));
208 m_enabledHasBeenSet =
true;
223 template <
typename EventSubscriptionArnT = Aws::String>
225 m_eventSubscriptionArnHasBeenSet =
true;
226 m_eventSubscriptionArn = std::forward<EventSubscriptionArnT>(value);
228 template <
typename EventSubscriptionArnT = Aws::String>
236 bool m_customerAwsIdHasBeenSet =
false;
239 bool m_custSubscriptionIdHasBeenSet =
false;
242 bool m_snsTopicArnHasBeenSet =
false;
245 bool m_statusHasBeenSet =
false;
248 bool m_subscriptionCreationTimeHasBeenSet =
false;
251 bool m_sourceTypeHasBeenSet =
false;
254 bool m_sourceIdsListHasBeenSet =
false;
257 bool m_eventCategoriesListHasBeenSet =
false;
259 bool m_enabled{
false};
260 bool m_enabledHasBeenSet =
false;
263 bool m_eventSubscriptionArnHasBeenSet =
false;
const Aws::String & GetStatus() const
void SetEventCategoriesList(EventCategoriesListT &&value)
EventSubscription & WithCustSubscriptionId(CustSubscriptionIdT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
const Aws::String & GetCustSubscriptionId() const
EventSubscription & WithSourceIdsList(SourceIdsListT &&value)
void SetSnsTopicArn(SnsTopicArnT &&value)
AWS_NEPTUNE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
EventSubscription & WithSnsTopicArn(SnsTopicArnT &&value)
AWS_NEPTUNE_API EventSubscription(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_NEPTUNE_API EventSubscription()=default
EventSubscription & WithSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
bool EnabledHasBeenSet() const
bool SourceTypeHasBeenSet() const
EventSubscription & AddEventCategoriesList(EventCategoriesListT &&value)
void SetCustomerAwsId(CustomerAwsIdT &&value)
const Aws::String & GetSubscriptionCreationTime() const
const Aws::String & GetSnsTopicArn() const
void SetEnabled(bool value)
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
bool CustomerAwsIdHasBeenSet() const
EventSubscription & WithEventSubscriptionArn(EventSubscriptionArnT &&value)
EventSubscription & WithEnabled(bool value)
void SetCustSubscriptionId(CustSubscriptionIdT &&value)
bool EventCategoriesListHasBeenSet() const
bool SourceIdsListHasBeenSet() const
void SetSourceType(SourceTypeT &&value)
AWS_NEPTUNE_API EventSubscription & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnsTopicArnHasBeenSet() const
EventSubscription & WithEventCategoriesList(EventCategoriesListT &&value)
EventSubscription & AddSourceIdsList(SourceIdsListT &&value)
bool StatusHasBeenSet() const
bool EventSubscriptionArnHasBeenSet() const
EventSubscription & WithSourceType(SourceTypeT &&value)
EventSubscription & WithStatus(StatusT &&value)
const Aws::String & GetCustomerAwsId() const
bool CustSubscriptionIdHasBeenSet() const
const Aws::String & GetEventSubscriptionArn() const
void SetEventSubscriptionArn(EventSubscriptionArnT &&value)
const Aws::String & GetSourceType() const
void SetSourceIdsList(SourceIdsListT &&value)
bool SubscriptionCreationTimeHasBeenSet() const
EventSubscription & WithCustomerAwsId(CustomerAwsIdT &&value)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
void SetStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream