AWS SDK for C++  1.9.155
AWS SDK for C++
Configuration.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace AccessAnalyzer
26 {
27 namespace Model
28 {
29 
38  {
39  public:
44 
45 
49  inline const IamRoleConfiguration& GetIamRole() const{ return m_iamRole; }
50 
54  inline bool IamRoleHasBeenSet() const { return m_iamRoleHasBeenSet; }
55 
59  inline void SetIamRole(const IamRoleConfiguration& value) { m_iamRoleHasBeenSet = true; m_iamRole = value; }
60 
64  inline void SetIamRole(IamRoleConfiguration&& value) { m_iamRoleHasBeenSet = true; m_iamRole = std::move(value); }
65 
69  inline Configuration& WithIamRole(const IamRoleConfiguration& value) { SetIamRole(value); return *this;}
70 
74  inline Configuration& WithIamRole(IamRoleConfiguration&& value) { SetIamRole(std::move(value)); return *this;}
75 
76 
80  inline const KmsKeyConfiguration& GetKmsKey() const{ return m_kmsKey; }
81 
85  inline bool KmsKeyHasBeenSet() const { return m_kmsKeyHasBeenSet; }
86 
90  inline void SetKmsKey(const KmsKeyConfiguration& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = value; }
91 
95  inline void SetKmsKey(KmsKeyConfiguration&& value) { m_kmsKeyHasBeenSet = true; m_kmsKey = std::move(value); }
96 
100  inline Configuration& WithKmsKey(const KmsKeyConfiguration& value) { SetKmsKey(value); return *this;}
101 
105  inline Configuration& WithKmsKey(KmsKeyConfiguration&& value) { SetKmsKey(std::move(value)); return *this;}
106 
107 
111  inline const S3BucketConfiguration& GetS3Bucket() const{ return m_s3Bucket; }
112 
116  inline bool S3BucketHasBeenSet() const { return m_s3BucketHasBeenSet; }
117 
121  inline void SetS3Bucket(const S3BucketConfiguration& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = value; }
122 
126  inline void SetS3Bucket(S3BucketConfiguration&& value) { m_s3BucketHasBeenSet = true; m_s3Bucket = std::move(value); }
127 
131  inline Configuration& WithS3Bucket(const S3BucketConfiguration& value) { SetS3Bucket(value); return *this;}
132 
136  inline Configuration& WithS3Bucket(S3BucketConfiguration&& value) { SetS3Bucket(std::move(value)); return *this;}
137 
138 
142  inline const SecretsManagerSecretConfiguration& GetSecretsManagerSecret() const{ return m_secretsManagerSecret; }
143 
147  inline bool SecretsManagerSecretHasBeenSet() const { return m_secretsManagerSecretHasBeenSet; }
148 
152  inline void SetSecretsManagerSecret(const SecretsManagerSecretConfiguration& value) { m_secretsManagerSecretHasBeenSet = true; m_secretsManagerSecret = value; }
153 
157  inline void SetSecretsManagerSecret(SecretsManagerSecretConfiguration&& value) { m_secretsManagerSecretHasBeenSet = true; m_secretsManagerSecret = std::move(value); }
158 
162  inline Configuration& WithSecretsManagerSecret(const SecretsManagerSecretConfiguration& value) { SetSecretsManagerSecret(value); return *this;}
163 
167  inline Configuration& WithSecretsManagerSecret(SecretsManagerSecretConfiguration&& value) { SetSecretsManagerSecret(std::move(value)); return *this;}
168 
169 
173  inline const SqsQueueConfiguration& GetSqsQueue() const{ return m_sqsQueue; }
174 
178  inline bool SqsQueueHasBeenSet() const { return m_sqsQueueHasBeenSet; }
179 
183  inline void SetSqsQueue(const SqsQueueConfiguration& value) { m_sqsQueueHasBeenSet = true; m_sqsQueue = value; }
184 
188  inline void SetSqsQueue(SqsQueueConfiguration&& value) { m_sqsQueueHasBeenSet = true; m_sqsQueue = std::move(value); }
189 
193  inline Configuration& WithSqsQueue(const SqsQueueConfiguration& value) { SetSqsQueue(value); return *this;}
194 
198  inline Configuration& WithSqsQueue(SqsQueueConfiguration&& value) { SetSqsQueue(std::move(value)); return *this;}
199 
200  private:
201 
202  IamRoleConfiguration m_iamRole;
203  bool m_iamRoleHasBeenSet;
204 
205  KmsKeyConfiguration m_kmsKey;
206  bool m_kmsKeyHasBeenSet;
207 
208  S3BucketConfiguration m_s3Bucket;
209  bool m_s3BucketHasBeenSet;
210 
211  SecretsManagerSecretConfiguration m_secretsManagerSecret;
212  bool m_secretsManagerSecretHasBeenSet;
213 
214  SqsQueueConfiguration m_sqsQueue;
215  bool m_sqsQueueHasBeenSet;
216  };
217 
218 } // namespace Model
219 } // namespace AccessAnalyzer
220 } // namespace Aws
Aws::AccessAnalyzer::Model::Configuration::GetSecretsManagerSecret
const SecretsManagerSecretConfiguration & GetSecretsManagerSecret() const
Definition: Configuration.h:142
AccessAnalyzer_EXPORTS.h
Aws::AccessAnalyzer::Model::Configuration::GetIamRole
const IamRoleConfiguration & GetIamRole() const
Definition: Configuration.h:49
Aws::AccessAnalyzer::Model::Configuration::Configuration
Configuration()
Aws::AccessAnalyzer::Model::Configuration::WithS3Bucket
Configuration & WithS3Bucket(const S3BucketConfiguration &value)
Definition: Configuration.h:131
Aws::AccessAnalyzer::Model::Configuration::Configuration
Configuration(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Configuration::SetSecretsManagerSecret
void SetSecretsManagerSecret(const SecretsManagerSecretConfiguration &value)
Definition: Configuration.h:152
Aws::AccessAnalyzer::Model::Configuration::WithSqsQueue
Configuration & WithSqsQueue(SqsQueueConfiguration &&value)
Definition: Configuration.h:198
Aws::AccessAnalyzer::Model::Configuration::WithKmsKey
Configuration & WithKmsKey(const KmsKeyConfiguration &value)
Definition: Configuration.h:100
Aws::AccessAnalyzer::Model::SqsQueueConfiguration
Definition: SqsQueueConfiguration.h:42
Aws::AccessAnalyzer::Model::Configuration::GetSqsQueue
const SqsQueueConfiguration & GetSqsQueue() const
Definition: Configuration.h:173
Aws::AccessAnalyzer::Model::Configuration::IamRoleHasBeenSet
bool IamRoleHasBeenSet() const
Definition: Configuration.h:54
Aws::AccessAnalyzer::Model::KmsKeyConfiguration
Definition: KmsKeyConfiguration.h:46
Aws::AccessAnalyzer::Model::Configuration::WithIamRole
Configuration & WithIamRole(IamRoleConfiguration &&value)
Definition: Configuration.h:74
Aws::AccessAnalyzer::Model::SecretsManagerSecretConfiguration
Definition: SecretsManagerSecretConfiguration.h:46
Aws::AccessAnalyzer::Model::S3BucketConfiguration
Definition: S3BucketConfiguration.h:49
Aws::AccessAnalyzer::Model::Configuration::SqsQueueHasBeenSet
bool SqsQueueHasBeenSet() const
Definition: Configuration.h:178
Aws::AccessAnalyzer::Model::Configuration::SetSecretsManagerSecret
void SetSecretsManagerSecret(SecretsManagerSecretConfiguration &&value)
Definition: Configuration.h:157
Aws::AccessAnalyzer::Model::Configuration::SetKmsKey
void SetKmsKey(KmsKeyConfiguration &&value)
Definition: Configuration.h:95
Aws::AccessAnalyzer::Model::Configuration::GetKmsKey
const KmsKeyConfiguration & GetKmsKey() const
Definition: Configuration.h:80
SqsQueueConfiguration.h
Aws::AccessAnalyzer::Model::Configuration::SetS3Bucket
void SetS3Bucket(const S3BucketConfiguration &value)
Definition: Configuration.h:121
Aws::AccessAnalyzer::Model::IamRoleConfiguration
Definition: IamRoleConfiguration.h:40
Aws::AccessAnalyzer::Model::Configuration::WithSecretsManagerSecret
Configuration & WithSecretsManagerSecret(SecretsManagerSecretConfiguration &&value)
Definition: Configuration.h:167
Aws::AccessAnalyzer::Model::Configuration::SetIamRole
void SetIamRole(IamRoleConfiguration &&value)
Definition: Configuration.h:64
Aws::AccessAnalyzer::Model::Configuration::SetIamRole
void SetIamRole(const IamRoleConfiguration &value)
Definition: Configuration.h:59
IamRoleConfiguration.h
Aws::AccessAnalyzer::Model::Configuration::SecretsManagerSecretHasBeenSet
bool SecretsManagerSecretHasBeenSet() const
Definition: Configuration.h:147
Aws::AccessAnalyzer::Model::Configuration::operator=
Configuration & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::AccessAnalyzer::Model::Configuration::WithS3Bucket
Configuration & WithS3Bucket(S3BucketConfiguration &&value)
Definition: Configuration.h:136
Aws::AccessAnalyzer::Model::Configuration::WithSqsQueue
Configuration & WithSqsQueue(const SqsQueueConfiguration &value)
Definition: Configuration.h:193
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::AccessAnalyzer::Model::Configuration::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
KmsKeyConfiguration.h
Aws::AccessAnalyzer::Model::Configuration
Definition: Configuration.h:38
Aws::AccessAnalyzer::Model::Configuration::S3BucketHasBeenSet
bool S3BucketHasBeenSet() const
Definition: Configuration.h:116
Aws::AccessAnalyzer::Model::Configuration::SetS3Bucket
void SetS3Bucket(S3BucketConfiguration &&value)
Definition: Configuration.h:126
Aws::AccessAnalyzer::Model::Configuration::WithIamRole
Configuration & WithIamRole(const IamRoleConfiguration &value)
Definition: Configuration.h:69
Aws::AccessAnalyzer::Model::Configuration::SetSqsQueue
void SetSqsQueue(const SqsQueueConfiguration &value)
Definition: Configuration.h:183
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
AWS_ACCESSANALYZER_API
#define AWS_ACCESSANALYZER_API
Definition: AccessAnalyzer_EXPORTS.h:28
Aws::AccessAnalyzer::Model::Configuration::WithSecretsManagerSecret
Configuration & WithSecretsManagerSecret(const SecretsManagerSecretConfiguration &value)
Definition: Configuration.h:162
Aws::AccessAnalyzer::Model::Configuration::SetKmsKey
void SetKmsKey(const KmsKeyConfiguration &value)
Definition: Configuration.h:90
SecretsManagerSecretConfiguration.h
Aws::AccessAnalyzer::Model::Configuration::SetSqsQueue
void SetSqsQueue(SqsQueueConfiguration &&value)
Definition: Configuration.h:188
S3BucketConfiguration.h
Aws::AccessAnalyzer::Model::Configuration::KmsKeyHasBeenSet
bool KmsKeyHasBeenSet() const
Definition: Configuration.h:85
Aws::AccessAnalyzer::Model::Configuration::GetS3Bucket
const S3BucketConfiguration & GetS3Bucket() const
Definition: Configuration.h:111
Aws::AccessAnalyzer::Model::Configuration::WithKmsKey
Configuration & WithKmsKey(KmsKeyConfiguration &&value)
Definition: Configuration.h:105