AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
Configuration.h
1
6#pragma once
7#include <aws/accessanalyzer/AccessAnalyzer_EXPORTS.h>
8#include <aws/accessanalyzer/model/EbsSnapshotConfiguration.h>
9#include <aws/accessanalyzer/model/EcrRepositoryConfiguration.h>
10#include <aws/accessanalyzer/model/IamRoleConfiguration.h>
11#include <aws/accessanalyzer/model/EfsFileSystemConfiguration.h>
12#include <aws/accessanalyzer/model/KmsKeyConfiguration.h>
13#include <aws/accessanalyzer/model/RdsDbClusterSnapshotConfiguration.h>
14#include <aws/accessanalyzer/model/RdsDbSnapshotConfiguration.h>
15#include <aws/accessanalyzer/model/SecretsManagerSecretConfiguration.h>
16#include <aws/accessanalyzer/model/S3BucketConfiguration.h>
17#include <aws/accessanalyzer/model/SnsTopicConfiguration.h>
18#include <aws/accessanalyzer/model/SqsQueueConfiguration.h>
19#include <aws/accessanalyzer/model/S3ExpressDirectoryBucketConfiguration.h>
20#include <aws/accessanalyzer/model/DynamodbStreamConfiguration.h>
21#include <aws/accessanalyzer/model/DynamodbTableConfiguration.h>
22#include <utility>
23
24namespace Aws
25{
26namespace Utils
27{
28namespace Json
29{
30 class JsonValue;
31 class JsonView;
32} // namespace Json
33} // namespace Utils
34namespace AccessAnalyzer
35{
36namespace Model
37{
38
47 {
48 public:
49 AWS_ACCESSANALYZER_API Configuration();
50 AWS_ACCESSANALYZER_API Configuration(Aws::Utils::Json::JsonView jsonValue);
51 AWS_ACCESSANALYZER_API Configuration& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const EbsSnapshotConfiguration& GetEbsSnapshot() const{ return m_ebsSnapshot; }
60 inline bool EbsSnapshotHasBeenSet() const { return m_ebsSnapshotHasBeenSet; }
61 inline void SetEbsSnapshot(const EbsSnapshotConfiguration& value) { m_ebsSnapshotHasBeenSet = true; m_ebsSnapshot = value; }
62 inline void SetEbsSnapshot(EbsSnapshotConfiguration&& value) { m_ebsSnapshotHasBeenSet = true; m_ebsSnapshot = std::move(value); }
63 inline Configuration& WithEbsSnapshot(const EbsSnapshotConfiguration& value) { SetEbsSnapshot(value); return *this;}
64 inline Configuration& WithEbsSnapshot(EbsSnapshotConfiguration&& value) { SetEbsSnapshot(std::move(value)); return *this;}
66
68
71 inline const EcrRepositoryConfiguration& GetEcrRepository() const{ return m_ecrRepository; }
72 inline bool EcrRepositoryHasBeenSet() const { return m_ecrRepositoryHasBeenSet; }
73 inline void SetEcrRepository(const EcrRepositoryConfiguration& value) { m_ecrRepositoryHasBeenSet = true; m_ecrRepository = value; }
74 inline void SetEcrRepository(EcrRepositoryConfiguration&& value) { m_ecrRepositoryHasBeenSet = true; m_ecrRepository = std::move(value); }
75 inline Configuration& WithEcrRepository(const EcrRepositoryConfiguration& value) { SetEcrRepository(value); return *this;}
76 inline Configuration& WithEcrRepository(EcrRepositoryConfiguration&& value) { SetEcrRepository(std::move(value)); return *this;}
78
80
83 inline const IamRoleConfiguration& GetIamRole() const{ return m_iamRole; }
84 inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
85 inline void SetIamRole(const IamRoleConfiguration& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
86 inline void SetIamRole(IamRoleConfiguration&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
87 inline Configuration& WithIamRole(const IamRoleConfiguration& value) { SetIamRole(value); return *this;}
88 inline Configuration& WithIamRole(IamRoleConfiguration&& value) { SetIamRole(std::move(value)); return *this;}
90
92
95 inline const EfsFileSystemConfiguration& GetEfsFileSystem() const{ return m_efsFileSystem; }
96 inline bool EfsFileSystemHasBeenSet() const { return m_efsFileSystemHasBeenSet; }
97 inline void SetEfsFileSystem(const EfsFileSystemConfiguration& value) { m_efsFileSystemHasBeenSet = true; m_efsFileSystem = value; }
98 inline void SetEfsFileSystem(EfsFileSystemConfiguration&& value) { m_efsFileSystemHasBeenSet = true; m_efsFileSystem = std::move(value); }
99 inline Configuration& WithEfsFileSystem(const EfsFileSystemConfiguration& value) { SetEfsFileSystem(value); return *this;}
100 inline Configuration& WithEfsFileSystem(EfsFileSystemConfiguration&& value) { SetEfsFileSystem(std::move(value)); return *this;}
102
104
107 inline const KmsKeyConfiguration& GetKmsKey() const{ return m_kmsKey; }
108 inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
109 inline void SetKmsKey(const KmsKeyConfiguration& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
110 inline void SetKmsKey(KmsKeyConfiguration&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
111 inline Configuration& WithKmsKey(const KmsKeyConfiguration& value) { SetKmsKey(value); return *this;}
112 inline Configuration& WithKmsKey(KmsKeyConfiguration&& value) { SetKmsKey(std::move(value)); return *this;}
114
116
120 inline const RdsDbClusterSnapshotConfiguration& GetRdsDbClusterSnapshot() const{ return m_rdsDbClusterSnapshot; }
121 inline bool RdsDbClusterSnapshotHasBeenSet() const { return m_rdsDbClusterSnapshotHasBeenSet; }
122 inline void SetRdsDbClusterSnapshot(const RdsDbClusterSnapshotConfiguration& value) { m_rdsDbClusterSnapshotHasBeenSet = true; m_rdsDbClusterSnapshot = value; }
123 inline void SetRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration&& value) { m_rdsDbClusterSnapshotHasBeenSet = true; m_rdsDbClusterSnapshot = std::move(value); }
127
129
132 inline const RdsDbSnapshotConfiguration& GetRdsDbSnapshot() const{ return m_rdsDbSnapshot; }
133 inline bool RdsDbSnapshotHasBeenSet() const { return m_rdsDbSnapshotHasBeenSet; }
134 inline void SetRdsDbSnapshot(const RdsDbSnapshotConfiguration& value) { m_rdsDbSnapshotHasBeenSet = true; m_rdsDbSnapshot = value; }
135 inline void SetRdsDbSnapshot(RdsDbSnapshotConfiguration&& value) { m_rdsDbSnapshotHasBeenSet = true; m_rdsDbSnapshot = std::move(value); }
136 inline Configuration& WithRdsDbSnapshot(const RdsDbSnapshotConfiguration& value) { SetRdsDbSnapshot(value); return *this;}
137 inline Configuration& WithRdsDbSnapshot(RdsDbSnapshotConfiguration&& value) { SetRdsDbSnapshot(std::move(value)); return *this;}
139
141
144 inline const SecretsManagerSecretConfiguration& GetSecretsManagerSecret() const{ return m_secretsManagerSecret; }
145 inline bool SecretsManagerSecretHasBeenSet() const { return m_secretsManagerSecretHasBeenSet; }
146 inline void SetSecretsManagerSecret(const SecretsManagerSecretConfiguration& value) { m_secretsManagerSecretHasBeenSet = true; m_secretsManagerSecret = value; }
147 inline void SetSecretsManagerSecret(SecretsManagerSecretConfiguration&& value) { m_secretsManagerSecretHasBeenSet = true; m_secretsManagerSecret = std::move(value); }
151
153
156 inline const S3BucketConfiguration& GetS3Bucket() const{ return m_s3Bucket; }
157 inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
158 inline void SetS3Bucket(const S3BucketConfiguration& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
159 inline void SetS3Bucket(S3BucketConfiguration&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
160 inline Configuration& WithS3Bucket(const S3BucketConfiguration& value) { SetS3Bucket(value); return *this;}
161 inline Configuration& WithS3Bucket(S3BucketConfiguration&& value) { SetS3Bucket(std::move(value)); return *this;}
163
165
168 inline const SnsTopicConfiguration& GetSnsTopic() const{ return m_snsTopic; }
169 inline bool SnsTopicHasBeenSet() const { return m_snsTopicHasBeenSet; }
170 inline void SetSnsTopic(const SnsTopicConfiguration& value) { m_snsTopicHasBeenSet = true; m_snsTopic = value; }
171 inline void SetSnsTopic(SnsTopicConfiguration&& value) { m_snsTopicHasBeenSet = true; m_snsTopic = std::move(value); }
172 inline Configuration& WithSnsTopic(const SnsTopicConfiguration& value) { SetSnsTopic(value); return *this;}
173 inline Configuration& WithSnsTopic(SnsTopicConfiguration&& value) { SetSnsTopic(std::move(value)); return *this;}
175
177
180 inline const SqsQueueConfiguration& GetSqsQueue() const{ return m_sqsQueue; }
181 inline bool SqsQueueHasBeenSet() const { return m_sqsQueueHasBeenSet; }
182 inline void SetSqsQueue(const SqsQueueConfiguration& value) { m_sqsQueueHasBeenSet = true; m_sqsQueue = value; }
183 inline void SetSqsQueue(SqsQueueConfiguration&& value) { m_sqsQueueHasBeenSet = true; m_sqsQueue = std::move(value); }
184 inline Configuration& WithSqsQueue(const SqsQueueConfiguration& value) { SetSqsQueue(value); return *this;}
185 inline Configuration& WithSqsQueue(SqsQueueConfiguration&& value) { SetSqsQueue(std::move(value)); return *this;}
187
189
192 inline const S3ExpressDirectoryBucketConfiguration& GetS3ExpressDirectoryBucket() const{ return m_s3ExpressDirectoryBucket; }
193 inline bool S3ExpressDirectoryBucketHasBeenSet() const { return m_s3ExpressDirectoryBucketHasBeenSet; }
194 inline void SetS3ExpressDirectoryBucket(const S3ExpressDirectoryBucketConfiguration& value) { m_s3ExpressDirectoryBucketHasBeenSet = true; m_s3ExpressDirectoryBucket = value; }
195 inline void SetS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration&& value) { m_s3ExpressDirectoryBucketHasBeenSet = true; m_s3ExpressDirectoryBucket = std::move(value); }
199
201
204 inline const DynamodbStreamConfiguration& GetDynamodbStream() const{ return m_dynamodbStream; }
205 inline bool DynamodbStreamHasBeenSet() const { return m_dynamodbStreamHasBeenSet; }
206 inline void SetDynamodbStream(const DynamodbStreamConfiguration& value) { m_dynamodbStreamHasBeenSet = true; m_dynamodbStream = value; }
207 inline void SetDynamodbStream(DynamodbStreamConfiguration&& value) { m_dynamodbStreamHasBeenSet = true; m_dynamodbStream = std::move(value); }
209 inline Configuration& WithDynamodbStream(DynamodbStreamConfiguration&& value) { SetDynamodbStream(std::move(value)); return *this;}
211
213
216 inline const DynamodbTableConfiguration& GetDynamodbTable() const{ return m_dynamodbTable; }
217 inline bool DynamodbTableHasBeenSet() const { return m_dynamodbTableHasBeenSet; }
218 inline void SetDynamodbTable(const DynamodbTableConfiguration& value) { m_dynamodbTableHasBeenSet = true; m_dynamodbTable = value; }
219 inline void SetDynamodbTable(DynamodbTableConfiguration&& value) { m_dynamodbTableHasBeenSet = true; m_dynamodbTable = std::move(value); }
220 inline Configuration& WithDynamodbTable(const DynamodbTableConfiguration& value) { SetDynamodbTable(value); return *this;}
221 inline Configuration& WithDynamodbTable(DynamodbTableConfiguration&& value) { SetDynamodbTable(std::move(value)); return *this;}
223 private:
224
225 EbsSnapshotConfiguration m_ebsSnapshot;
226 bool m_ebsSnapshotHasBeenSet = false;
227
228 EcrRepositoryConfiguration m_ecrRepository;
229 bool m_ecrRepositoryHasBeenSet = false;
230
231 IamRoleConfiguration m_iamRole;
232 bool m_iamRoleHasBeenSet = false;
233
234 EfsFileSystemConfiguration m_efsFileSystem;
235 bool m_efsFileSystemHasBeenSet = false;
236
237 KmsKeyConfiguration m_kmsKey;
238 bool m_kmsKeyHasBeenSet = false;
239
240 RdsDbClusterSnapshotConfiguration m_rdsDbClusterSnapshot;
241 bool m_rdsDbClusterSnapshotHasBeenSet = false;
242
243 RdsDbSnapshotConfiguration m_rdsDbSnapshot;
244 bool m_rdsDbSnapshotHasBeenSet = false;
245
246 SecretsManagerSecretConfiguration m_secretsManagerSecret;
247 bool m_secretsManagerSecretHasBeenSet = false;
248
249 S3BucketConfiguration m_s3Bucket;
250 bool m_s3BucketHasBeenSet = false;
251
252 SnsTopicConfiguration m_snsTopic;
253 bool m_snsTopicHasBeenSet = false;
254
255 SqsQueueConfiguration m_sqsQueue;
256 bool m_sqsQueueHasBeenSet = false;
257
258 S3ExpressDirectoryBucketConfiguration m_s3ExpressDirectoryBucket;
259 bool m_s3ExpressDirectoryBucketHasBeenSet = false;
260
261 DynamodbStreamConfiguration m_dynamodbStream;
262 bool m_dynamodbStreamHasBeenSet = false;
263
264 DynamodbTableConfiguration m_dynamodbTable;
265 bool m_dynamodbTableHasBeenSet = false;
266 };
267
268} // namespace Model
269} // namespace AccessAnalyzer
270} // namespace Aws
void SetKmsKey(const KmsKeyConfiguration &value)
void SetSnsTopic(const SnsTopicConfiguration &value)
const S3BucketConfiguration & GetS3Bucket() const
Configuration & WithEcrRepository(const EcrRepositoryConfiguration &value)
AWS_ACCESSANALYZER_API Configuration()
void SetS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration &&value)
Configuration & WithS3Bucket(S3BucketConfiguration &&value)
void SetDynamodbTable(const DynamodbTableConfiguration &value)
Configuration & WithEfsFileSystem(EfsFileSystemConfiguration &&value)
Configuration & WithKmsKey(const KmsKeyConfiguration &value)
Configuration & WithS3ExpressDirectoryBucket(S3ExpressDirectoryBucketConfiguration &&value)
void SetSecretsManagerSecret(const SecretsManagerSecretConfiguration &value)
Configuration & WithS3Bucket(const S3BucketConfiguration &value)
Configuration & WithIamRole(const IamRoleConfiguration &value)
Configuration & WithRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration &&value)
void SetEbsSnapshot(EbsSnapshotConfiguration &&value)
const SnsTopicConfiguration & GetSnsTopic() const
Configuration & WithDynamodbStream(const DynamodbStreamConfiguration &value)
void SetRdsDbSnapshot(RdsDbSnapshotConfiguration &&value)
Configuration & WithDynamodbTable(const DynamodbTableConfiguration &value)
Configuration & WithSnsTopic(const SnsTopicConfiguration &value)
Configuration & WithRdsDbSnapshot(const RdsDbSnapshotConfiguration &value)
void SetRdsDbSnapshot(const RdsDbSnapshotConfiguration &value)
const SecretsManagerSecretConfiguration & GetSecretsManagerSecret() const
AWS_ACCESSANALYZER_API Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Configuration & WithEfsFileSystem(const EfsFileSystemConfiguration &value)
const KmsKeyConfiguration & GetKmsKey() const
Configuration & WithKmsKey(KmsKeyConfiguration &&value)
const S3ExpressDirectoryBucketConfiguration & GetS3ExpressDirectoryBucket() const
void SetEcrRepository(const EcrRepositoryConfiguration &value)
Configuration & WithRdsDbSnapshot(RdsDbSnapshotConfiguration &&value)
const SqsQueueConfiguration & GetSqsQueue() const
void SetS3Bucket(const S3BucketConfiguration &value)
const IamRoleConfiguration & GetIamRole() const
void SetIamRole(IamRoleConfiguration &&value)
const EbsSnapshotConfiguration & GetEbsSnapshot() const
Configuration & WithSqsQueue(SqsQueueConfiguration &&value)
Configuration & WithEbsSnapshot(EbsSnapshotConfiguration &&value)
AWS_ACCESSANALYZER_API Configuration(Aws::Utils::Json::JsonView jsonValue)
const RdsDbClusterSnapshotConfiguration & GetRdsDbClusterSnapshot() const
const EcrRepositoryConfiguration & GetEcrRepository() const
const EfsFileSystemConfiguration & GetEfsFileSystem() const
Configuration & WithSnsTopic(SnsTopicConfiguration &&value)
void SetIamRole(const IamRoleConfiguration &value)
void SetEfsFileSystem(const EfsFileSystemConfiguration &value)
void SetSqsQueue(const SqsQueueConfiguration &value)
void SetS3Bucket(S3BucketConfiguration &&value)
Configuration & WithDynamodbTable(DynamodbTableConfiguration &&value)
Configuration & WithEcrRepository(EcrRepositoryConfiguration &&value)
void SetSqsQueue(SqsQueueConfiguration &&value)
const RdsDbSnapshotConfiguration & GetRdsDbSnapshot() const
Configuration & WithRdsDbClusterSnapshot(const RdsDbClusterSnapshotConfiguration &value)
void SetS3ExpressDirectoryBucket(const S3ExpressDirectoryBucketConfiguration &value)
void SetEcrRepository(EcrRepositoryConfiguration &&value)
void SetEfsFileSystem(EfsFileSystemConfiguration &&value)
const DynamodbTableConfiguration & GetDynamodbTable() const
void SetRdsDbClusterSnapshot(RdsDbClusterSnapshotConfiguration &&value)
Configuration & WithEbsSnapshot(const EbsSnapshotConfiguration &value)
void SetDynamodbStream(DynamodbStreamConfiguration &&value)
Configuration & WithDynamodbStream(DynamodbStreamConfiguration &&value)
void SetRdsDbClusterSnapshot(const RdsDbClusterSnapshotConfiguration &value)
AWS_ACCESSANALYZER_API Aws::Utils::Json::JsonValue Jsonize() const
Configuration & WithSecretsManagerSecret(SecretsManagerSecretConfiguration &&value)
void SetDynamodbTable(DynamodbTableConfiguration &&value)
void SetDynamodbStream(const DynamodbStreamConfiguration &value)
Configuration & WithSecretsManagerSecret(const SecretsManagerSecretConfiguration &value)
Configuration & WithS3ExpressDirectoryBucket(const S3ExpressDirectoryBucketConfiguration &value)
Configuration & WithSqsQueue(const SqsQueueConfiguration &value)
Configuration & WithIamRole(IamRoleConfiguration &&value)
const DynamodbStreamConfiguration & GetDynamodbStream() const
void SetEbsSnapshot(const EbsSnapshotConfiguration &value)
void SetSecretsManagerSecret(SecretsManagerSecretConfiguration &&value)
void SetKmsKey(KmsKeyConfiguration &&value)
void SetSnsTopic(SnsTopicConfiguration &&value)
Aws::Utils::Json::JsonValue JsonValue