7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/securityhub/SecurityHub_EXPORTS.h>
43 template <
typename CustSubscriptionIdT = Aws::String>
45 m_custSubscriptionIdHasBeenSet =
true;
46 m_custSubscriptionId = std::forward<CustSubscriptionIdT>(value);
48 template <
typename CustSubscriptionIdT = Aws::String>
61 template <
typename CustomerAwsIdT = Aws::String>
63 m_customerAwsIdHasBeenSet =
true;
64 m_customerAwsId = std::forward<CustomerAwsIdT>(value);
66 template <
typename CustomerAwsIdT = Aws::String>
80 m_enabledHasBeenSet =
true;
95 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
97 m_eventCategoriesListHasBeenSet =
true;
98 m_eventCategoriesList = std::forward<EventCategoriesListT>(value);
100 template <
typename EventCategoriesListT = Aws::Vector<Aws::String>>
105 template <
typename EventCategoriesListT = Aws::String>
107 m_eventCategoriesListHasBeenSet =
true;
108 m_eventCategoriesList.emplace_back(std::forward<EventCategoriesListT>(value));
119 template <
typename EventSubscriptionArnT = Aws::String>
121 m_eventSubscriptionArnHasBeenSet =
true;
122 m_eventSubscriptionArn = std::forward<EventSubscriptionArnT>(value);
124 template <
typename EventSubscriptionArnT = Aws::String>
137 template <
typename SnsTopicArnT = Aws::String>
139 m_snsTopicArnHasBeenSet =
true;
140 m_snsTopicArn = std::forward<SnsTopicArnT>(value);
142 template <
typename SnsTopicArnT = Aws::String>
155 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
157 m_sourceIdsListHasBeenSet =
true;
158 m_sourceIdsList = std::forward<SourceIdsListT>(value);
160 template <
typename SourceIdsListT = Aws::Vector<Aws::String>>
165 template <
typename SourceIdsListT = Aws::String>
167 m_sourceIdsListHasBeenSet =
true;
168 m_sourceIdsList.emplace_back(std::forward<SourceIdsListT>(value));
179 template <
typename SourceTypeT = Aws::String>
181 m_sourceTypeHasBeenSet =
true;
182 m_sourceType = std::forward<SourceTypeT>(value);
184 template <
typename SourceTypeT = Aws::String>
200 template <
typename StatusT = Aws::String>
202 m_statusHasBeenSet =
true;
203 m_status = std::forward<StatusT>(value);
205 template <
typename StatusT = Aws::String>
221 template <
typename SubscriptionCreationTimeT = Aws::String>
223 m_subscriptionCreationTimeHasBeenSet =
true;
224 m_subscriptionCreationTime = std::forward<SubscriptionCreationTimeT>(value);
226 template <
typename SubscriptionCreationTimeT = Aws::String>
237 bool m_enabled{
false};
252 bool m_custSubscriptionIdHasBeenSet =
false;
253 bool m_customerAwsIdHasBeenSet =
false;
254 bool m_enabledHasBeenSet =
false;
255 bool m_eventCategoriesListHasBeenSet =
false;
256 bool m_eventSubscriptionArnHasBeenSet =
false;
257 bool m_snsTopicArnHasBeenSet =
false;
258 bool m_sourceIdsListHasBeenSet =
false;
259 bool m_sourceTypeHasBeenSet =
false;
260 bool m_statusHasBeenSet =
false;
261 bool m_subscriptionCreationTimeHasBeenSet =
false;
void SetCustSubscriptionId(CustSubscriptionIdT &&value)
AwsRdsEventSubscriptionDetails & WithEventSubscriptionArn(EventSubscriptionArnT &&value)
void SetEnabled(bool value)
AwsRdsEventSubscriptionDetails & AddEventCategoriesList(EventCategoriesListT &&value)
bool SourceIdsListHasBeenSet() const
bool SnsTopicArnHasBeenSet() const
bool SourceTypeHasBeenSet() const
bool CustomerAwsIdHasBeenSet() const
bool EventCategoriesListHasBeenSet() const
void SetEventSubscriptionArn(EventSubscriptionArnT &&value)
AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsEventSubscriptionDetails & WithCustSubscriptionId(CustSubscriptionIdT &&value)
void SetSourceType(SourceTypeT &&value)
const Aws::Vector< Aws::String > & GetSourceIdsList() const
AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsEventSubscriptionDetails & WithEventCategoriesList(EventCategoriesListT &&value)
const Aws::String & GetCustSubscriptionId() const
bool EnabledHasBeenSet() const
void SetSnsTopicArn(SnsTopicArnT &&value)
void SetStatus(StatusT &&value)
AwsRdsEventSubscriptionDetails & AddSourceIdsList(SourceIdsListT &&value)
void SetCustomerAwsId(CustomerAwsIdT &&value)
bool CustSubscriptionIdHasBeenSet() const
AwsRdsEventSubscriptionDetails & WithSnsTopicArn(SnsTopicArnT &&value)
AwsRdsEventSubscriptionDetails & WithSourceType(SourceTypeT &&value)
AwsRdsEventSubscriptionDetails & WithSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
const Aws::String & GetSourceType() const
void SetEventCategoriesList(EventCategoriesListT &&value)
void SetSubscriptionCreationTime(SubscriptionCreationTimeT &&value)
const Aws::String & GetStatus() const
AwsRdsEventSubscriptionDetails & WithStatus(StatusT &&value)
const Aws::String & GetEventSubscriptionArn() const
const Aws::String & GetSnsTopicArn() const
bool StatusHasBeenSet() const
AwsRdsEventSubscriptionDetails & WithEnabled(bool value)
AWS_SECURITYHUB_API AwsRdsEventSubscriptionDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSubscriptionCreationTime() const
const Aws::Vector< Aws::String > & GetEventCategoriesList() const
bool EventSubscriptionArnHasBeenSet() const
bool SubscriptionCreationTimeHasBeenSet() const
AwsRdsEventSubscriptionDetails & WithCustomerAwsId(CustomerAwsIdT &&value)
void SetSourceIdsList(SourceIdsListT &&value)
AwsRdsEventSubscriptionDetails & WithSourceIdsList(SourceIdsListT &&value)
const Aws::String & GetCustomerAwsId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue