AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
DBClusterSnapshot.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/rds/RDS_EXPORTS.h>
12#include <aws/rds/model/StorageEncryptionType.h>
13#include <aws/rds/model/Tag.h>
14
15#include <utility>
16
17namespace Aws {
18namespace Utils {
19namespace Xml {
20class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace RDS {
24namespace Model {
25
34 public:
35 AWS_RDS_API DBClusterSnapshot() = default;
36 AWS_RDS_API DBClusterSnapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
38
39 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
40 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
41
43
47 inline const Aws::Vector<Aws::String>& GetAvailabilityZones() const { return m_availabilityZones; }
48 inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; }
49 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
50 void SetAvailabilityZones(AvailabilityZonesT&& value) {
51 m_availabilityZonesHasBeenSet = true;
52 m_availabilityZones = std::forward<AvailabilityZonesT>(value);
53 }
54 template <typename AvailabilityZonesT = Aws::Vector<Aws::String>>
55 DBClusterSnapshot& WithAvailabilityZones(AvailabilityZonesT&& value) {
56 SetAvailabilityZones(std::forward<AvailabilityZonesT>(value));
57 return *this;
58 }
59 template <typename AvailabilityZonesT = Aws::String>
60 DBClusterSnapshot& AddAvailabilityZones(AvailabilityZonesT&& value) {
61 m_availabilityZonesHasBeenSet = true;
62 m_availabilityZones.emplace_back(std::forward<AvailabilityZonesT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetDBClusterSnapshotIdentifier() const { return m_dBClusterSnapshotIdentifier; }
72 inline bool DBClusterSnapshotIdentifierHasBeenSet() const { return m_dBClusterSnapshotIdentifierHasBeenSet; }
73 template <typename DBClusterSnapshotIdentifierT = Aws::String>
74 void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) {
75 m_dBClusterSnapshotIdentifierHasBeenSet = true;
76 m_dBClusterSnapshotIdentifier = std::forward<DBClusterSnapshotIdentifierT>(value);
77 }
78 template <typename DBClusterSnapshotIdentifierT = Aws::String>
79 DBClusterSnapshot& WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT&& value) {
80 SetDBClusterSnapshotIdentifier(std::forward<DBClusterSnapshotIdentifierT>(value));
81 return *this;
82 }
84
86
90 inline const Aws::String& GetDBClusterIdentifier() const { return m_dBClusterIdentifier; }
91 inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; }
92 template <typename DBClusterIdentifierT = Aws::String>
93 void SetDBClusterIdentifier(DBClusterIdentifierT&& value) {
94 m_dBClusterIdentifierHasBeenSet = true;
95 m_dBClusterIdentifier = std::forward<DBClusterIdentifierT>(value);
96 }
97 template <typename DBClusterIdentifierT = Aws::String>
98 DBClusterSnapshot& WithDBClusterIdentifier(DBClusterIdentifierT&& value) {
99 SetDBClusterIdentifier(std::forward<DBClusterIdentifierT>(value));
100 return *this;
101 }
103
105
109 inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const { return m_snapshotCreateTime; }
110 inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; }
111 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
112 void SetSnapshotCreateTime(SnapshotCreateTimeT&& value) {
113 m_snapshotCreateTimeHasBeenSet = true;
114 m_snapshotCreateTime = std::forward<SnapshotCreateTimeT>(value);
115 }
116 template <typename SnapshotCreateTimeT = Aws::Utils::DateTime>
117 DBClusterSnapshot& WithSnapshotCreateTime(SnapshotCreateTimeT&& value) {
118 SetSnapshotCreateTime(std::forward<SnapshotCreateTimeT>(value));
119 return *this;
120 }
122
124
127 inline const Aws::String& GetEngine() const { return m_engine; }
128 inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; }
129 template <typename EngineT = Aws::String>
130 void SetEngine(EngineT&& value) {
131 m_engineHasBeenSet = true;
132 m_engine = std::forward<EngineT>(value);
133 }
134 template <typename EngineT = Aws::String>
135 DBClusterSnapshot& WithEngine(EngineT&& value) {
136 SetEngine(std::forward<EngineT>(value));
137 return *this;
138 }
140
142
145 inline const Aws::String& GetEngineMode() const { return m_engineMode; }
146 inline bool EngineModeHasBeenSet() const { return m_engineModeHasBeenSet; }
147 template <typename EngineModeT = Aws::String>
148 void SetEngineMode(EngineModeT&& value) {
149 m_engineModeHasBeenSet = true;
150 m_engineMode = std::forward<EngineModeT>(value);
151 }
152 template <typename EngineModeT = Aws::String>
153 DBClusterSnapshot& WithEngineMode(EngineModeT&& value) {
154 SetEngineMode(std::forward<EngineModeT>(value));
155 return *this;
156 }
158
160
163 inline int GetAllocatedStorage() const { return m_allocatedStorage; }
164 inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; }
165 inline void SetAllocatedStorage(int value) {
166 m_allocatedStorageHasBeenSet = true;
167 m_allocatedStorage = value;
168 }
170 SetAllocatedStorage(value);
171 return *this;
172 }
174
176
181 inline const Aws::String& GetStatus() const { return m_status; }
182 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
183 template <typename StatusT = Aws::String>
184 void SetStatus(StatusT&& value) {
185 m_statusHasBeenSet = true;
186 m_status = std::forward<StatusT>(value);
187 }
188 template <typename StatusT = Aws::String>
189 DBClusterSnapshot& WithStatus(StatusT&& value) {
190 SetStatus(std::forward<StatusT>(value));
191 return *this;
192 }
194
196
200 inline int GetPort() const { return m_port; }
201 inline bool PortHasBeenSet() const { return m_portHasBeenSet; }
202 inline void SetPort(int value) {
203 m_portHasBeenSet = true;
204 m_port = value;
205 }
206 inline DBClusterSnapshot& WithPort(int value) {
207 SetPort(value);
208 return *this;
209 }
211
213
216 inline const Aws::String& GetVpcId() const { return m_vpcId; }
217 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
218 template <typename VpcIdT = Aws::String>
219 void SetVpcId(VpcIdT&& value) {
220 m_vpcIdHasBeenSet = true;
221 m_vpcId = std::forward<VpcIdT>(value);
222 }
223 template <typename VpcIdT = Aws::String>
224 DBClusterSnapshot& WithVpcId(VpcIdT&& value) {
225 SetVpcId(std::forward<VpcIdT>(value));
226 return *this;
227 }
229
231
235 inline const Aws::Utils::DateTime& GetClusterCreateTime() const { return m_clusterCreateTime; }
236 inline bool ClusterCreateTimeHasBeenSet() const { return m_clusterCreateTimeHasBeenSet; }
237 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
238 void SetClusterCreateTime(ClusterCreateTimeT&& value) {
239 m_clusterCreateTimeHasBeenSet = true;
240 m_clusterCreateTime = std::forward<ClusterCreateTimeT>(value);
241 }
242 template <typename ClusterCreateTimeT = Aws::Utils::DateTime>
243 DBClusterSnapshot& WithClusterCreateTime(ClusterCreateTimeT&& value) {
244 SetClusterCreateTime(std::forward<ClusterCreateTimeT>(value));
245 return *this;
246 }
248
250
253 inline const Aws::String& GetMasterUsername() const { return m_masterUsername; }
254 inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; }
255 template <typename MasterUsernameT = Aws::String>
256 void SetMasterUsername(MasterUsernameT&& value) {
257 m_masterUsernameHasBeenSet = true;
258 m_masterUsername = std::forward<MasterUsernameT>(value);
259 }
260 template <typename MasterUsernameT = Aws::String>
261 DBClusterSnapshot& WithMasterUsername(MasterUsernameT&& value) {
262 SetMasterUsername(std::forward<MasterUsernameT>(value));
263 return *this;
264 }
266
268
271 inline const Aws::String& GetEngineVersion() const { return m_engineVersion; }
272 inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; }
273 template <typename EngineVersionT = Aws::String>
274 void SetEngineVersion(EngineVersionT&& value) {
275 m_engineVersionHasBeenSet = true;
276 m_engineVersion = std::forward<EngineVersionT>(value);
277 }
278 template <typename EngineVersionT = Aws::String>
279 DBClusterSnapshot& WithEngineVersion(EngineVersionT&& value) {
280 SetEngineVersion(std::forward<EngineVersionT>(value));
281 return *this;
282 }
284
286
289 inline const Aws::String& GetLicenseModel() const { return m_licenseModel; }
290 inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; }
291 template <typename LicenseModelT = Aws::String>
292 void SetLicenseModel(LicenseModelT&& value) {
293 m_licenseModelHasBeenSet = true;
294 m_licenseModel = std::forward<LicenseModelT>(value);
295 }
296 template <typename LicenseModelT = Aws::String>
297 DBClusterSnapshot& WithLicenseModel(LicenseModelT&& value) {
298 SetLicenseModel(std::forward<LicenseModelT>(value));
299 return *this;
300 }
302
304
307 inline const Aws::String& GetSnapshotType() const { return m_snapshotType; }
308 inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; }
309 template <typename SnapshotTypeT = Aws::String>
310 void SetSnapshotType(SnapshotTypeT&& value) {
311 m_snapshotTypeHasBeenSet = true;
312 m_snapshotType = std::forward<SnapshotTypeT>(value);
313 }
314 template <typename SnapshotTypeT = Aws::String>
315 DBClusterSnapshot& WithSnapshotType(SnapshotTypeT&& value) {
316 SetSnapshotType(std::forward<SnapshotTypeT>(value));
317 return *this;
318 }
320
322
325 inline int GetPercentProgress() const { return m_percentProgress; }
326 inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; }
327 inline void SetPercentProgress(int value) {
328 m_percentProgressHasBeenSet = true;
329 m_percentProgress = value;
330 }
332 SetPercentProgress(value);
333 return *this;
334 }
336
338
341 inline bool GetStorageEncrypted() const { return m_storageEncrypted; }
342 inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; }
343 inline void SetStorageEncrypted(bool value) {
344 m_storageEncryptedHasBeenSet = true;
345 m_storageEncrypted = value;
346 }
348 SetStorageEncrypted(value);
349 return *this;
350 }
352
354
363 inline StorageEncryptionType GetStorageEncryptionType() const { return m_storageEncryptionType; }
364 inline bool StorageEncryptionTypeHasBeenSet() const { return m_storageEncryptionTypeHasBeenSet; }
366 m_storageEncryptionTypeHasBeenSet = true;
367 m_storageEncryptionType = value;
368 }
371 return *this;
372 }
374
376
379 inline int GetBackupRetentionPeriod() const { return m_backupRetentionPeriod; }
380 inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; }
381 inline void SetBackupRetentionPeriod(int value) {
382 m_backupRetentionPeriodHasBeenSet = true;
383 m_backupRetentionPeriod = value;
384 }
387 return *this;
388 }
390
392
397 inline const Aws::String& GetPreferredBackupWindow() const { return m_preferredBackupWindow; }
398 inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; }
399 template <typename PreferredBackupWindowT = Aws::String>
400 void SetPreferredBackupWindow(PreferredBackupWindowT&& value) {
401 m_preferredBackupWindowHasBeenSet = true;
402 m_preferredBackupWindow = std::forward<PreferredBackupWindowT>(value);
403 }
404 template <typename PreferredBackupWindowT = Aws::String>
405 DBClusterSnapshot& WithPreferredBackupWindow(PreferredBackupWindowT&& value) {
406 SetPreferredBackupWindow(std::forward<PreferredBackupWindowT>(value));
407 return *this;
408 }
410
412
418 inline const Aws::String& GetKmsKeyId() const { return m_kmsKeyId; }
419 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
420 template <typename KmsKeyIdT = Aws::String>
421 void SetKmsKeyId(KmsKeyIdT&& value) {
422 m_kmsKeyIdHasBeenSet = true;
423 m_kmsKeyId = std::forward<KmsKeyIdT>(value);
424 }
425 template <typename KmsKeyIdT = Aws::String>
426 DBClusterSnapshot& WithKmsKeyId(KmsKeyIdT&& value) {
427 SetKmsKeyId(std::forward<KmsKeyIdT>(value));
428 return *this;
429 }
431
433
436 inline const Aws::String& GetDBClusterSnapshotArn() const { return m_dBClusterSnapshotArn; }
437 inline bool DBClusterSnapshotArnHasBeenSet() const { return m_dBClusterSnapshotArnHasBeenSet; }
438 template <typename DBClusterSnapshotArnT = Aws::String>
439 void SetDBClusterSnapshotArn(DBClusterSnapshotArnT&& value) {
440 m_dBClusterSnapshotArnHasBeenSet = true;
441 m_dBClusterSnapshotArn = std::forward<DBClusterSnapshotArnT>(value);
442 }
443 template <typename DBClusterSnapshotArnT = Aws::String>
444 DBClusterSnapshot& WithDBClusterSnapshotArn(DBClusterSnapshotArnT&& value) {
445 SetDBClusterSnapshotArn(std::forward<DBClusterSnapshotArnT>(value));
446 return *this;
447 }
449
451
456 inline const Aws::String& GetSourceDBClusterSnapshotArn() const { return m_sourceDBClusterSnapshotArn; }
457 inline bool SourceDBClusterSnapshotArnHasBeenSet() const { return m_sourceDBClusterSnapshotArnHasBeenSet; }
458 template <typename SourceDBClusterSnapshotArnT = Aws::String>
459 void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT&& value) {
460 m_sourceDBClusterSnapshotArnHasBeenSet = true;
461 m_sourceDBClusterSnapshotArn = std::forward<SourceDBClusterSnapshotArnT>(value);
462 }
463 template <typename SourceDBClusterSnapshotArnT = Aws::String>
464 DBClusterSnapshot& WithSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT&& value) {
465 SetSourceDBClusterSnapshotArn(std::forward<SourceDBClusterSnapshotArnT>(value));
466 return *this;
467 }
469
471
475 inline bool GetIAMDatabaseAuthenticationEnabled() const { return m_iAMDatabaseAuthenticationEnabled; }
476 inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; }
477 inline void SetIAMDatabaseAuthenticationEnabled(bool value) {
478 m_iAMDatabaseAuthenticationEnabledHasBeenSet = true;
479 m_iAMDatabaseAuthenticationEnabled = value;
480 }
483 return *this;
484 }
486
488
489 inline const Aws::Vector<Tag>& GetTagList() const { return m_tagList; }
490 inline bool TagListHasBeenSet() const { return m_tagListHasBeenSet; }
491 template <typename TagListT = Aws::Vector<Tag>>
492 void SetTagList(TagListT&& value) {
493 m_tagListHasBeenSet = true;
494 m_tagList = std::forward<TagListT>(value);
495 }
496 template <typename TagListT = Aws::Vector<Tag>>
497 DBClusterSnapshot& WithTagList(TagListT&& value) {
498 SetTagList(std::forward<TagListT>(value));
499 return *this;
500 }
501 template <typename TagListT = Tag>
502 DBClusterSnapshot& AddTagList(TagListT&& value) {
503 m_tagListHasBeenSet = true;
504 m_tagList.emplace_back(std::forward<TagListT>(value));
505 return *this;
506 }
508
510
514 inline const Aws::String& GetStorageType() const { return m_storageType; }
515 inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; }
516 template <typename StorageTypeT = Aws::String>
517 void SetStorageType(StorageTypeT&& value) {
518 m_storageTypeHasBeenSet = true;
519 m_storageType = std::forward<StorageTypeT>(value);
520 }
521 template <typename StorageTypeT = Aws::String>
522 DBClusterSnapshot& WithStorageType(StorageTypeT&& value) {
523 SetStorageType(std::forward<StorageTypeT>(value));
524 return *this;
525 }
527
529
535 inline int GetStorageThroughput() const { return m_storageThroughput; }
536 inline bool StorageThroughputHasBeenSet() const { return m_storageThroughputHasBeenSet; }
537 inline void SetStorageThroughput(int value) {
538 m_storageThroughputHasBeenSet = true;
539 m_storageThroughput = value;
540 }
543 return *this;
544 }
546
548
552 inline const Aws::String& GetDbClusterResourceId() const { return m_dbClusterResourceId; }
553 inline bool DbClusterResourceIdHasBeenSet() const { return m_dbClusterResourceIdHasBeenSet; }
554 template <typename DbClusterResourceIdT = Aws::String>
555 void SetDbClusterResourceId(DbClusterResourceIdT&& value) {
556 m_dbClusterResourceIdHasBeenSet = true;
557 m_dbClusterResourceId = std::forward<DbClusterResourceIdT>(value);
558 }
559 template <typename DbClusterResourceIdT = Aws::String>
560 DBClusterSnapshot& WithDbClusterResourceId(DbClusterResourceIdT&& value) {
561 SetDbClusterResourceId(std::forward<DbClusterResourceIdT>(value));
562 return *this;
563 }
565
567
570 inline const Aws::String& GetDBSystemId() const { return m_dBSystemId; }
571 inline bool DBSystemIdHasBeenSet() const { return m_dBSystemIdHasBeenSet; }
572 template <typename DBSystemIdT = Aws::String>
573 void SetDBSystemId(DBSystemIdT&& value) {
574 m_dBSystemIdHasBeenSet = true;
575 m_dBSystemId = std::forward<DBSystemIdT>(value);
576 }
577 template <typename DBSystemIdT = Aws::String>
578 DBClusterSnapshot& WithDBSystemId(DBSystemIdT&& value) {
579 SetDBSystemId(std::forward<DBSystemIdT>(value));
580 return *this;
581 }
583 private:
584 Aws::Vector<Aws::String> m_availabilityZones;
585
586 Aws::String m_dBClusterSnapshotIdentifier;
587
588 Aws::String m_dBClusterIdentifier;
589
590 Aws::Utils::DateTime m_snapshotCreateTime{};
591
592 Aws::String m_engine;
593
594 Aws::String m_engineMode;
595
596 int m_allocatedStorage{0};
597
598 Aws::String m_status;
599
600 int m_port{0};
601
602 Aws::String m_vpcId;
603
604 Aws::Utils::DateTime m_clusterCreateTime{};
605
606 Aws::String m_masterUsername;
607
608 Aws::String m_engineVersion;
609
610 Aws::String m_licenseModel;
611
612 Aws::String m_snapshotType;
613
614 int m_percentProgress{0};
615
616 bool m_storageEncrypted{false};
617
619
620 int m_backupRetentionPeriod{0};
621
622 Aws::String m_preferredBackupWindow;
623
624 Aws::String m_kmsKeyId;
625
626 Aws::String m_dBClusterSnapshotArn;
627
628 Aws::String m_sourceDBClusterSnapshotArn;
629
630 bool m_iAMDatabaseAuthenticationEnabled{false};
631
632 Aws::Vector<Tag> m_tagList;
633
634 Aws::String m_storageType;
635
636 int m_storageThroughput{0};
637
638 Aws::String m_dbClusterResourceId;
639
640 Aws::String m_dBSystemId;
641 bool m_availabilityZonesHasBeenSet = false;
642 bool m_dBClusterSnapshotIdentifierHasBeenSet = false;
643 bool m_dBClusterIdentifierHasBeenSet = false;
644 bool m_snapshotCreateTimeHasBeenSet = false;
645 bool m_engineHasBeenSet = false;
646 bool m_engineModeHasBeenSet = false;
647 bool m_allocatedStorageHasBeenSet = false;
648 bool m_statusHasBeenSet = false;
649 bool m_portHasBeenSet = false;
650 bool m_vpcIdHasBeenSet = false;
651 bool m_clusterCreateTimeHasBeenSet = false;
652 bool m_masterUsernameHasBeenSet = false;
653 bool m_engineVersionHasBeenSet = false;
654 bool m_licenseModelHasBeenSet = false;
655 bool m_snapshotTypeHasBeenSet = false;
656 bool m_percentProgressHasBeenSet = false;
657 bool m_storageEncryptedHasBeenSet = false;
658 bool m_storageEncryptionTypeHasBeenSet = false;
659 bool m_backupRetentionPeriodHasBeenSet = false;
660 bool m_preferredBackupWindowHasBeenSet = false;
661 bool m_kmsKeyIdHasBeenSet = false;
662 bool m_dBClusterSnapshotArnHasBeenSet = false;
663 bool m_sourceDBClusterSnapshotArnHasBeenSet = false;
664 bool m_iAMDatabaseAuthenticationEnabledHasBeenSet = false;
665 bool m_tagListHasBeenSet = false;
666 bool m_storageTypeHasBeenSet = false;
667 bool m_storageThroughputHasBeenSet = false;
668 bool m_dbClusterResourceIdHasBeenSet = false;
669 bool m_dBSystemIdHasBeenSet = false;
670};
671
672} // namespace Model
673} // namespace RDS
674} // namespace Aws
void SetStorageType(StorageTypeT &&value)
DBClusterSnapshot & WithSnapshotType(SnapshotTypeT &&value)
const Aws::String & GetDBClusterSnapshotIdentifier() const
void SetSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
void SetMasterUsername(MasterUsernameT &&value)
void SetSnapshotType(SnapshotTypeT &&value)
DBClusterSnapshot & WithIAMDatabaseAuthenticationEnabled(bool value)
void SetAvailabilityZones(AvailabilityZonesT &&value)
DBClusterSnapshot & WithDbClusterResourceId(DbClusterResourceIdT &&value)
DBClusterSnapshot & WithVpcId(VpcIdT &&value)
void SetDBSystemId(DBSystemIdT &&value)
StorageEncryptionType GetStorageEncryptionType() const
const Aws::String & GetDbClusterResourceId() const
DBClusterSnapshot & WithStorageEncrypted(bool value)
DBClusterSnapshot & WithDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
const Aws::String & GetStorageType() const
DBClusterSnapshot & WithPreferredBackupWindow(PreferredBackupWindowT &&value)
AWS_RDS_API DBClusterSnapshot()=default
const Aws::String & GetSourceDBClusterSnapshotArn() const
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
void SetPreferredBackupWindow(PreferredBackupWindowT &&value)
void SetLicenseModel(LicenseModelT &&value)
void SetStorageEncryptionType(StorageEncryptionType value)
void SetEngineVersion(EngineVersionT &&value)
DBClusterSnapshot & WithStorageEncryptionType(StorageEncryptionType value)
DBClusterSnapshot & WithStorageThroughput(int value)
const Aws::Vector< Tag > & GetTagList() const
DBClusterSnapshot & WithEngineVersion(EngineVersionT &&value)
const Aws::String & GetStatus() const
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
DBClusterSnapshot & WithSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBClusterSnapshot & WithDBSystemId(DBSystemIdT &&value)
void SetIAMDatabaseAuthenticationEnabled(bool value)
AWS_RDS_API DBClusterSnapshot(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshot & WithClusterCreateTime(ClusterCreateTimeT &&value)
DBClusterSnapshot & WithStorageType(StorageTypeT &&value)
AWS_RDS_API DBClusterSnapshot & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
DBClusterSnapshot & WithLicenseModel(LicenseModelT &&value)
void SetEngineMode(EngineModeT &&value)
const Aws::String & GetEngine() const
DBClusterSnapshot & WithDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
void SetClusterCreateTime(ClusterCreateTimeT &&value)
const Aws::String & GetPreferredBackupWindow() const
const Aws::String & GetVpcId() const
const Aws::String & GetDBClusterSnapshotArn() const
const Aws::String & GetEngineVersion() const
void SetDBClusterSnapshotIdentifier(DBClusterSnapshotIdentifierT &&value)
DBClusterSnapshot & AddAvailabilityZones(AvailabilityZonesT &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
DBClusterSnapshot & WithAllocatedStorage(int value)
const Aws::String & GetDBClusterIdentifier() const
DBClusterSnapshot & WithTagList(TagListT &&value)
const Aws::String & GetLicenseModel() const
const Aws::Utils::DateTime & GetClusterCreateTime() const
DBClusterSnapshot & WithStatus(StatusT &&value)
void SetDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::Vector< Aws::String > & GetAvailabilityZones() const
void SetDBClusterSnapshotArn(DBClusterSnapshotArnT &&value)
DBClusterSnapshot & WithEngine(EngineT &&value)
const Aws::String & GetEngineMode() const
const Aws::String & GetMasterUsername() const
DBClusterSnapshot & WithDBClusterIdentifier(DBClusterIdentifierT &&value)
const Aws::String & GetSnapshotType() const
const Aws::String & GetKmsKeyId() const
const Aws::String & GetDBSystemId() const
DBClusterSnapshot & WithKmsKeyId(KmsKeyIdT &&value)
void SetDbClusterResourceId(DbClusterResourceIdT &&value)
DBClusterSnapshot & WithPercentProgress(int value)
DBClusterSnapshot & WithAvailabilityZones(AvailabilityZonesT &&value)
DBClusterSnapshot & WithBackupRetentionPeriod(int value)
DBClusterSnapshot & WithMasterUsername(MasterUsernameT &&value)
DBClusterSnapshot & WithEngineMode(EngineModeT &&value)
DBClusterSnapshot & WithPort(int value)
void SetSnapshotCreateTime(SnapshotCreateTimeT &&value)
DBClusterSnapshot & AddTagList(TagListT &&value)
DBClusterSnapshot & WithSourceDBClusterSnapshotArn(SourceDBClusterSnapshotArnT &&value)
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