7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
49 template<
typename CustSubscriptionIdT = Aws::String>
50 void SetCustSubscriptionId(CustSubscriptionIdT&& value) { m_custSubscriptionIdHasBeenSet =
true; m_custSubscriptionId = std::forward<CustSubscriptionIdT>(value); }
51 template<
typename CustSubscriptionIdT = Aws::String>
61 template<
typename CustomerAwsIdT = Aws::String>
62 void SetCustomerAwsId(CustomerAwsIdT&& value) { m_customerAwsIdHasBeenSet =
true; m_customerAwsId = std::forward<CustomerAwsIdT>(value); }
63 template<
typename CustomerAwsIdT = Aws::String>
73 inline void SetEnabled(
bool value) { m_enabledHasBeenSet =
true; m_enabled = value; }
83 template<
typename EventCategoriesListT = Aws::Vector<Aws::String>>
84 void SetEventCategoriesList(EventCategoriesListT&& value) { m_eventCategoriesListHasBeenSet =
true; m_eventCategoriesList = std::forward<EventCategoriesListT>(value); }
85 template<
typename EventCategoriesListT = Aws::Vector<Aws::String>>
87 template<
typename EventCategoriesListT = Aws::String>
97 template<
typename EventSubscriptionArnT = Aws::String>
98 void SetEventSubscriptionArn(EventSubscriptionArnT&& value) { m_eventSubscriptionArnHasBeenSet =
true; m_eventSubscriptionArn = std::forward<EventSubscriptionArnT>(value); }
99 template<
typename EventSubscriptionArnT = Aws::String>
109 template<
typename SnsTopicArnT = Aws::String>
110 void SetSnsTopicArn(SnsTopicArnT&& value) { m_snsTopicArnHasBeenSet =
true; m_snsTopicArn = std::forward<SnsTopicArnT>(value); }
111 template<
typename SnsTopicArnT = Aws::String>
121 template<
typename SourceIdsListT = Aws::Vector<Aws::String>>
122 void SetSourceIdsList(SourceIdsListT&& value) { m_sourceIdsListHasBeenSet =
true; m_sourceIdsList = std::forward<SourceIdsListT>(value); }
123 template<
typename SourceIdsListT = Aws::Vector<Aws::String>>
125 template<
typename SourceIdsListT = Aws::String>
135 template<
typename SourceTypeT = Aws::String>
136 void SetSourceType(SourceTypeT&& value) { m_sourceTypeHasBeenSet =
true; m_sourceType = std::forward<SourceTypeT>(value); }
137 template<
typename SourceTypeT = Aws::String>
150 template<
typename StatusT = Aws::String>
151 void SetStatus(StatusT&& value) { m_statusHasBeenSet =
true; m_status = std::forward<StatusT>(value); }
152 template<
typename StatusT = Aws::String>
165 template<
typename SubscriptionCreationTimeT = Aws::String>
166 void SetSubscriptionCreationTime(SubscriptionCreationTimeT&& value) { m_subscriptionCreationTimeHasBeenSet =
true; m_subscriptionCreationTime = std::forward<SubscriptionCreationTimeT>(value); }
167 template<
typename SubscriptionCreationTimeT = Aws::String>
173 bool m_custSubscriptionIdHasBeenSet =
false;
176 bool m_customerAwsIdHasBeenSet =
false;
178 bool m_enabled{
false};
179 bool m_enabledHasBeenSet =
false;
182 bool m_eventCategoriesListHasBeenSet =
false;
185 bool m_eventSubscriptionArnHasBeenSet =
false;
188 bool m_snsTopicArnHasBeenSet =
false;
191 bool m_sourceIdsListHasBeenSet =
false;
194 bool m_sourceTypeHasBeenSet =
false;
197 bool m_statusHasBeenSet =
false;
200 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