AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsRdsDbSnapshotDetails.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/AwsRdsDbProcessorFeature.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 AwsRdsDbSnapshotDetails() = default;
40 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
48 inline const Aws::String& GetDbSnapshotIdentifier() const { return m_dbSnapshotIdentifier; }
49 inline bool DbSnapshotIdentifierHasBeenSet() const { return m_dbSnapshotIdentifierHasBeenSet; }
50 template<typename DbSnapshotIdentifierT = Aws::String>
51 void SetDbSnapshotIdentifier(DbSnapshotIdentifierT&& value) { m_dbSnapshotIdentifierHasBeenSet = true; m_dbSnapshotIdentifier = std::forward<DbSnapshotIdentifierT>(value); }
52 template<typename DbSnapshotIdentifierT = Aws::String>
53 AwsRdsDbSnapshotDetails& WithDbSnapshotIdentifier(DbSnapshotIdentifierT&& value) { SetDbSnapshotIdentifier(std::forward<DbSnapshotIdentifierT>(value)); return *this;}
55
57
60 inline const Aws::String& GetDbInstanceIdentifier() const { return m_dbInstanceIdentifier; }
61 inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; }
62 template<typename DbInstanceIdentifierT = Aws::String>
63 void SetDbInstanceIdentifier(DbInstanceIdentifierT&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::forward<DbInstanceIdentifierT>(value); }
64 template<typename DbInstanceIdentifierT = Aws::String>
65 AwsRdsDbSnapshotDetails& WithDbInstanceIdentifier(DbInstanceIdentifierT&& value) { SetDbInstanceIdentifier(std::forward<DbInstanceIdentifierT>(value)); return *this;}
67
69
72 inline const Aws::String& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
73 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
74 template<typename SnapshotCreateTimeT = Aws::String>
75 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
76 template<typename SnapshotCreateTimeT = Aws::String>
77 AwsRdsDbSnapshotDetails& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
79
81
93 inline const Aws::String& GetEngine() const { return m_engine; }
94 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
95 template<typename EngineT = Aws::String>
96 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
97 template<typename EngineT = Aws::String>
98 AwsRdsDbSnapshotDetails& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
100
102
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; }
109 inline AwsRdsDbSnapshotDetails& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
111
113
116 inline const Aws::String& GetStatus() const { return m_status; }
117 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
118 template<typename StatusT = Aws::String>
119 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
120 template<typename StatusT = Aws::String>
121 AwsRdsDbSnapshotDetails& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
123
125
129 inline int GetPort() const { return m_port; }
130 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
131 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
132 inline AwsRdsDbSnapshotDetails& WithPort(int value) { SetPort(value); return *this;}
134
136
140 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
141 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
142 template<typename AvailabilityZoneT = Aws::String>
143 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
144 template<typename AvailabilityZoneT = Aws::String>
145 AwsRdsDbSnapshotDetails& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
147
149
152 inline const Aws::String& GetVpcId() const { return m_vpcId; }
153 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
154 template<typename VpcIdT = Aws::String>
155 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
156 template<typename VpcIdT = Aws::String>
157 AwsRdsDbSnapshotDetails& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
159
161
165 inline const Aws::String& GetInstanceCreateTime() const { return m_instanceCreateTime; }
166 inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
167 template<typename InstanceCreateTimeT = Aws::String>
168 void SetInstanceCreateTime(InstanceCreateTimeT&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value); }
169 template<typename InstanceCreateTimeT = Aws::String>
170 AwsRdsDbSnapshotDetails& WithInstanceCreateTime(InstanceCreateTimeT&& value) { SetInstanceCreateTime(std::forward<InstanceCreateTimeT>(value)); return *this;}
172
174
177 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
178 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
179 template<typename MasterUsernameT = Aws::String>
180 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
181 template<typename MasterUsernameT = Aws::String>
182 AwsRdsDbSnapshotDetails& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
184
186
189 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
190 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
191 template<typename EngineVersionT = Aws::String>
192 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
193 template<typename EngineVersionT = Aws::String>
194 AwsRdsDbSnapshotDetails& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
196
198
201 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
202 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
203 template<typename LicenseModelT = Aws::String>
204 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::forward<LicenseModelT>(value); }
205 template<typename LicenseModelT = Aws::String>
206 AwsRdsDbSnapshotDetails& WithLicenseModel(LicenseModelT&& value) { SetLicenseModel(std::forward<LicenseModelT>(value)); return *this;}
208
210
213 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
214 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
215 template<typename SnapshotTypeT = Aws::String>
216 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
217 template<typename SnapshotTypeT = Aws::String>
218 AwsRdsDbSnapshotDetails& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
220
222
226 inline int GetIops() const { return m_iops; }
227 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
228 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
229 inline AwsRdsDbSnapshotDetails& WithIops(int value) { SetIops(value); return *this;}
231
233
236 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
237 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
238 template<typename OptionGroupNameT = Aws::String>
239 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
240 template<typename OptionGroupNameT = Aws::String>
241 AwsRdsDbSnapshotDetails& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
243
245
248 inline int GetPercentProgress() const { return m_percentProgress; }
249 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
250 inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
251 inline AwsRdsDbSnapshotDetails& WithPercentProgress(int value) { SetPercentProgress(value); return *this;}
253
255
259 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
260 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
261 template<typename SourceRegionT = Aws::String>
262 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::forward<SourceRegionT>(value); }
263 template<typename SourceRegionT = Aws::String>
264 AwsRdsDbSnapshotDetails& WithSourceRegion(SourceRegionT&& value) { SetSourceRegion(std::forward<SourceRegionT>(value)); return *this;}
266
268
271 inline const Aws::String& GetSourceDbSnapshotIdentifier() const { return m_sourceDbSnapshotIdentifier; }
272 inline bool SourceDbSnapshotIdentifierHasBeenSet() const { return m_sourceDbSnapshotIdentifierHasBeenSet; }
273 template<typename SourceDbSnapshotIdentifierT = Aws::String>
274 void SetSourceDbSnapshotIdentifier(SourceDbSnapshotIdentifierT&& value) { m_sourceDbSnapshotIdentifierHasBeenSet = true; m_sourceDbSnapshotIdentifier = std::forward<SourceDbSnapshotIdentifierT>(value); }
275 template<typename SourceDbSnapshotIdentifierT = Aws::String>
276 AwsRdsDbSnapshotDetails& WithSourceDbSnapshotIdentifier(SourceDbSnapshotIdentifierT&& value) { SetSourceDbSnapshotIdentifier(std::forward<SourceDbSnapshotIdentifierT>(value)); return *this;}
278
280
285 inline const Aws::String& GetStorageType() const { return m_storageType; }
286 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
287 template<typename StorageTypeT = Aws::String>
288 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
289 template<typename StorageTypeT = Aws::String>
290 AwsRdsDbSnapshotDetails& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
292
294
298 inline const Aws::String& GetTdeCredentialArn() const { return m_tdeCredentialArn; }
299 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
300 template<typename TdeCredentialArnT = Aws::String>
301 void SetTdeCredentialArn(TdeCredentialArnT&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value); }
302 template<typename TdeCredentialArnT = Aws::String>
303 AwsRdsDbSnapshotDetails& WithTdeCredentialArn(TdeCredentialArnT&& value) { SetTdeCredentialArn(std::forward<TdeCredentialArnT>(value)); return *this;}
305
307
310 inline bool GetEncrypted() const { return m_encrypted; }
311 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
312 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
313 inline AwsRdsDbSnapshotDetails& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
315
317
321 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
322 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
323 template<typename KmsKeyIdT = Aws::String>
324 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
325 template<typename KmsKeyIdT = Aws::String>
326 AwsRdsDbSnapshotDetails& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
328
330
333 inline const Aws::String& GetTimezone() const { return m_timezone; }
334 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
335 template<typename TimezoneT = Aws::String>
336 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
337 template<typename TimezoneT = Aws::String>
338 AwsRdsDbSnapshotDetails& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
340
342
345 inline bool GetIamDatabaseAuthenticationEnabled() const { return m_iamDatabaseAuthenticationEnabled; }
346 inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; }
347 inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; }
350
352
356 inline const Aws::Vector<AwsRdsDbProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
357 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
358 template<typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
359 void SetProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::forward<ProcessorFeaturesT>(value); }
360 template<typename ProcessorFeaturesT = Aws::Vector<AwsRdsDbProcessorFeature>>
361 AwsRdsDbSnapshotDetails& WithProcessorFeatures(ProcessorFeaturesT&& value) { SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value)); return *this;}
362 template<typename ProcessorFeaturesT = AwsRdsDbProcessorFeature>
363 AwsRdsDbSnapshotDetails& AddProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value)); return *this; }
365
367
370 inline const Aws::String& GetDbiResourceId() const { return m_dbiResourceId; }
371 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
372 template<typename DbiResourceIdT = Aws::String>
373 void SetDbiResourceId(DbiResourceIdT&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::forward<DbiResourceIdT>(value); }
374 template<typename DbiResourceIdT = Aws::String>
375 AwsRdsDbSnapshotDetails& WithDbiResourceId(DbiResourceIdT&& value) { SetDbiResourceId(std::forward<DbiResourceIdT>(value)); return *this;}
377 private:
378
379 Aws::String m_dbSnapshotIdentifier;
380 bool m_dbSnapshotIdentifierHasBeenSet = false;
381
382 Aws::String m_dbInstanceIdentifier;
383 bool m_dbInstanceIdentifierHasBeenSet = false;
384
385 Aws::String m_snapshotCreateTime;
386 bool m_snapshotCreateTimeHasBeenSet = false;
387
388 Aws::String m_engine;
389 bool m_engineHasBeenSet = false;
390
391 int m_allocatedStorage{0};
392 bool m_allocatedStorageHasBeenSet = false;
393
394 Aws::String m_status;
395 bool m_statusHasBeenSet = false;
396
397 int m_port{0};
398 bool m_portHasBeenSet = false;
399
400 Aws::String m_availabilityZone;
401 bool m_availabilityZoneHasBeenSet = false;
402
403 Aws::String m_vpcId;
404 bool m_vpcIdHasBeenSet = false;
405
406 Aws::String m_instanceCreateTime;
407 bool m_instanceCreateTimeHasBeenSet = false;
408
409 Aws::String m_masterUsername;
410 bool m_masterUsernameHasBeenSet = false;
411
412 Aws::String m_engineVersion;
413 bool m_engineVersionHasBeenSet = false;
414
415 Aws::String m_licenseModel;
416 bool m_licenseModelHasBeenSet = false;
417
418 Aws::String m_snapshotType;
419 bool m_snapshotTypeHasBeenSet = false;
420
421 int m_iops{0};
422 bool m_iopsHasBeenSet = false;
423
424 Aws::String m_optionGroupName;
425 bool m_optionGroupNameHasBeenSet = false;
426
427 int m_percentProgress{0};
428 bool m_percentProgressHasBeenSet = false;
429
430 Aws::String m_sourceRegion;
431 bool m_sourceRegionHasBeenSet = false;
432
433 Aws::String m_sourceDbSnapshotIdentifier;
434 bool m_sourceDbSnapshotIdentifierHasBeenSet = false;
435
436 Aws::String m_storageType;
437 bool m_storageTypeHasBeenSet = false;
438
439 Aws::String m_tdeCredentialArn;
440 bool m_tdeCredentialArnHasBeenSet = false;
441
442 bool m_encrypted{false};
443 bool m_encryptedHasBeenSet = false;
444
445 Aws::String m_kmsKeyId;
446 bool m_kmsKeyIdHasBeenSet = false;
447
448 Aws::String m_timezone;
449 bool m_timezoneHasBeenSet = false;
450
451 bool m_iamDatabaseAuthenticationEnabled{false};
452 bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false;
453
454 Aws::Vector<AwsRdsDbProcessorFeature> m_processorFeatures;
455 bool m_processorFeaturesHasBeenSet = false;
456
457 Aws::String m_dbiResourceId;
458 bool m_dbiResourceIdHasBeenSet = false;
459 };
460
461} // namespace Model
462} // namespace SecurityHub
463} // namespace Aws
void SetDbInstanceIdentifier(DbInstanceIdentifierT &&value)
AwsRdsDbSnapshotDetails & WithProcessorFeatures(ProcessorFeaturesT &&value)
AwsRdsDbSnapshotDetails & WithLicenseModel(LicenseModelT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsRdsDbSnapshotDetails()=default
AwsRdsDbSnapshotDetails & WithTdeCredentialArn(TdeCredentialArnT &&value)
AwsRdsDbSnapshotDetails & WithStatus(StatusT &&value)
AwsRdsDbSnapshotDetails & WithVpcId(VpcIdT &&value)
AwsRdsDbSnapshotDetails & WithSourceRegion(SourceRegionT &&value)
AwsRdsDbSnapshotDetails & WithSourceDbSnapshotIdentifier(SourceDbSnapshotIdentifierT &&value)
AwsRdsDbSnapshotDetails & WithStorageType(StorageTypeT &&value)
AwsRdsDbSnapshotDetails & WithEncrypted(bool value)
AwsRdsDbSnapshotDetails & WithKmsKeyId(KmsKeyIdT &&value)
AwsRdsDbSnapshotDetails & WithIamDatabaseAuthenticationEnabled(bool value)
AWS_SECURITYHUB_API AwsRdsDbSnapshotDetails(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSnapshotDetails & WithAllocatedStorage(int value)
const Aws::Vector< AwsRdsDbProcessorFeature > & GetProcessorFeatures() const
void SetDbSnapshotIdentifier(DbSnapshotIdentifierT &&value)
AwsRdsDbSnapshotDetails & WithDbInstanceIdentifier(DbInstanceIdentifierT &&value)
void SetSourceDbSnapshotIdentifier(SourceDbSnapshotIdentifierT &&value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
AwsRdsDbSnapshotDetails & WithDbSnapshotIdentifier(DbSnapshotIdentifierT &&value)
AwsRdsDbSnapshotDetails & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
AwsRdsDbSnapshotDetails & WithEngine(EngineT &&value)
AwsRdsDbSnapshotDetails & WithPercentProgress(int value)
AwsRdsDbSnapshotDetails & WithInstanceCreateTime(InstanceCreateTimeT &&value)
AwsRdsDbSnapshotDetails & WithTimezone(TimezoneT &&value)
AwsRdsDbSnapshotDetails & WithMasterUsername(MasterUsernameT &&value)
AWS_SECURITYHUB_API AwsRdsDbSnapshotDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsRdsDbSnapshotDetails & WithOptionGroupName(OptionGroupNameT &&value)
AwsRdsDbSnapshotDetails & WithAvailabilityZone(AvailabilityZoneT &&value)
AwsRdsDbSnapshotDetails & WithSnapshotType(SnapshotTypeT &&value)
AwsRdsDbSnapshotDetails & WithDbiResourceId(DbiResourceIdT &&value)
AwsRdsDbSnapshotDetails & AddProcessorFeatures(ProcessorFeaturesT &&value)
AwsRdsDbSnapshotDetails & WithEngineVersion(EngineVersionT &&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