AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsSnsTopicDetails.h
1
6#pragma once
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>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SECURITYHUB_API AwsSnsTopicDetails();
38 AWS_SECURITYHUB_API AwsSnsTopicDetails(Aws::Utils::Json::JsonView jsonValue);
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetKmsMasterKeyId() const{ return m_kmsMasterKeyId; }
49 inline bool KmsMasterKeyIdHasBeenSet() const { return m_kmsMasterKeyIdHasBeenSet; }
50 inline void SetKmsMasterKeyId(const Aws::String& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = value; }
51 inline void SetKmsMasterKeyId(Aws::String&& value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId = std::move(value); }
52 inline void SetKmsMasterKeyId(const char* value) { m_kmsMasterKeyIdHasBeenSet = true; m_kmsMasterKeyId.assign(value); }
53 inline AwsSnsTopicDetails& WithKmsMasterKeyId(const Aws::String& value) { SetKmsMasterKeyId(value); return *this;}
54 inline AwsSnsTopicDetails& WithKmsMasterKeyId(Aws::String&& value) { SetKmsMasterKeyId(std::move(value)); return *this;}
55 inline AwsSnsTopicDetails& WithKmsMasterKeyId(const char* value) { SetKmsMasterKeyId(value); return *this;}
57
59
63 inline const Aws::Vector<AwsSnsTopicSubscription>& GetSubscription() const{ return m_subscription; }
64 inline bool SubscriptionHasBeenSet() const { return m_subscriptionHasBeenSet; }
65 inline void SetSubscription(const Aws::Vector<AwsSnsTopicSubscription>& value) { m_subscriptionHasBeenSet = true; m_subscription = value; }
66 inline void SetSubscription(Aws::Vector<AwsSnsTopicSubscription>&& value) { m_subscriptionHasBeenSet = true; m_subscription = std::move(value); }
69 inline AwsSnsTopicDetails& AddSubscription(const AwsSnsTopicSubscription& value) { m_subscriptionHasBeenSet = true; m_subscription.push_back(value); return *this; }
70 inline AwsSnsTopicDetails& AddSubscription(AwsSnsTopicSubscription&& value) { m_subscriptionHasBeenSet = true; m_subscription.push_back(std::move(value)); return *this; }
72
74
77 inline const Aws::String& GetTopicName() const{ return m_topicName; }
78 inline bool TopicNameHasBeenSet() const { return m_topicNameHasBeenSet; }
79 inline void SetTopicName(const Aws::String& value) { m_topicNameHasBeenSet = true; m_topicName = value; }
80 inline void SetTopicName(Aws::String&& value) { m_topicNameHasBeenSet = true; m_topicName = std::move(value); }
81 inline void SetTopicName(const char* value) { m_topicNameHasBeenSet = true; m_topicName.assign(value); }
82 inline AwsSnsTopicDetails& WithTopicName(const Aws::String& value) { SetTopicName(value); return *this;}
83 inline AwsSnsTopicDetails& WithTopicName(Aws::String&& value) { SetTopicName(std::move(value)); return *this;}
84 inline AwsSnsTopicDetails& WithTopicName(const char* value) { SetTopicName(value); return *this;}
86
88
91 inline const Aws::String& GetOwner() const{ return m_owner; }
92 inline bool OwnerHasBeenSet() const { return m_ownerHasBeenSet; }
93 inline void SetOwner(const Aws::String& value) { m_ownerHasBeenSet = true; m_owner = value; }
94 inline void SetOwner(Aws::String&& value) { m_ownerHasBeenSet = true; m_owner = std::move(value); }
95 inline void SetOwner(const char* value) { m_ownerHasBeenSet = true; m_owner.assign(value); }
96 inline AwsSnsTopicDetails& WithOwner(const Aws::String& value) { SetOwner(value); return *this;}
97 inline AwsSnsTopicDetails& WithOwner(Aws::String&& value) { SetOwner(std::move(value)); return *this;}
98 inline AwsSnsTopicDetails& WithOwner(const char* value) { SetOwner(value); return *this;}
100
102
106 inline const Aws::String& GetSqsSuccessFeedbackRoleArn() const{ return m_sqsSuccessFeedbackRoleArn; }
107 inline bool SqsSuccessFeedbackRoleArnHasBeenSet() const { return m_sqsSuccessFeedbackRoleArnHasBeenSet; }
108 inline void SetSqsSuccessFeedbackRoleArn(const Aws::String& value) { m_sqsSuccessFeedbackRoleArnHasBeenSet = true; m_sqsSuccessFeedbackRoleArn = value; }
109 inline void SetSqsSuccessFeedbackRoleArn(Aws::String&& value) { m_sqsSuccessFeedbackRoleArnHasBeenSet = true; m_sqsSuccessFeedbackRoleArn = std::move(value); }
110 inline void SetSqsSuccessFeedbackRoleArn(const char* value) { m_sqsSuccessFeedbackRoleArnHasBeenSet = true; m_sqsSuccessFeedbackRoleArn.assign(value); }
113 inline AwsSnsTopicDetails& WithSqsSuccessFeedbackRoleArn(const char* value) { SetSqsSuccessFeedbackRoleArn(value); return *this;}
115
117
121 inline const Aws::String& GetSqsFailureFeedbackRoleArn() const{ return m_sqsFailureFeedbackRoleArn; }
122 inline bool SqsFailureFeedbackRoleArnHasBeenSet() const { return m_sqsFailureFeedbackRoleArnHasBeenSet; }
123 inline void SetSqsFailureFeedbackRoleArn(const Aws::String& value) { m_sqsFailureFeedbackRoleArnHasBeenSet = true; m_sqsFailureFeedbackRoleArn = value; }
124 inline void SetSqsFailureFeedbackRoleArn(Aws::String&& value) { m_sqsFailureFeedbackRoleArnHasBeenSet = true; m_sqsFailureFeedbackRoleArn = std::move(value); }
125 inline void SetSqsFailureFeedbackRoleArn(const char* value) { m_sqsFailureFeedbackRoleArnHasBeenSet = true; m_sqsFailureFeedbackRoleArn.assign(value); }
128 inline AwsSnsTopicDetails& WithSqsFailureFeedbackRoleArn(const char* value) { SetSqsFailureFeedbackRoleArn(value); return *this;}
130
132
136 inline const Aws::String& GetApplicationSuccessFeedbackRoleArn() const{ return m_applicationSuccessFeedbackRoleArn; }
137 inline bool ApplicationSuccessFeedbackRoleArnHasBeenSet() const { return m_applicationSuccessFeedbackRoleArnHasBeenSet; }
138 inline void SetApplicationSuccessFeedbackRoleArn(const Aws::String& value) { m_applicationSuccessFeedbackRoleArnHasBeenSet = true; m_applicationSuccessFeedbackRoleArn = value; }
139 inline void SetApplicationSuccessFeedbackRoleArn(Aws::String&& value) { m_applicationSuccessFeedbackRoleArnHasBeenSet = true; m_applicationSuccessFeedbackRoleArn = std::move(value); }
140 inline void SetApplicationSuccessFeedbackRoleArn(const char* value) { m_applicationSuccessFeedbackRoleArnHasBeenSet = true; m_applicationSuccessFeedbackRoleArn.assign(value); }
145
147
151 inline const Aws::String& GetFirehoseSuccessFeedbackRoleArn() const{ return m_firehoseSuccessFeedbackRoleArn; }
152 inline bool FirehoseSuccessFeedbackRoleArnHasBeenSet() const { return m_firehoseSuccessFeedbackRoleArnHasBeenSet; }
153 inline void SetFirehoseSuccessFeedbackRoleArn(const Aws::String& value) { m_firehoseSuccessFeedbackRoleArnHasBeenSet = true; m_firehoseSuccessFeedbackRoleArn = value; }
154 inline void SetFirehoseSuccessFeedbackRoleArn(Aws::String&& value) { m_firehoseSuccessFeedbackRoleArnHasBeenSet = true; m_firehoseSuccessFeedbackRoleArn = std::move(value); }
155 inline void SetFirehoseSuccessFeedbackRoleArn(const char* value) { m_firehoseSuccessFeedbackRoleArnHasBeenSet = true; m_firehoseSuccessFeedbackRoleArn.assign(value); }
160
162
166 inline const Aws::String& GetFirehoseFailureFeedbackRoleArn() const{ return m_firehoseFailureFeedbackRoleArn; }
167 inline bool FirehoseFailureFeedbackRoleArnHasBeenSet() const { return m_firehoseFailureFeedbackRoleArnHasBeenSet; }
168 inline void SetFirehoseFailureFeedbackRoleArn(const Aws::String& value) { m_firehoseFailureFeedbackRoleArnHasBeenSet = true; m_firehoseFailureFeedbackRoleArn = value; }
169 inline void SetFirehoseFailureFeedbackRoleArn(Aws::String&& value) { m_firehoseFailureFeedbackRoleArnHasBeenSet = true; m_firehoseFailureFeedbackRoleArn = std::move(value); }
170 inline void SetFirehoseFailureFeedbackRoleArn(const char* value) { m_firehoseFailureFeedbackRoleArnHasBeenSet = true; m_firehoseFailureFeedbackRoleArn.assign(value); }
175
177
181 inline const Aws::String& GetHttpSuccessFeedbackRoleArn() const{ return m_httpSuccessFeedbackRoleArn; }
182 inline bool HttpSuccessFeedbackRoleArnHasBeenSet() const { return m_httpSuccessFeedbackRoleArnHasBeenSet; }
183 inline void SetHttpSuccessFeedbackRoleArn(const Aws::String& value) { m_httpSuccessFeedbackRoleArnHasBeenSet = true; m_httpSuccessFeedbackRoleArn = value; }
184 inline void SetHttpSuccessFeedbackRoleArn(Aws::String&& value) { m_httpSuccessFeedbackRoleArnHasBeenSet = true; m_httpSuccessFeedbackRoleArn = std::move(value); }
185 inline void SetHttpSuccessFeedbackRoleArn(const char* value) { m_httpSuccessFeedbackRoleArnHasBeenSet = true; m_httpSuccessFeedbackRoleArn.assign(value); }
188 inline AwsSnsTopicDetails& WithHttpSuccessFeedbackRoleArn(const char* value) { SetHttpSuccessFeedbackRoleArn(value); return *this;}
190
192
196 inline const Aws::String& GetHttpFailureFeedbackRoleArn() const{ return m_httpFailureFeedbackRoleArn; }
197 inline bool HttpFailureFeedbackRoleArnHasBeenSet() const { return m_httpFailureFeedbackRoleArnHasBeenSet; }
198 inline void SetHttpFailureFeedbackRoleArn(const Aws::String& value) { m_httpFailureFeedbackRoleArnHasBeenSet = true; m_httpFailureFeedbackRoleArn = value; }
199 inline void SetHttpFailureFeedbackRoleArn(Aws::String&& value) { m_httpFailureFeedbackRoleArnHasBeenSet = true; m_httpFailureFeedbackRoleArn = std::move(value); }
200 inline void SetHttpFailureFeedbackRoleArn(const char* value) { m_httpFailureFeedbackRoleArnHasBeenSet = true; m_httpFailureFeedbackRoleArn.assign(value); }
203 inline AwsSnsTopicDetails& WithHttpFailureFeedbackRoleArn(const char* value) { SetHttpFailureFeedbackRoleArn(value); return *this;}
205 private:
206
207 Aws::String m_kmsMasterKeyId;
208 bool m_kmsMasterKeyIdHasBeenSet = false;
209
211 bool m_subscriptionHasBeenSet = false;
212
213 Aws::String m_topicName;
214 bool m_topicNameHasBeenSet = false;
215
216 Aws::String m_owner;
217 bool m_ownerHasBeenSet = false;
218
219 Aws::String m_sqsSuccessFeedbackRoleArn;
220 bool m_sqsSuccessFeedbackRoleArnHasBeenSet = false;
221
222 Aws::String m_sqsFailureFeedbackRoleArn;
223 bool m_sqsFailureFeedbackRoleArnHasBeenSet = false;
224
225 Aws::String m_applicationSuccessFeedbackRoleArn;
226 bool m_applicationSuccessFeedbackRoleArnHasBeenSet = false;
227
228 Aws::String m_firehoseSuccessFeedbackRoleArn;
229 bool m_firehoseSuccessFeedbackRoleArnHasBeenSet = false;
230
231 Aws::String m_firehoseFailureFeedbackRoleArn;
232 bool m_firehoseFailureFeedbackRoleArnHasBeenSet = false;
233
234 Aws::String m_httpSuccessFeedbackRoleArn;
235 bool m_httpSuccessFeedbackRoleArnHasBeenSet = false;
236
237 Aws::String m_httpFailureFeedbackRoleArn;
238 bool m_httpFailureFeedbackRoleArnHasBeenSet = false;
239 };
240
241} // namespace Model
242} // namespace SecurityHub
243} // namespace Aws
void SetFirehoseSuccessFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & WithOwner(Aws::String &&value)
void SetFirehoseFailureFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & WithHttpFailureFeedbackRoleArn(const Aws::String &value)
AwsSnsTopicDetails & WithSqsFailureFeedbackRoleArn(const Aws::String &value)
void SetSubscription(const Aws::Vector< AwsSnsTopicSubscription > &value)
AwsSnsTopicDetails & WithApplicationSuccessFeedbackRoleArn(Aws::String &&value)
void SetHttpFailureFeedbackRoleArn(const Aws::String &value)
const Aws::String & GetSqsSuccessFeedbackRoleArn() const
AwsSnsTopicDetails & WithFirehoseFailureFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & WithFirehoseSuccessFeedbackRoleArn(const Aws::String &value)
const Aws::String & GetSqsFailureFeedbackRoleArn() const
AwsSnsTopicDetails & WithSqsSuccessFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithApplicationSuccessFeedbackRoleArn(const Aws::String &value)
AWS_SECURITYHUB_API AwsSnsTopicDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsSnsTopicDetails & WithKmsMasterKeyId(Aws::String &&value)
void SetApplicationSuccessFeedbackRoleArn(const Aws::String &value)
AwsSnsTopicDetails & WithSqsSuccessFeedbackRoleArn(const Aws::String &value)
const Aws::String & GetHttpFailureFeedbackRoleArn() const
AwsSnsTopicDetails & WithKmsMasterKeyId(const Aws::String &value)
void SetSqsFailureFeedbackRoleArn(Aws::String &&value)
void SetKmsMasterKeyId(const Aws::String &value)
AwsSnsTopicDetails & WithFirehoseFailureFeedbackRoleArn(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsSnsTopicDetails & WithKmsMasterKeyId(const char *value)
void SetFirehoseFailureFeedbackRoleArn(const Aws::String &value)
void SetHttpSuccessFeedbackRoleArn(Aws::String &&value)
void SetSqsSuccessFeedbackRoleArn(const Aws::String &value)
void SetSubscription(Aws::Vector< AwsSnsTopicSubscription > &&value)
const Aws::String & GetApplicationSuccessFeedbackRoleArn() const
void SetHttpFailureFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithApplicationSuccessFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & WithFirehoseFailureFeedbackRoleArn(const Aws::String &value)
AwsSnsTopicDetails & WithSqsFailureFeedbackRoleArn(const char *value)
const Aws::Vector< AwsSnsTopicSubscription > & GetSubscription() const
void SetApplicationSuccessFeedbackRoleArn(const char *value)
const Aws::String & GetFirehoseFailureFeedbackRoleArn() const
AwsSnsTopicDetails & WithSqsSuccessFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & AddSubscription(AwsSnsTopicSubscription &&value)
AwsSnsTopicDetails & WithSubscription(const Aws::Vector< AwsSnsTopicSubscription > &value)
AwsSnsTopicDetails & WithTopicName(const Aws::String &value)
AwsSnsTopicDetails & WithSubscription(Aws::Vector< AwsSnsTopicSubscription > &&value)
AwsSnsTopicDetails & AddSubscription(const AwsSnsTopicSubscription &value)
const Aws::String & GetFirehoseSuccessFeedbackRoleArn() const
AwsSnsTopicDetails & WithTopicName(Aws::String &&value)
AwsSnsTopicDetails & WithFirehoseSuccessFeedbackRoleArn(const char *value)
AwsSnsTopicDetails & WithHttpFailureFeedbackRoleArn(Aws::String &&value)
void SetApplicationSuccessFeedbackRoleArn(Aws::String &&value)
void SetFirehoseFailureFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithHttpSuccessFeedbackRoleArn(const Aws::String &value)
void SetFirehoseSuccessFeedbackRoleArn(const Aws::String &value)
AwsSnsTopicDetails & WithOwner(const char *value)
AwsSnsTopicDetails & WithTopicName(const char *value)
AwsSnsTopicDetails & WithFirehoseSuccessFeedbackRoleArn(Aws::String &&value)
const Aws::String & GetHttpSuccessFeedbackRoleArn() const
void SetHttpSuccessFeedbackRoleArn(const Aws::String &value)
AwsSnsTopicDetails & WithHttpSuccessFeedbackRoleArn(Aws::String &&value)
AWS_SECURITYHUB_API AwsSnsTopicDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSqsSuccessFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithHttpSuccessFeedbackRoleArn(const char *value)
void SetSqsFailureFeedbackRoleArn(const Aws::String &value)
void SetFirehoseSuccessFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithSqsFailureFeedbackRoleArn(Aws::String &&value)
AwsSnsTopicDetails & WithHttpFailureFeedbackRoleArn(const char *value)
void SetTopicName(const Aws::String &value)
AwsSnsTopicDetails & WithOwner(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue