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>
10#include <aws/securityhub/model/AwsSnsTopicSubscription.h>
44 template <
typename KmsMasterKeyIdT = Aws::String>
46 m_kmsMasterKeyIdHasBeenSet =
true;
47 m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value);
49 template <
typename KmsMasterKeyIdT = Aws::String>
63 template <
typename SubscriptionT = Aws::Vector<AwsSnsTopicSubscription>>
65 m_subscriptionHasBeenSet =
true;
66 m_subscription = std::forward<SubscriptionT>(value);
68 template <
typename SubscriptionT = Aws::Vector<AwsSnsTopicSubscription>>
73 template <
typename SubscriptionT = AwsSnsTopicSubscription>
75 m_subscriptionHasBeenSet =
true;
76 m_subscription.emplace_back(std::forward<SubscriptionT>(value));
87 template <
typename TopicNameT = Aws::String>
89 m_topicNameHasBeenSet =
true;
90 m_topicName = std::forward<TopicNameT>(value);
92 template <
typename TopicNameT = Aws::String>
105 template <
typename OwnerT = Aws::String>
107 m_ownerHasBeenSet =
true;
108 m_owner = std::forward<OwnerT>(value);
110 template <
typename OwnerT = Aws::String>
112 SetOwner(std::forward<OwnerT>(value));
124 template <
typename SqsSuccessFeedbackRoleArnT = Aws::String>
126 m_sqsSuccessFeedbackRoleArnHasBeenSet =
true;
127 m_sqsSuccessFeedbackRoleArn = std::forward<SqsSuccessFeedbackRoleArnT>(value);
129 template <
typename SqsSuccessFeedbackRoleArnT = Aws::String>
143 template <
typename SqsFailureFeedbackRoleArnT = Aws::String>
145 m_sqsFailureFeedbackRoleArnHasBeenSet =
true;
146 m_sqsFailureFeedbackRoleArn = std::forward<SqsFailureFeedbackRoleArnT>(value);
148 template <
typename SqsFailureFeedbackRoleArnT = Aws::String>
162 template <
typename ApplicationSuccessFeedbackRoleArnT = Aws::String>
164 m_applicationSuccessFeedbackRoleArnHasBeenSet =
true;
165 m_applicationSuccessFeedbackRoleArn = std::forward<ApplicationSuccessFeedbackRoleArnT>(value);
167 template <
typename ApplicationSuccessFeedbackRoleArnT = Aws::String>
181 template <
typename FirehoseSuccessFeedbackRoleArnT = Aws::String>
183 m_firehoseSuccessFeedbackRoleArnHasBeenSet =
true;
184 m_firehoseSuccessFeedbackRoleArn = std::forward<FirehoseSuccessFeedbackRoleArnT>(value);
186 template <
typename FirehoseSuccessFeedbackRoleArnT = Aws::String>
200 template <
typename FirehoseFailureFeedbackRoleArnT = Aws::String>
202 m_firehoseFailureFeedbackRoleArnHasBeenSet =
true;
203 m_firehoseFailureFeedbackRoleArn = std::forward<FirehoseFailureFeedbackRoleArnT>(value);
205 template <
typename FirehoseFailureFeedbackRoleArnT = Aws::String>
219 template <
typename HttpSuccessFeedbackRoleArnT = Aws::String>
221 m_httpSuccessFeedbackRoleArnHasBeenSet =
true;
222 m_httpSuccessFeedbackRoleArn = std::forward<HttpSuccessFeedbackRoleArnT>(value);
224 template <
typename HttpSuccessFeedbackRoleArnT = Aws::String>
238 template <
typename HttpFailureFeedbackRoleArnT = Aws::String>
240 m_httpFailureFeedbackRoleArnHasBeenSet =
true;
241 m_httpFailureFeedbackRoleArn = std::forward<HttpFailureFeedbackRoleArnT>(value);
243 template <
typename HttpFailureFeedbackRoleArnT = Aws::String>
271 bool m_kmsMasterKeyIdHasBeenSet =
false;
272 bool m_subscriptionHasBeenSet =
false;
273 bool m_topicNameHasBeenSet =
false;
274 bool m_ownerHasBeenSet =
false;
275 bool m_sqsSuccessFeedbackRoleArnHasBeenSet =
false;
276 bool m_sqsFailureFeedbackRoleArnHasBeenSet =
false;
277 bool m_applicationSuccessFeedbackRoleArnHasBeenSet =
false;
278 bool m_firehoseSuccessFeedbackRoleArnHasBeenSet =
false;
279 bool m_firehoseFailureFeedbackRoleArnHasBeenSet =
false;
280 bool m_httpSuccessFeedbackRoleArnHasBeenSet =
false;
281 bool m_httpFailureFeedbackRoleArnHasBeenSet =
false;
void SetFirehoseFailureFeedbackRoleArn(FirehoseFailureFeedbackRoleArnT &&value)
void SetSqsSuccessFeedbackRoleArn(SqsSuccessFeedbackRoleArnT &&value)
const Aws::String & GetSqsSuccessFeedbackRoleArn() const
void SetSqsFailureFeedbackRoleArn(SqsFailureFeedbackRoleArnT &&value)
void SetKmsMasterKeyId(KmsMasterKeyIdT &&value)
const Aws::String & GetSqsFailureFeedbackRoleArn() const
AWS_SECURITYHUB_API AwsSnsTopicDetails()=default
AwsSnsTopicDetails & WithTopicName(TopicNameT &&value)
bool HttpFailureFeedbackRoleArnHasBeenSet() const
AWS_SECURITYHUB_API AwsSnsTopicDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetHttpFailureFeedbackRoleArn() const
void SetApplicationSuccessFeedbackRoleArn(ApplicationSuccessFeedbackRoleArnT &&value)
AwsSnsTopicDetails & WithOwner(OwnerT &&value)
bool SubscriptionHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSnsTopicDetails & WithApplicationSuccessFeedbackRoleArn(ApplicationSuccessFeedbackRoleArnT &&value)
void SetSubscription(SubscriptionT &&value)
bool OwnerHasBeenSet() const
const Aws::String & GetKmsMasterKeyId() const
AwsSnsTopicDetails & WithHttpSuccessFeedbackRoleArn(HttpSuccessFeedbackRoleArnT &&value)
AwsSnsTopicDetails & WithFirehoseFailureFeedbackRoleArn(FirehoseFailureFeedbackRoleArnT &&value)
const Aws::String & GetApplicationSuccessFeedbackRoleArn() const
void SetOwner(OwnerT &&value)
void SetFirehoseSuccessFeedbackRoleArn(FirehoseSuccessFeedbackRoleArnT &&value)
AwsSnsTopicDetails & WithHttpFailureFeedbackRoleArn(HttpFailureFeedbackRoleArnT &&value)
bool HttpSuccessFeedbackRoleArnHasBeenSet() const
AwsSnsTopicDetails & WithKmsMasterKeyId(KmsMasterKeyIdT &&value)
const Aws::Vector< AwsSnsTopicSubscription > & GetSubscription() const
const Aws::String & GetFirehoseFailureFeedbackRoleArn() const
AwsSnsTopicDetails & WithSqsSuccessFeedbackRoleArn(SqsSuccessFeedbackRoleArnT &&value)
bool TopicNameHasBeenSet() const
const Aws::String & GetFirehoseSuccessFeedbackRoleArn() const
AwsSnsTopicDetails & AddSubscription(SubscriptionT &&value)
bool ApplicationSuccessFeedbackRoleArnHasBeenSet() const
bool FirehoseSuccessFeedbackRoleArnHasBeenSet() const
const Aws::String & GetTopicName() const
void SetHttpFailureFeedbackRoleArn(HttpFailureFeedbackRoleArnT &&value)
void SetTopicName(TopicNameT &&value)
const Aws::String & GetOwner() const
bool SqsSuccessFeedbackRoleArnHasBeenSet() const
void SetHttpSuccessFeedbackRoleArn(HttpSuccessFeedbackRoleArnT &&value)
const Aws::String & GetHttpSuccessFeedbackRoleArn() const
AWS_SECURITYHUB_API AwsSnsTopicDetails(Aws::Utils::Json::JsonView jsonValue)
bool FirehoseFailureFeedbackRoleArnHasBeenSet() const
AwsSnsTopicDetails & WithFirehoseSuccessFeedbackRoleArn(FirehoseSuccessFeedbackRoleArnT &&value)
AwsSnsTopicDetails & WithSubscription(SubscriptionT &&value)
bool KmsMasterKeyIdHasBeenSet() const
AwsSnsTopicDetails & WithSqsFailureFeedbackRoleArn(SqsFailureFeedbackRoleArnT &&value)
bool SqsFailureFeedbackRoleArnHasBeenSet() 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