AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsRdsDbClusterSnapshotDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.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 AwsRdsDbClusterSnapshotDetails();
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const{ return m_availabilityZones; }
49 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
50 inline void SetAvailabilityZones(const Aws::Vector<Aws::String>& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; }
51 inline void SetAvailabilityZones(Aws::Vector<Aws::String>&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); }
54 inline AwsRdsDbClusterSnapshotDetails& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
55 inline AwsRdsDbClusterSnapshotDetails& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; }
56 inline AwsRdsDbClusterSnapshotDetails& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; }
58
60
77 inline const Aws::String& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
78 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
79 inline void SetSnapshotCreateTime(const Aws::String& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
80 inline void SetSnapshotCreateTime(Aws::String&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); }
81 inline void SetSnapshotCreateTime(const char* value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime.assign(value); }
84 inline AwsRdsDbClusterSnapshotDetails& WithSnapshotCreateTime(const char* value) { SetSnapshotCreateTime(value); return *this;}
86
88
92 inline const Aws::String& GetEngine() const{ return m_engine; }
93 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
94 inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
95 inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); }
96 inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
97 inline AwsRdsDbClusterSnapshotDetails& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
98 inline AwsRdsDbClusterSnapshotDetails& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;}
99 inline AwsRdsDbClusterSnapshotDetails& WithEngine(const char* value) { SetEngine(value); return *this;}
101
103
106 inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
107 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
108 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
111
113
116 inline const Aws::String& GetStatus() const{ return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
119 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
120 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
121 inline AwsRdsDbClusterSnapshotDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
122 inline AwsRdsDbClusterSnapshotDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
123 inline AwsRdsDbClusterSnapshotDetails& WithStatus(const char* value) { SetStatus(value); return *this;}
125
127
131 inline int GetPort() const{ return m_port; }
132 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
133 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
134 inline AwsRdsDbClusterSnapshotDetails& WithPort(int value) { SetPort(value); return *this;}
136
138
141 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
142 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
143 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
144 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
145 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
146 inline AwsRdsDbClusterSnapshotDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
147 inline AwsRdsDbClusterSnapshotDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
148 inline AwsRdsDbClusterSnapshotDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
150
152
169 inline const Aws::String& GetClusterCreateTime() const{ return m_clusterCreateTime; }
170 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
171 inline void SetClusterCreateTime(const Aws::String& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = value; }
172 inline void SetClusterCreateTime(Aws::String&& value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime = std::move(value); }
173 inline void SetClusterCreateTime(const char* value) { m_clusterCreateTimeHasBeenSet = true; m_clusterCreateTime.assign(value); }
176 inline AwsRdsDbClusterSnapshotDetails& WithClusterCreateTime(const char* value) { SetClusterCreateTime(value); return *this;}
178
180
183 inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
184 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
185 inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
186 inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); }
187 inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
189 inline AwsRdsDbClusterSnapshotDetails& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;}
190 inline AwsRdsDbClusterSnapshotDetails& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
192
194
197 inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
198 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
199 inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
200 inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); }
201 inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
203 inline AwsRdsDbClusterSnapshotDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;}
204 inline AwsRdsDbClusterSnapshotDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
206
208
211 inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
212 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
213 inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
214 inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); }
215 inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
216 inline AwsRdsDbClusterSnapshotDetails& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
217 inline AwsRdsDbClusterSnapshotDetails& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;}
218 inline AwsRdsDbClusterSnapshotDetails& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
220
222
225 inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
226 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
227 inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
228 inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); }
229 inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
230 inline AwsRdsDbClusterSnapshotDetails& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
231 inline AwsRdsDbClusterSnapshotDetails& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;}
232 inline AwsRdsDbClusterSnapshotDetails& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
234
236
239 inline int GetPercentProgress() const{ return m_percentProgress; }
240 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
241 inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
244
246
249 inline bool GetStorageEncrypted() const{ return m_storageEncrypted; }
250 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
251 inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; }
254
256
260 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
261 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
262 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
263 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
264 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
265 inline AwsRdsDbClusterSnapshotDetails& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
266 inline AwsRdsDbClusterSnapshotDetails& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
267 inline AwsRdsDbClusterSnapshotDetails& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
269
271
274 inline const Aws::String& GetDbClusterIdentifier() const{ return m_dbClusterIdentifier; }
275 inline bool DbClusterIdentifierHasBeenSet() const { return m_dbClusterIdentifierHasBeenSet; }
276 inline void SetDbClusterIdentifier(const Aws::String& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = value; }
277 inline void SetDbClusterIdentifier(Aws::String&& value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier = std::move(value); }
278 inline void SetDbClusterIdentifier(const char* value) { m_dbClusterIdentifierHasBeenSet = true; m_dbClusterIdentifier.assign(value); }
281 inline AwsRdsDbClusterSnapshotDetails& WithDbClusterIdentifier(const char* value) { SetDbClusterIdentifier(value); return *this;}
283
285
288 inline const Aws::String& GetDbClusterSnapshotIdentifier() const{ return m_dbClusterSnapshotIdentifier; }
289 inline bool DbClusterSnapshotIdentifierHasBeenSet() const { return m_dbClusterSnapshotIdentifierHasBeenSet; }
290 inline void SetDbClusterSnapshotIdentifier(const Aws::String& value) { m_dbClusterSnapshotIdentifierHasBeenSet = true; m_dbClusterSnapshotIdentifier = value; }
291 inline void SetDbClusterSnapshotIdentifier(Aws::String&& value) { m_dbClusterSnapshotIdentifierHasBeenSet = true; m_dbClusterSnapshotIdentifier = std::move(value); }
292 inline void SetDbClusterSnapshotIdentifier(const char* value) { m_dbClusterSnapshotIdentifierHasBeenSet = true; m_dbClusterSnapshotIdentifier.assign(value); }
297
299
302 inline bool GetIamDatabaseAuthenticationEnabled() const{ return m_iamDatabaseAuthenticationEnabled; }
303 inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; }
304 inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; }
307
309
312 inline const Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>& GetDbClusterSnapshotAttributes() const{ return m_dbClusterSnapshotAttributes; }
313 inline bool DbClusterSnapshotAttributesHasBeenSet() const { return m_dbClusterSnapshotAttributesHasBeenSet; }
314 inline void SetDbClusterSnapshotAttributes(const Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes = value; }
315 inline void SetDbClusterSnapshotAttributes(Aws::Vector<AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute>&& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes = std::move(value); }
318 inline AwsRdsDbClusterSnapshotDetails& AddDbClusterSnapshotAttributes(const AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes.push_back(value); return *this; }
319 inline AwsRdsDbClusterSnapshotDetails& AddDbClusterSnapshotAttributes(AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute&& value) { m_dbClusterSnapshotAttributesHasBeenSet = true; m_dbClusterSnapshotAttributes.push_back(std::move(value)); return *this; }
321 private:
322
323 Aws::Vector<Aws::String> m_availabilityZones;
324 bool m_availabilityZonesHasBeenSet = false;
325
326 Aws::String m_snapshotCreateTime;
327 bool m_snapshotCreateTimeHasBeenSet = false;
328
329 Aws::String m_engine;
330 bool m_engineHasBeenSet = false;
331
332 int m_allocatedStorage;
333 bool m_allocatedStorageHasBeenSet = false;
334
335 Aws::String m_status;
336 bool m_statusHasBeenSet = false;
337
338 int m_port;
339 bool m_portHasBeenSet = false;
340
341 Aws::String m_vpcId;
342 bool m_vpcIdHasBeenSet = false;
343
344 Aws::String m_clusterCreateTime;
345 bool m_clusterCreateTimeHasBeenSet = false;
346
347 Aws::String m_masterUsername;
348 bool m_masterUsernameHasBeenSet = false;
349
350 Aws::String m_engineVersion;
351 bool m_engineVersionHasBeenSet = false;
352
353 Aws::String m_licenseModel;
354 bool m_licenseModelHasBeenSet = false;
355
356 Aws::String m_snapshotType;
357 bool m_snapshotTypeHasBeenSet = false;
358
359 int m_percentProgress;
360 bool m_percentProgressHasBeenSet = false;
361
362 bool m_storageEncrypted;
363 bool m_storageEncryptedHasBeenSet = false;
364
365 Aws::String m_kmsKeyId;
366 bool m_kmsKeyIdHasBeenSet = false;
367
368 Aws::String m_dbClusterIdentifier;
369 bool m_dbClusterIdentifierHasBeenSet = false;
370
371 Aws::String m_dbClusterSnapshotIdentifier;
372 bool m_dbClusterSnapshotIdentifierHasBeenSet = false;
373
374 bool m_iamDatabaseAuthenticationEnabled;
375 bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false;
376
378 bool m_dbClusterSnapshotAttributesHasBeenSet = false;
379 };
380
381} // namespace Model
382} // namespace SecurityHub
383} // namespace Aws
AwsRdsDbClusterSnapshotDetails & WithKmsKeyId(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterIdentifier(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithAvailabilityZones(Aws::Vector< Aws::String > &&value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotCreateTime(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotCreateTime(const char *value)
AwsRdsDbClusterSnapshotDetails & WithLicenseModel(const char *value)
AwsRdsDbClusterSnapshotDetails & WithKmsKeyId(const char *value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotType(const char *value)
AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterSnapshotDetails & WithEngineVersion(const char *value)
void SetAvailabilityZones(const Aws::Vector< Aws::String > &value)
AwsRdsDbClusterSnapshotDetails & WithAvailabilityZones(const Aws::Vector< Aws::String > &value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotAttributes(const Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > &value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotIdentifier(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & AddAvailabilityZones(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterIdentifier(const char *value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotIdentifier(const char *value)
AwsRdsDbClusterSnapshotDetails & WithMasterUsername(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithStorageEncrypted(bool value)
AwsRdsDbClusterSnapshotDetails & WithMasterUsername(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithMasterUsername(const char *value)
AwsRdsDbClusterSnapshotDetails & WithEngine(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithStatus(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithVpcId(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & AddDbClusterSnapshotAttributes(AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute &&value)
AwsRdsDbClusterSnapshotDetails & WithKmsKeyId(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsRdsDbClusterSnapshotDetails & WithIamDatabaseAuthenticationEnabled(bool value)
AwsRdsDbClusterSnapshotDetails & AddAvailabilityZones(const char *value)
AwsRdsDbClusterSnapshotDetails & AddDbClusterSnapshotAttributes(const AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute &value)
AwsRdsDbClusterSnapshotDetails & WithVpcId(const Aws::String &value)
void SetDbClusterSnapshotAttributes(const Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > &value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotCreateTime(const Aws::String &value)
void SetDbClusterSnapshotAttributes(Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterIdentifier(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & AddAvailabilityZones(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithEngine(const char *value)
AWS_SECURITYHUB_API AwsRdsDbClusterSnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbClusterSnapshotDetails & WithSnapshotType(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithStatus(const char *value)
AwsRdsDbClusterSnapshotDetails & WithVpcId(const char *value)
AwsRdsDbClusterSnapshotDetails & WithClusterCreateTime(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithEngineVersion(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithClusterCreateTime(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithLicenseModel(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithEngineVersion(Aws::String &&value)
const Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > & GetDbClusterSnapshotAttributes() const
AwsRdsDbClusterSnapshotDetails & WithClusterCreateTime(const char *value)
AwsRdsDbClusterSnapshotDetails & WithEngine(const Aws::String &value)
AwsRdsDbClusterSnapshotDetails & WithStatus(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotIdentifier(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithLicenseModel(Aws::String &&value)
AwsRdsDbClusterSnapshotDetails & WithDbClusterSnapshotAttributes(Aws::Vector< AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute > &&value)
AwsRdsDbClusterSnapshotDetails & WithSnapshotType(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