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>
10#include <aws/securityhub/model/AwsSnsTopicSubscription.h>
50 template<
typename KmsMasterKeyIdT = Aws::String>
51 void SetKmsMasterKeyId(KmsMasterKeyIdT&& value) { m_kmsMasterKeyIdHasBeenSet =
true; m_kmsMasterKeyId = std::forward<KmsMasterKeyIdT>(value); }
52 template<
typename KmsMasterKeyIdT = Aws::String>
63 template<
typename SubscriptionT = Aws::Vector<AwsSnsTopicSubscription>>
64 void SetSubscription(SubscriptionT&& value) { m_subscriptionHasBeenSet =
true; m_subscription = std::forward<SubscriptionT>(value); }
65 template<
typename SubscriptionT = Aws::Vector<AwsSnsTopicSubscription>>
67 template<
typename SubscriptionT = AwsSnsTopicSubscription>
68 AwsSnsTopicDetails&
AddSubscription(SubscriptionT&& value) { m_subscriptionHasBeenSet =
true; m_subscription.emplace_back(std::forward<SubscriptionT>(value));
return *
this; }
77 template<
typename TopicNameT = Aws::String>
78 void SetTopicName(TopicNameT&& value) { m_topicNameHasBeenSet =
true; m_topicName = std::forward<TopicNameT>(value); }
79 template<
typename TopicNameT = Aws::String>
89 template<
typename OwnerT = Aws::String>
90 void SetOwner(OwnerT&& value) { m_ownerHasBeenSet =
true; m_owner = std::forward<OwnerT>(value); }
91 template<
typename OwnerT = Aws::String>
102 template<
typename SqsSuccessFeedbackRoleArnT = Aws::String>
103 void SetSqsSuccessFeedbackRoleArn(SqsSuccessFeedbackRoleArnT&& value) { m_sqsSuccessFeedbackRoleArnHasBeenSet =
true; m_sqsSuccessFeedbackRoleArn = std::forward<SqsSuccessFeedbackRoleArnT>(value); }
104 template<
typename SqsSuccessFeedbackRoleArnT = Aws::String>
115 template<
typename SqsFailureFeedbackRoleArnT = Aws::String>
116 void SetSqsFailureFeedbackRoleArn(SqsFailureFeedbackRoleArnT&& value) { m_sqsFailureFeedbackRoleArnHasBeenSet =
true; m_sqsFailureFeedbackRoleArn = std::forward<SqsFailureFeedbackRoleArnT>(value); }
117 template<
typename SqsFailureFeedbackRoleArnT = Aws::String>
128 template<
typename ApplicationSuccessFeedbackRoleArnT = Aws::String>
129 void SetApplicationSuccessFeedbackRoleArn(ApplicationSuccessFeedbackRoleArnT&& value) { m_applicationSuccessFeedbackRoleArnHasBeenSet =
true; m_applicationSuccessFeedbackRoleArn = std::forward<ApplicationSuccessFeedbackRoleArnT>(value); }
130 template<
typename ApplicationSuccessFeedbackRoleArnT = Aws::String>
141 template<
typename FirehoseSuccessFeedbackRoleArnT = Aws::String>
142 void SetFirehoseSuccessFeedbackRoleArn(FirehoseSuccessFeedbackRoleArnT&& value) { m_firehoseSuccessFeedbackRoleArnHasBeenSet =
true; m_firehoseSuccessFeedbackRoleArn = std::forward<FirehoseSuccessFeedbackRoleArnT>(value); }
143 template<
typename FirehoseSuccessFeedbackRoleArnT = Aws::String>
154 template<
typename FirehoseFailureFeedbackRoleArnT = Aws::String>
155 void SetFirehoseFailureFeedbackRoleArn(FirehoseFailureFeedbackRoleArnT&& value) { m_firehoseFailureFeedbackRoleArnHasBeenSet =
true; m_firehoseFailureFeedbackRoleArn = std::forward<FirehoseFailureFeedbackRoleArnT>(value); }
156 template<
typename FirehoseFailureFeedbackRoleArnT = Aws::String>
167 template<
typename HttpSuccessFeedbackRoleArnT = Aws::String>
168 void SetHttpSuccessFeedbackRoleArn(HttpSuccessFeedbackRoleArnT&& value) { m_httpSuccessFeedbackRoleArnHasBeenSet =
true; m_httpSuccessFeedbackRoleArn = std::forward<HttpSuccessFeedbackRoleArnT>(value); }
169 template<
typename HttpSuccessFeedbackRoleArnT = Aws::String>
180 template<
typename HttpFailureFeedbackRoleArnT = Aws::String>
181 void SetHttpFailureFeedbackRoleArn(HttpFailureFeedbackRoleArnT&& value) { m_httpFailureFeedbackRoleArnHasBeenSet =
true; m_httpFailureFeedbackRoleArn = std::forward<HttpFailureFeedbackRoleArnT>(value); }
182 template<
typename HttpFailureFeedbackRoleArnT = Aws::String>
188 bool m_kmsMasterKeyIdHasBeenSet =
false;
191 bool m_subscriptionHasBeenSet =
false;
194 bool m_topicNameHasBeenSet =
false;
197 bool m_ownerHasBeenSet =
false;
200 bool m_sqsSuccessFeedbackRoleArnHasBeenSet =
false;
203 bool m_sqsFailureFeedbackRoleArnHasBeenSet =
false;
206 bool m_applicationSuccessFeedbackRoleArnHasBeenSet =
false;
209 bool m_firehoseSuccessFeedbackRoleArnHasBeenSet =
false;
212 bool m_firehoseFailureFeedbackRoleArnHasBeenSet =
false;
215 bool m_httpSuccessFeedbackRoleArnHasBeenSet =
false;
218 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