AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DBSnapshot.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/rds/model/ProcessorFeature.h>
13#include <aws/rds/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Xml
21{
22 class XmlNode;
23} // namespace Xml
24} // namespace Utils
25namespace RDS
26{
27namespace Model
28{
29
38 {
39 public:
40 AWS_RDS_API DBSnapshot() = default;
41 AWS_RDS_API DBSnapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
42 AWS_RDS_API DBSnapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
43
44 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
45 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
46
47
49
52 inline const Aws::String& GetDBSnapshotIdentifier() const { return m_dBSnapshotIdentifier; }
53 inline bool DBSnapshotIdentifierHasBeenSet() const { return m_dBSnapshotIdentifierHasBeenSet; }
54 template<typename DBSnapshotIdentifierT = Aws::String>
55 void SetDBSnapshotIdentifier(DBSnapshotIdentifierT&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = std::forward<DBSnapshotIdentifierT>(value); }
56 template<typename DBSnapshotIdentifierT = Aws::String>
57 DBSnapshot& WithDBSnapshotIdentifier(DBSnapshotIdentifierT&& value) { SetDBSnapshotIdentifier(std::forward<DBSnapshotIdentifierT>(value)); return *this;}
59
61
65 inline const Aws::String& GetDBInstanceIdentifier() const { return m_dBInstanceIdentifier; }
66 inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; }
67 template<typename DBInstanceIdentifierT = Aws::String>
68 void SetDBInstanceIdentifier(DBInstanceIdentifierT&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::forward<DBInstanceIdentifierT>(value); }
69 template<typename DBInstanceIdentifierT = Aws::String>
70 DBSnapshot& WithDBInstanceIdentifier(DBInstanceIdentifierT&& value) { SetDBInstanceIdentifier(std::forward<DBInstanceIdentifierT>(value)); return *this;}
72
74
78 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
79 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
80 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
81 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value); }
82 template<typename SnapshotCreateTimeT = Aws::Utils::DateTime>
83 DBSnapshot& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) { SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value)); return *this;}
85
87
90 inline const Aws::String& GetEngine() const { return m_engine; }
91 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
92 template<typename EngineT = Aws::String>
93 void SetEngine(EngineT&& value) { m_engineHasBeenSet = true; m_engine = std::forward<EngineT>(value); }
94 template<typename EngineT = Aws::String>
95 DBSnapshot& WithEngine(EngineT&& value) { SetEngine(std::forward<EngineT>(value)); return *this;}
97
99
102 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
103 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
104 inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
105 inline DBSnapshot& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
107
109
112 inline const Aws::String& GetStatus() const { return m_status; }
113 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
114 template<typename StatusT = Aws::String>
115 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
116 template<typename StatusT = Aws::String>
117 DBSnapshot& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
119
121
125 inline int GetPort() const { return m_port; }
126 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
127 inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
128 inline DBSnapshot& WithPort(int value) { SetPort(value); return *this;}
130
132
136 inline const Aws::String& GetAvailabilityZone() const { return m_availabilityZone; }
137 inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; }
138 template<typename AvailabilityZoneT = Aws::String>
139 void SetAvailabilityZone(AvailabilityZoneT&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::forward<AvailabilityZoneT>(value); }
140 template<typename AvailabilityZoneT = Aws::String>
141 DBSnapshot& WithAvailabilityZone(AvailabilityZoneT&& value) { SetAvailabilityZone(std::forward<AvailabilityZoneT>(value)); return *this;}
143
145
148 inline const Aws::String& GetVpcId() const { return m_vpcId; }
149 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
150 template<typename VpcIdT = Aws::String>
151 void SetVpcId(VpcIdT&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::forward<VpcIdT>(value); }
152 template<typename VpcIdT = Aws::String>
153 DBSnapshot& WithVpcId(VpcIdT&& value) { SetVpcId(std::forward<VpcIdT>(value)); return *this;}
155
157
161 inline const Aws::Utils::DateTime& GetInstanceCreateTime() const { return m_instanceCreateTime; }
162 inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; }
163 template<typename InstanceCreateTimeT = Aws::Utils::DateTime>
164 void SetInstanceCreateTime(InstanceCreateTimeT&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::forward<InstanceCreateTimeT>(value); }
165 template<typename InstanceCreateTimeT = Aws::Utils::DateTime>
166 DBSnapshot& WithInstanceCreateTime(InstanceCreateTimeT&& value) { SetInstanceCreateTime(std::forward<InstanceCreateTimeT>(value)); return *this;}
168
170
173 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
174 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
175 template<typename MasterUsernameT = Aws::String>
176 void SetMasterUsername(MasterUsernameT&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::forward<MasterUsernameT>(value); }
177 template<typename MasterUsernameT = Aws::String>
178 DBSnapshot& WithMasterUsername(MasterUsernameT&& value) { SetMasterUsername(std::forward<MasterUsernameT>(value)); return *this;}
180
182
185 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
186 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
187 template<typename EngineVersionT = Aws::String>
188 void SetEngineVersion(EngineVersionT&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::forward<EngineVersionT>(value); }
189 template<typename EngineVersionT = Aws::String>
190 DBSnapshot& WithEngineVersion(EngineVersionT&& value) { SetEngineVersion(std::forward<EngineVersionT>(value)); return *this;}
192
194
197 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
198 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
199 template<typename LicenseModelT = Aws::String>
200 void SetLicenseModel(LicenseModelT&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::forward<LicenseModelT>(value); }
201 template<typename LicenseModelT = Aws::String>
202 DBSnapshot& WithLicenseModel(LicenseModelT&& value) { SetLicenseModel(std::forward<LicenseModelT>(value)); return *this;}
204
206
209 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
210 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
211 template<typename SnapshotTypeT = Aws::String>
212 void SetSnapshotType(SnapshotTypeT&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::forward<SnapshotTypeT>(value); }
213 template<typename SnapshotTypeT = Aws::String>
214 DBSnapshot& WithSnapshotType(SnapshotTypeT&& value) { SetSnapshotType(std::forward<SnapshotTypeT>(value)); return *this;}
216
218
222 inline int GetIops() const { return m_iops; }
223 inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; }
224 inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
225 inline DBSnapshot& WithIops(int value) { SetIops(value); return *this;}
227
229
232 inline const Aws::String& GetOptionGroupName() const { return m_optionGroupName; }
233 inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; }
234 template<typename OptionGroupNameT = Aws::String>
235 void SetOptionGroupName(OptionGroupNameT&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::forward<OptionGroupNameT>(value); }
236 template<typename OptionGroupNameT = Aws::String>
237 DBSnapshot& WithOptionGroupName(OptionGroupNameT&& value) { SetOptionGroupName(std::forward<OptionGroupNameT>(value)); return *this;}
239
241
244 inline int GetPercentProgress() const { return m_percentProgress; }
245 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
246 inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
247 inline DBSnapshot& WithPercentProgress(int value) { SetPercentProgress(value); return *this;}
249
251
255 inline const Aws::String& GetSourceRegion() const { return m_sourceRegion; }
256 inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; }
257 template<typename SourceRegionT = Aws::String>
258 void SetSourceRegion(SourceRegionT&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::forward<SourceRegionT>(value); }
259 template<typename SourceRegionT = Aws::String>
260 DBSnapshot& WithSourceRegion(SourceRegionT&& value) { SetSourceRegion(std::forward<SourceRegionT>(value)); return *this;}
262
264
269 inline const Aws::String& GetSourceDBSnapshotIdentifier() const { return m_sourceDBSnapshotIdentifier; }
270 inline bool SourceDBSnapshotIdentifierHasBeenSet() const { return m_sourceDBSnapshotIdentifierHasBeenSet; }
271 template<typename SourceDBSnapshotIdentifierT = Aws::String>
272 void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT&& value) { m_sourceDBSnapshotIdentifierHasBeenSet = true; m_sourceDBSnapshotIdentifier = std::forward<SourceDBSnapshotIdentifierT>(value); }
273 template<typename SourceDBSnapshotIdentifierT = Aws::String>
274 DBSnapshot& WithSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT&& value) { SetSourceDBSnapshotIdentifier(std::forward<SourceDBSnapshotIdentifierT>(value)); return *this;}
276
278
281 inline const Aws::String& GetStorageType() const { return m_storageType; }
282 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
283 template<typename StorageTypeT = Aws::String>
284 void SetStorageType(StorageTypeT&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::forward<StorageTypeT>(value); }
285 template<typename StorageTypeT = Aws::String>
286 DBSnapshot& WithStorageType(StorageTypeT&& value) { SetStorageType(std::forward<StorageTypeT>(value)); return *this;}
288
290
294 inline const Aws::String& GetTdeCredentialArn() const { return m_tdeCredentialArn; }
295 inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; }
296 template<typename TdeCredentialArnT = Aws::String>
297 void SetTdeCredentialArn(TdeCredentialArnT&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::forward<TdeCredentialArnT>(value); }
298 template<typename TdeCredentialArnT = Aws::String>
299 DBSnapshot& WithTdeCredentialArn(TdeCredentialArnT&& value) { SetTdeCredentialArn(std::forward<TdeCredentialArnT>(value)); return *this;}
301
303
306 inline bool GetEncrypted() const { return m_encrypted; }
307 inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; }
308 inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
309 inline DBSnapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
311
313
318 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
319 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
320 template<typename KmsKeyIdT = Aws::String>
321 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
322 template<typename KmsKeyIdT = Aws::String>
323 DBSnapshot& WithKmsKeyId(KmsKeyIdT&& value) { SetKmsKeyId(std::forward<KmsKeyIdT>(value)); return *this;}
325
327
330 inline const Aws::String& GetDBSnapshotArn() const { return m_dBSnapshotArn; }
331 inline bool DBSnapshotArnHasBeenSet() const { return m_dBSnapshotArnHasBeenSet; }
332 template<typename DBSnapshotArnT = Aws::String>
333 void SetDBSnapshotArn(DBSnapshotArnT&& value) { m_dBSnapshotArnHasBeenSet = true; m_dBSnapshotArn = std::forward<DBSnapshotArnT>(value); }
334 template<typename DBSnapshotArnT = Aws::String>
335 DBSnapshot& WithDBSnapshotArn(DBSnapshotArnT&& value) { SetDBSnapshotArn(std::forward<DBSnapshotArnT>(value)); return *this;}
337
339
345 inline const Aws::String& GetTimezone() const { return m_timezone; }
346 inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; }
347 template<typename TimezoneT = Aws::String>
348 void SetTimezone(TimezoneT&& value) { m_timezoneHasBeenSet = true; m_timezone = std::forward<TimezoneT>(value); }
349 template<typename TimezoneT = Aws::String>
350 DBSnapshot& WithTimezone(TimezoneT&& value) { SetTimezone(std::forward<TimezoneT>(value)); return *this;}
352
354
358 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
359 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
360 inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; }
363
365
369 inline const Aws::Vector<ProcessorFeature>& GetProcessorFeatures() const { return m_processorFeatures; }
370 inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; }
371 template<typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
372 void SetProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::forward<ProcessorFeaturesT>(value); }
373 template<typename ProcessorFeaturesT = Aws::Vector<ProcessorFeature>>
374 DBSnapshot& WithProcessorFeatures(ProcessorFeaturesT&& value) { SetProcessorFeatures(std::forward<ProcessorFeaturesT>(value)); return *this;}
375 template<typename ProcessorFeaturesT = ProcessorFeature>
376 DBSnapshot& AddProcessorFeatures(ProcessorFeaturesT&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.emplace_back(std::forward<ProcessorFeaturesT>(value)); return *this; }
378
380
384 inline const Aws::String& GetDbiResourceId() const { return m_dbiResourceId; }
385 inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; }
386 template<typename DbiResourceIdT = Aws::String>
387 void SetDbiResourceId(DbiResourceIdT&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::forward<DbiResourceIdT>(value); }
388 template<typename DbiResourceIdT = Aws::String>
389 DBSnapshot& WithDbiResourceId(DbiResourceIdT&& value) { SetDbiResourceId(std::forward<DbiResourceIdT>(value)); return *this;}
391
393
394 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
395 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
396 template<typename TagListT = Aws::Vector<Tag>>
397 void SetTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList = std::forward<TagListT>(value); }
398 template<typename TagListT = Aws::Vector<Tag>>
399 DBSnapshot& WithTagList(TagListT&& value) { SetTagList(std::forward<TagListT>(value)); return *this;}
400 template<typename TagListT = Tag>
401 DBSnapshot& AddTagList(TagListT&& value) { m_tagListHasBeenSet = true; m_tagList.emplace_back(std::forward<TagListT>(value)); return *this; }
403
405
409 inline const Aws::Utils::DateTime& GetOriginalSnapshotCreateTime() const { return m_originalSnapshotCreateTime; }
410 inline bool OriginalSnapshotCreateTimeHasBeenSet() const { return m_originalSnapshotCreateTimeHasBeenSet; }
411 template<typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
412 void SetOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT&& value) { m_originalSnapshotCreateTimeHasBeenSet = true; m_originalSnapshotCreateTime = std::forward<OriginalSnapshotCreateTimeT>(value); }
413 template<typename OriginalSnapshotCreateTimeT = Aws::Utils::DateTime>
414 DBSnapshot& WithOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT&& value) { SetOriginalSnapshotCreateTime(std::forward<OriginalSnapshotCreateTimeT>(value)); return *this;}
416
418
428 inline const Aws::Utils::DateTime& GetSnapshotDatabaseTime() const { return m_snapshotDatabaseTime; }
429 inline bool SnapshotDatabaseTimeHasBeenSet() const { return m_snapshotDatabaseTimeHasBeenSet; }
430 template<typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
431 void SetSnapshotDatabaseTime(SnapshotDatabaseTimeT&& value) { m_snapshotDatabaseTimeHasBeenSet = true; m_snapshotDatabaseTime = std::forward<SnapshotDatabaseTimeT>(value); }
432 template<typename SnapshotDatabaseTimeT = Aws::Utils::DateTime>
433 DBSnapshot& WithSnapshotDatabaseTime(SnapshotDatabaseTimeT&& value) { SetSnapshotDatabaseTime(std::forward<SnapshotDatabaseTimeT>(value)); return *this;}
435
437
441 inline const Aws::String& GetSnapshotTarget() const { return m_snapshotTarget; }
442 inline bool SnapshotTargetHasBeenSet() const { return m_snapshotTargetHasBeenSet; }
443 template<typename SnapshotTargetT = Aws::String>
444 void SetSnapshotTarget(SnapshotTargetT&& value) { m_snapshotTargetHasBeenSet = true; m_snapshotTarget = std::forward<SnapshotTargetT>(value); }
445 template<typename SnapshotTargetT = Aws::String>
446 DBSnapshot& WithSnapshotTarget(SnapshotTargetT&& value) { SetSnapshotTarget(std::forward<SnapshotTargetT>(value)); return *this;}
448
450
453 inline int GetStorageThroughput() const { return m_storageThroughput; }
454 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
455 inline void SetStorageThroughput(int value) { m_storageThroughputHasBeenSet = true; m_storageThroughput = value; }
456 inline DBSnapshot& WithStorageThroughput(int value) { SetStorageThroughput(value); return *this;}
458
460
465 inline const Aws::String& GetDBSystemId() const { return m_dBSystemId; }
466 inline bool DBSystemIdHasBeenSet() const { return m_dBSystemIdHasBeenSet; }
467 template<typename DBSystemIdT = Aws::String>
468 void SetDBSystemId(DBSystemIdT&& value) { m_dBSystemIdHasBeenSet = true; m_dBSystemId = std::forward<DBSystemIdT>(value); }
469 template<typename DBSystemIdT = Aws::String>
470 DBSnapshot& WithDBSystemId(DBSystemIdT&& value) { SetDBSystemId(std::forward<DBSystemIdT>(value)); return *this;}
472
474
478 inline bool GetDedicatedLogVolume() const { return m_dedicatedLogVolume; }
479 inline bool DedicatedLogVolumeHasBeenSet() const { return m_dedicatedLogVolumeHasBeenSet; }
480 inline void SetDedicatedLogVolume(bool value) { m_dedicatedLogVolumeHasBeenSet = true; m_dedicatedLogVolume = value; }
481 inline DBSnapshot& WithDedicatedLogVolume(bool value) { SetDedicatedLogVolume(value); return *this;}
483
485
489 inline bool GetMultiTenant() const { return m_multiTenant; }
490 inline bool MultiTenantHasBeenSet() const { return m_multiTenantHasBeenSet; }
491 inline void SetMultiTenant(bool value) { m_multiTenantHasBeenSet = true; m_multiTenant = value; }
492 inline DBSnapshot& WithMultiTenant(bool value) { SetMultiTenant(value); return *this;}
494
496
501 inline const Aws::String& GetSnapshotAvailabilityZone() const { return m_snapshotAvailabilityZone; }
502 inline bool SnapshotAvailabilityZoneHasBeenSet() const { return m_snapshotAvailabilityZoneHasBeenSet; }
503 template<typename SnapshotAvailabilityZoneT = Aws::String>
504 void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT&& value) { m_snapshotAvailabilityZoneHasBeenSet = true; m_snapshotAvailabilityZone = std::forward<SnapshotAvailabilityZoneT>(value); }
505 template<typename SnapshotAvailabilityZoneT = Aws::String>
506 DBSnapshot& WithSnapshotAvailabilityZone(SnapshotAvailabilityZoneT&& value) { SetSnapshotAvailabilityZone(std::forward<SnapshotAvailabilityZoneT>(value)); return *this;}
508 private:
509
510 Aws::String m_dBSnapshotIdentifier;
511 bool m_dBSnapshotIdentifierHasBeenSet = false;
512
513 Aws::String m_dBInstanceIdentifier;
514 bool m_dBInstanceIdentifierHasBeenSet = false;
515
516 Aws::Utils::DateTime m_snapshotCreateTime{};
517 bool m_snapshotCreateTimeHasBeenSet = false;
518
519 Aws::String m_engine;
520 bool m_engineHasBeenSet = false;
521
522 int m_allocatedStorage{0};
523 bool m_allocatedStorageHasBeenSet = false;
524
525 Aws::String m_status;
526 bool m_statusHasBeenSet = false;
527
528 int m_port{0};
529 bool m_portHasBeenSet = false;
530
531 Aws::String m_availabilityZone;
532 bool m_availabilityZoneHasBeenSet = false;
533
534 Aws::String m_vpcId;
535 bool m_vpcIdHasBeenSet = false;
536
537 Aws::Utils::DateTime m_instanceCreateTime{};
538 bool m_instanceCreateTimeHasBeenSet = false;
539
540 Aws::String m_masterUsername;
541 bool m_masterUsernameHasBeenSet = false;
542
543 Aws::String m_engineVersion;
544 bool m_engineVersionHasBeenSet = false;
545
546 Aws::String m_licenseModel;
547 bool m_licenseModelHasBeenSet = false;
548
549 Aws::String m_snapshotType;
550 bool m_snapshotTypeHasBeenSet = false;
551
552 int m_iops{0};
553 bool m_iopsHasBeenSet = false;
554
555 Aws::String m_optionGroupName;
556 bool m_optionGroupNameHasBeenSet = false;
557
558 int m_percentProgress{0};
559 bool m_percentProgressHasBeenSet = false;
560
561 Aws::String m_sourceRegion;
562 bool m_sourceRegionHasBeenSet = false;
563
564 Aws::String m_sourceDBSnapshotIdentifier;
565 bool m_sourceDBSnapshotIdentifierHasBeenSet = false;
566
567 Aws::String m_storageType;
568 bool m_storageTypeHasBeenSet = false;
569
570 Aws::String m_tdeCredentialArn;
571 bool m_tdeCredentialArnHasBeenSet = false;
572
573 bool m_encrypted{false};
574 bool m_encryptedHasBeenSet = false;
575
576 Aws::String m_kmsKeyId;
577 bool m_kmsKeyIdHasBeenSet = false;
578
579 Aws::String m_dBSnapshotArn;
580 bool m_dBSnapshotArnHasBeenSet = false;
581
582 Aws::String m_timezone;
583 bool m_timezoneHasBeenSet = false;
584
585 bool m_iAMDatabaseAuthenticationEnabled{false};
586 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
587
588 Aws::Vector<ProcessorFeature> m_processorFeatures;
589 bool m_processorFeaturesHasBeenSet = false;
590
591 Aws::String m_dbiResourceId;
592 bool m_dbiResourceIdHasBeenSet = false;
593
594 Aws::Vector<Tag> m_tagList;
595 bool m_tagListHasBeenSet = false;
596
597 Aws::Utils::DateTime m_originalSnapshotCreateTime{};
598 bool m_originalSnapshotCreateTimeHasBeenSet = false;
599
600 Aws::Utils::DateTime m_snapshotDatabaseTime{};
601 bool m_snapshotDatabaseTimeHasBeenSet = false;
602
603 Aws::String m_snapshotTarget;
604 bool m_snapshotTargetHasBeenSet = false;
605
606 int m_storageThroughput{0};
607 bool m_storageThroughputHasBeenSet = false;
608
609 Aws::String m_dBSystemId;
610 bool m_dBSystemIdHasBeenSet = false;
611
612 bool m_dedicatedLogVolume{false};
613 bool m_dedicatedLogVolumeHasBeenSet = false;
614
615 bool m_multiTenant{false};
616 bool m_multiTenantHasBeenSet = false;
617
618 Aws::String m_snapshotAvailabilityZone;
619 bool m_snapshotAvailabilityZoneHasBeenSet = false;
620 };
621
622} // namespace Model
623} // namespace RDS
624} // namespace Aws
DBSnapshot & WithSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
Definition DBSnapshot.h:506
void SetTimezone(TimezoneT &&value)
Definition DBSnapshot.h:348
bool MasterUsernameHasBeenSet() const
Definition DBSnapshot.h:174
const Aws::String & GetEngine() const
Definition DBSnapshot.h:90
bool AvailabilityZoneHasBeenSet() const
Definition DBSnapshot.h:137
const Aws::String & GetTdeCredentialArn() const
Definition DBSnapshot.h:294
bool SourceDBSnapshotIdentifierHasBeenSet() const
Definition DBSnapshot.h:270
bool DBSystemIdHasBeenSet() const
Definition DBSnapshot.h:466
const Aws::Utils::DateTime & GetInstanceCreateTime() const
Definition DBSnapshot.h:161
void SetStorageThroughput(int value)
Definition DBSnapshot.h:455
DBSnapshot & WithIops(int value)
Definition DBSnapshot.h:225
void SetOptionGroupName(OptionGroupNameT &&value)
Definition DBSnapshot.h:235
DBSnapshot & WithSourceRegion(SourceRegionT &&value)
Definition DBSnapshot.h:260
void SetOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT &&value)
Definition DBSnapshot.h:412
DBSnapshot & WithOptionGroupName(OptionGroupNameT &&value)
Definition DBSnapshot.h:237
const Aws::String & GetEngineVersion() const
Definition DBSnapshot.h:185
DBSnapshot & WithEngineVersion(EngineVersionT &&value)
Definition DBSnapshot.h:190
void SetDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
Definition DBSnapshot.h:55
bool OptionGroupNameHasBeenSet() const
Definition DBSnapshot.h:233
void SetMultiTenant(bool value)
Definition DBSnapshot.h:491
void SetDbiResourceId(DbiResourceIdT &&value)
Definition DBSnapshot.h:387
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition DBSnapshot.h:78
DBSnapshot & WithPercentProgress(int value)
Definition DBSnapshot.h:247
AWS_RDS_API DBSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SnapshotDatabaseTimeHasBeenSet() const
Definition DBSnapshot.h:429
bool EncryptedHasBeenSet() const
Definition DBSnapshot.h:307
bool DBInstanceIdentifierHasBeenSet() const
Definition DBSnapshot.h:66
DBSnapshot & AddProcessorFeatures(ProcessorFeaturesT &&value)
Definition DBSnapshot.h:376
bool TdeCredentialArnHasBeenSet() const
Definition DBSnapshot.h:295
const Aws::String & GetDBSnapshotArn() const
Definition DBSnapshot.h:330
void SetSnapshotTarget(SnapshotTargetT &&value)
Definition DBSnapshot.h:444
bool AllocatedStorageHasBeenSet() const
Definition DBSnapshot.h:103
void SetProcessorFeatures(ProcessorFeaturesT &&value)
Definition DBSnapshot.h:372
const Aws::Vector< ProcessorFeature > & GetProcessorFeatures() const
Definition DBSnapshot.h:369
bool SourceRegionHasBeenSet() const
Definition DBSnapshot.h:256
DBSnapshot & WithMasterUsername(MasterUsernameT &&value)
Definition DBSnapshot.h:178
bool DbiResourceIdHasBeenSet() const
Definition DBSnapshot.h:385
void SetVpcId(VpcIdT &&value)
Definition DBSnapshot.h:151
const Aws::String & GetKmsKeyId() const
Definition DBSnapshot.h:318
void SetTdeCredentialArn(TdeCredentialArnT &&value)
Definition DBSnapshot.h:297
bool SnapshotCreateTimeHasBeenSet() const
Definition DBSnapshot.h:79
DBSnapshot & WithOriginalSnapshotCreateTime(OriginalSnapshotCreateTimeT &&value)
Definition DBSnapshot.h:414
bool PercentProgressHasBeenSet() const
Definition DBSnapshot.h:245
void SetPercentProgress(int value)
Definition DBSnapshot.h:246
DBSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition DBSnapshot.h:83
DBSnapshot & WithProcessorFeatures(ProcessorFeaturesT &&value)
Definition DBSnapshot.h:374
bool SnapshotTypeHasBeenSet() const
Definition DBSnapshot.h:210
void SetLicenseModel(LicenseModelT &&value)
Definition DBSnapshot.h:200
DBSnapshot & AddTagList(TagListT &&value)
Definition DBSnapshot.h:401
const Aws::Utils::DateTime & GetSnapshotDatabaseTime() const
Definition DBSnapshot.h:428
bool IAMDatabaseAuthenticationEnabledHasBeenSet() const
Definition DBSnapshot.h:359
void SetKmsKeyId(KmsKeyIdT &&value)
Definition DBSnapshot.h:321
bool DBSnapshotArnHasBeenSet() const
Definition DBSnapshot.h:331
bool EngineHasBeenSet() const
Definition DBSnapshot.h:91
DBSnapshot & WithDbiResourceId(DbiResourceIdT &&value)
Definition DBSnapshot.h:389
DBSnapshot & WithSnapshotDatabaseTime(SnapshotDatabaseTimeT &&value)
Definition DBSnapshot.h:433
DBSnapshot & WithAllocatedStorage(int value)
Definition DBSnapshot.h:105
DBSnapshot & WithTagList(TagListT &&value)
Definition DBSnapshot.h:399
DBSnapshot & WithLicenseModel(LicenseModelT &&value)
Definition DBSnapshot.h:202
const Aws::String & GetDBSystemId() const
Definition DBSnapshot.h:465
const Aws::String & GetVpcId() const
Definition DBSnapshot.h:148
const Aws::String & GetOptionGroupName() const
Definition DBSnapshot.h:232
void SetDBInstanceIdentifier(DBInstanceIdentifierT &&value)
Definition DBSnapshot.h:68
bool StorageTypeHasBeenSet() const
Definition DBSnapshot.h:282
DBSnapshot & WithPort(int value)
Definition DBSnapshot.h:128
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetDedicatedLogVolume(bool value)
Definition DBSnapshot.h:480
void SetInstanceCreateTime(InstanceCreateTimeT &&value)
Definition DBSnapshot.h:164
DBSnapshot & WithDBInstanceIdentifier(DBInstanceIdentifierT &&value)
Definition DBSnapshot.h:70
bool OriginalSnapshotCreateTimeHasBeenSet() const
Definition DBSnapshot.h:410
void SetDBSnapshotArn(DBSnapshotArnT &&value)
Definition DBSnapshot.h:333
const Aws::Utils::DateTime & GetOriginalSnapshotCreateTime() const
Definition DBSnapshot.h:409
const Aws::String & GetSnapshotAvailabilityZone() const
Definition DBSnapshot.h:501
void SetEngineVersion(EngineVersionT &&value)
Definition DBSnapshot.h:188
bool SnapshotAvailabilityZoneHasBeenSet() const
Definition DBSnapshot.h:502
bool KmsKeyIdHasBeenSet() const
Definition DBSnapshot.h:319
DBSnapshot & WithMultiTenant(bool value)
Definition DBSnapshot.h:492
bool InstanceCreateTimeHasBeenSet() const
Definition DBSnapshot.h:162
void SetSnapshotDatabaseTime(SnapshotDatabaseTimeT &&value)
Definition DBSnapshot.h:431
bool StorageThroughputHasBeenSet() const
Definition DBSnapshot.h:454
bool DBSnapshotIdentifierHasBeenSet() const
Definition DBSnapshot.h:53
void SetSnapshotAvailabilityZone(SnapshotAvailabilityZoneT &&value)
Definition DBSnapshot.h:504
void SetEncrypted(bool value)
Definition DBSnapshot.h:308
DBSnapshot & WithVpcId(VpcIdT &&value)
Definition DBSnapshot.h:153
void SetSourceRegion(SourceRegionT &&value)
Definition DBSnapshot.h:258
DBSnapshot & WithDBSnapshotArn(DBSnapshotArnT &&value)
Definition DBSnapshot.h:335
bool TimezoneHasBeenSet() const
Definition DBSnapshot.h:346
DBSnapshot & WithTimezone(TimezoneT &&value)
Definition DBSnapshot.h:350
DBSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
Definition DBSnapshot.h:323
void SetTagList(TagListT &&value)
Definition DBSnapshot.h:397
void SetAvailabilityZone(AvailabilityZoneT &&value)
Definition DBSnapshot.h:139
const Aws::String & GetStorageType() const
Definition DBSnapshot.h:281
DBSnapshot & WithStatus(StatusT &&value)
Definition DBSnapshot.h:117
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
Definition DBSnapshot.h:81
const Aws::String & GetSourceRegion() const
Definition DBSnapshot.h:255
DBSnapshot & WithSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
Definition DBSnapshot.h:274
bool GetDedicatedLogVolume() const
Definition DBSnapshot.h:478
const Aws::String & GetDbiResourceId() const
Definition DBSnapshot.h:384
void SetStatus(StatusT &&value)
Definition DBSnapshot.h:115
const Aws::String & GetLicenseModel() const
Definition DBSnapshot.h:197
bool LicenseModelHasBeenSet() const
Definition DBSnapshot.h:198
DBSnapshot & WithStorageThroughput(int value)
Definition DBSnapshot.h:456
const Aws::String & GetDBSnapshotIdentifier() const
Definition DBSnapshot.h:52
const Aws::String & GetTimezone() const
Definition DBSnapshot.h:345
void SetStorageType(StorageTypeT &&value)
Definition DBSnapshot.h:284
const Aws::String & GetDBInstanceIdentifier() const
Definition DBSnapshot.h:65
const Aws::String & GetSnapshotTarget() const
Definition DBSnapshot.h:441
void SetAllocatedStorage(int value)
Definition DBSnapshot.h:104
DBSnapshot & WithStorageType(StorageTypeT &&value)
Definition DBSnapshot.h:286
const Aws::String & GetSourceDBSnapshotIdentifier() const
Definition DBSnapshot.h:269
const Aws::Vector< Tag > & GetTagList() const
Definition DBSnapshot.h:394
DBSnapshot & WithInstanceCreateTime(InstanceCreateTimeT &&value)
Definition DBSnapshot.h:166
DBSnapshot & WithSnapshotType(SnapshotTypeT &&value)
Definition DBSnapshot.h:214
DBSnapshot & WithTdeCredentialArn(TdeCredentialArnT &&value)
Definition DBSnapshot.h:299
bool DedicatedLogVolumeHasBeenSet() const
Definition DBSnapshot.h:479
void SetSnapshotType(SnapshotTypeT &&value)
Definition DBSnapshot.h:212
void SetSourceDBSnapshotIdentifier(SourceDBSnapshotIdentifierT &&value)
Definition DBSnapshot.h:272
bool GetIAMDatabaseAuthenticationEnabled() const
Definition DBSnapshot.h:358
DBSnapshot & WithDBSystemId(DBSystemIdT &&value)
Definition DBSnapshot.h:470
DBSnapshot & WithIAMDatabaseAuthenticationEnabled(bool value)
Definition DBSnapshot.h:361
const Aws::String & GetAvailabilityZone() const
Definition DBSnapshot.h:136
bool SnapshotTargetHasBeenSet() const
Definition DBSnapshot.h:442
bool EngineVersionHasBeenSet() const
Definition DBSnapshot.h:186
DBSnapshot & WithDedicatedLogVolume(bool value)
Definition DBSnapshot.h:481
DBSnapshot & WithAvailabilityZone(AvailabilityZoneT &&value)
Definition DBSnapshot.h:141
const Aws::String & GetStatus() const
Definition DBSnapshot.h:112
bool MultiTenantHasBeenSet() const
Definition DBSnapshot.h:490
void SetEngine(EngineT &&value)
Definition DBSnapshot.h:93
const Aws::String & GetMasterUsername() const
Definition DBSnapshot.h:173
DBSnapshot & WithSnapshotTarget(SnapshotTargetT &&value)
Definition DBSnapshot.h:446
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API DBSnapshot()=default
DBSnapshot & WithEngine(EngineT &&value)
Definition DBSnapshot.h:95
const Aws::String & GetSnapshotType() const
Definition DBSnapshot.h:209
bool ProcessorFeaturesHasBeenSet() const
Definition DBSnapshot.h:370
void SetMasterUsername(MasterUsernameT &&value)
Definition DBSnapshot.h:176
void SetIAMDatabaseAuthenticationEnabled(bool value)
Definition DBSnapshot.h:360
AWS_RDS_API DBSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBSnapshot & WithDBSnapshotIdentifier(DBSnapshotIdentifierT &&value)
Definition DBSnapshot.h:57
void SetDBSystemId(DBSystemIdT &&value)
Definition DBSnapshot.h:468
DBSnapshot & WithEncrypted(bool value)
Definition DBSnapshot.h:309
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream