AWS SDK for C++  0.14.3
AWS SDK for C++
DBSnapshot.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/rds/RDS_EXPORTS.h>
20 
21 namespace Aws
22 {
23 namespace Utils
24 {
25 namespace Xml
26 {
27  class XmlNode;
28 } // namespace Xml
29 } // namespace Utils
30 namespace RDS
31 {
32 namespace Model
33 {
34 
42  {
43  public:
44  DBSnapshot();
45  DBSnapshot(const Aws::Utils::Xml::XmlNode& xmlNode);
46  DBSnapshot& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
47 
48  void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
49  void OutputToStream(Aws::OStream& oStream, const char* location) const;
50 
54  inline const Aws::String& GetDBSnapshotIdentifier() const{ return m_dBSnapshotIdentifier; }
55 
59  inline void SetDBSnapshotIdentifier(const Aws::String& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
60 
64  inline void SetDBSnapshotIdentifier(Aws::String&& value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier = value; }
65 
69  inline void SetDBSnapshotIdentifier(const char* value) { m_dBSnapshotIdentifierHasBeenSet = true; m_dBSnapshotIdentifier.assign(value); }
70 
74  inline DBSnapshot& WithDBSnapshotIdentifier(const Aws::String& value) { SetDBSnapshotIdentifier(value); return *this;}
75 
79  inline DBSnapshot& WithDBSnapshotIdentifier(Aws::String&& value) { SetDBSnapshotIdentifier(value); return *this;}
80 
84  inline DBSnapshot& WithDBSnapshotIdentifier(const char* value) { SetDBSnapshotIdentifier(value); return *this;}
85 
90  inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; }
91 
96  inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
97 
102  inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; }
103 
108  inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); }
109 
114  inline DBSnapshot& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;}
115 
120  inline DBSnapshot& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(value); return *this;}
121 
126  inline DBSnapshot& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;}
127 
132  inline const Aws::Utils::DateTime& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; }
133 
138  inline void SetSnapshotCreateTime(const Aws::Utils::DateTime& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
139 
144  inline void SetSnapshotCreateTime(Aws::Utils::DateTime&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; }
145 
150  inline DBSnapshot& WithSnapshotCreateTime(const Aws::Utils::DateTime& value) { SetSnapshotCreateTime(value); return *this;}
151 
156  inline DBSnapshot& WithSnapshotCreateTime(Aws::Utils::DateTime&& value) { SetSnapshotCreateTime(value); return *this;}
157 
161  inline const Aws::String& GetEngine() const{ return m_engine; }
162 
166  inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; }
167 
171  inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = value; }
172 
176  inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); }
177 
181  inline DBSnapshot& WithEngine(const Aws::String& value) { SetEngine(value); return *this;}
182 
186  inline DBSnapshot& WithEngine(Aws::String&& value) { SetEngine(value); return *this;}
187 
191  inline DBSnapshot& WithEngine(const char* value) { SetEngine(value); return *this;}
192 
196  inline int GetAllocatedStorage() const{ return m_allocatedStorage; }
197 
201  inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; }
202 
206  inline DBSnapshot& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;}
207 
211  inline const Aws::String& GetStatus() const{ return m_status; }
212 
216  inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
217 
221  inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = value; }
222 
226  inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
227 
231  inline DBSnapshot& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
232 
236  inline DBSnapshot& WithStatus(Aws::String&& value) { SetStatus(value); return *this;}
237 
241  inline DBSnapshot& WithStatus(const char* value) { SetStatus(value); return *this;}
242 
247  inline int GetPort() const{ return m_port; }
248 
253  inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; }
254 
259  inline DBSnapshot& WithPort(int value) { SetPort(value); return *this;}
260 
265  inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; }
266 
271  inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
272 
277  inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; }
278 
283  inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); }
284 
289  inline DBSnapshot& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;}
290 
295  inline DBSnapshot& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(value); return *this;}
296 
301  inline DBSnapshot& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;}
302 
306  inline const Aws::String& GetVpcId() const{ return m_vpcId; }
307 
311  inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
312 
316  inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
317 
321  inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
322 
326  inline DBSnapshot& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
327 
331  inline DBSnapshot& WithVpcId(Aws::String&& value) { SetVpcId(value); return *this;}
332 
336  inline DBSnapshot& WithVpcId(const char* value) { SetVpcId(value); return *this;}
337 
342  inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; }
343 
348  inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; }
349 
354  inline void SetInstanceCreateTime(Aws::Utils::DateTime&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; }
355 
360  inline DBSnapshot& WithInstanceCreateTime(const Aws::Utils::DateTime& value) { SetInstanceCreateTime(value); return *this;}
361 
366  inline DBSnapshot& WithInstanceCreateTime(Aws::Utils::DateTime&& value) { SetInstanceCreateTime(value); return *this;}
367 
371  inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; }
372 
376  inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
377 
381  inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; }
382 
386  inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); }
387 
391  inline DBSnapshot& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;}
392 
396  inline DBSnapshot& WithMasterUsername(Aws::String&& value) { SetMasterUsername(value); return *this;}
397 
401  inline DBSnapshot& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;}
402 
406  inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; }
407 
411  inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
412 
416  inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; }
417 
421  inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); }
422 
426  inline DBSnapshot& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;}
427 
431  inline DBSnapshot& WithEngineVersion(Aws::String&& value) { SetEngineVersion(value); return *this;}
432 
436  inline DBSnapshot& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;}
437 
441  inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; }
442 
446  inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
447 
451  inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; }
452 
456  inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); }
457 
461  inline DBSnapshot& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;}
462 
466  inline DBSnapshot& WithLicenseModel(Aws::String&& value) { SetLicenseModel(value); return *this;}
467 
471  inline DBSnapshot& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;}
472 
476  inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; }
477 
481  inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
482 
486  inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; }
487 
491  inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); }
492 
496  inline DBSnapshot& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;}
497 
501  inline DBSnapshot& WithSnapshotType(Aws::String&& value) { SetSnapshotType(value); return *this;}
502 
506  inline DBSnapshot& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;}
507 
512  inline int GetIops() const{ return m_iops; }
513 
518  inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; }
519 
524  inline DBSnapshot& WithIops(int value) { SetIops(value); return *this;}
525 
529  inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; }
530 
534  inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
535 
539  inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; }
540 
544  inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); }
545 
549  inline DBSnapshot& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;}
550 
554  inline DBSnapshot& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(value); return *this;}
555 
559  inline DBSnapshot& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;}
560 
564  inline int GetPercentProgress() const{ return m_percentProgress; }
565 
569  inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; }
570 
574  inline DBSnapshot& WithPercentProgress(int value) { SetPercentProgress(value); return *this;}
575 
579  inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; }
580 
584  inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
585 
589  inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; }
590 
594  inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); }
595 
599  inline DBSnapshot& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;}
600 
604  inline DBSnapshot& WithSourceRegion(Aws::String&& value) { SetSourceRegion(value); return *this;}
605 
609  inline DBSnapshot& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;}
610 
615  inline const Aws::String& GetSourceDBSnapshotIdentifier() const{ return m_sourceDBSnapshotIdentifier; }
616 
621  inline void SetSourceDBSnapshotIdentifier(const Aws::String& value) { m_sourceDBSnapshotIdentifierHasBeenSet = true; m_sourceDBSnapshotIdentifier = value; }
622 
627  inline void SetSourceDBSnapshotIdentifier(Aws::String&& value) { m_sourceDBSnapshotIdentifierHasBeenSet = true; m_sourceDBSnapshotIdentifier = value; }
628 
633  inline void SetSourceDBSnapshotIdentifier(const char* value) { m_sourceDBSnapshotIdentifierHasBeenSet = true; m_sourceDBSnapshotIdentifier.assign(value); }
634 
639  inline DBSnapshot& WithSourceDBSnapshotIdentifier(const Aws::String& value) { SetSourceDBSnapshotIdentifier(value); return *this;}
640 
645  inline DBSnapshot& WithSourceDBSnapshotIdentifier(Aws::String&& value) { SetSourceDBSnapshotIdentifier(value); return *this;}
646 
651  inline DBSnapshot& WithSourceDBSnapshotIdentifier(const char* value) { SetSourceDBSnapshotIdentifier(value); return *this;}
652 
656  inline const Aws::String& GetStorageType() const{ return m_storageType; }
657 
661  inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
662 
666  inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = value; }
667 
671  inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); }
672 
676  inline DBSnapshot& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;}
677 
681  inline DBSnapshot& WithStorageType(Aws::String&& value) { SetStorageType(value); return *this;}
682 
686  inline DBSnapshot& WithStorageType(const char* value) { SetStorageType(value); return *this;}
687 
692  inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; }
693 
698  inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; }
699 
704  inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; }
705 
710  inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); }
711 
716  inline DBSnapshot& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;}
717 
722  inline DBSnapshot& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(value); return *this;}
723 
728  inline DBSnapshot& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;}
729 
733  inline bool GetEncrypted() const{ return m_encrypted; }
734 
738  inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; }
739 
743  inline DBSnapshot& WithEncrypted(bool value) { SetEncrypted(value); return *this;}
744 
749  inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
750 
755  inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
756 
761  inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
762 
767  inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
768 
773  inline DBSnapshot& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
774 
779  inline DBSnapshot& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(value); return *this;}
780 
785  inline DBSnapshot& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
786 
787  private:
788  Aws::String m_dBSnapshotIdentifier;
789  bool m_dBSnapshotIdentifierHasBeenSet;
790  Aws::String m_dBInstanceIdentifier;
791  bool m_dBInstanceIdentifierHasBeenSet;
792  Aws::Utils::DateTime m_snapshotCreateTime;
793  bool m_snapshotCreateTimeHasBeenSet;
794  Aws::String m_engine;
795  bool m_engineHasBeenSet;
796  int m_allocatedStorage;
797  bool m_allocatedStorageHasBeenSet;
798  Aws::String m_status;
799  bool m_statusHasBeenSet;
800  int m_port;
801  bool m_portHasBeenSet;
802  Aws::String m_availabilityZone;
803  bool m_availabilityZoneHasBeenSet;
804  Aws::String m_vpcId;
805  bool m_vpcIdHasBeenSet;
806  Aws::Utils::DateTime m_instanceCreateTime;
807  bool m_instanceCreateTimeHasBeenSet;
808  Aws::String m_masterUsername;
809  bool m_masterUsernameHasBeenSet;
810  Aws::String m_engineVersion;
811  bool m_engineVersionHasBeenSet;
812  Aws::String m_licenseModel;
813  bool m_licenseModelHasBeenSet;
814  Aws::String m_snapshotType;
815  bool m_snapshotTypeHasBeenSet;
816  int m_iops;
817  bool m_iopsHasBeenSet;
818  Aws::String m_optionGroupName;
819  bool m_optionGroupNameHasBeenSet;
820  int m_percentProgress;
821  bool m_percentProgressHasBeenSet;
822  Aws::String m_sourceRegion;
823  bool m_sourceRegionHasBeenSet;
824  Aws::String m_sourceDBSnapshotIdentifier;
825  bool m_sourceDBSnapshotIdentifierHasBeenSet;
826  Aws::String m_storageType;
827  bool m_storageTypeHasBeenSet;
828  Aws::String m_tdeCredentialArn;
829  bool m_tdeCredentialArnHasBeenSet;
830  bool m_encrypted;
831  bool m_encryptedHasBeenSet;
832  Aws::String m_kmsKeyId;
833  bool m_kmsKeyIdHasBeenSet;
834  };
835 
836 } // namespace Model
837 } // namespace RDS
838 } // namespace Aws
void SetStorageType(const char *value)
Definition: DBSnapshot.h:671
const Aws::String & GetDBInstanceIdentifier() const
Definition: DBSnapshot.h:90
DBSnapshot & WithKmsKeyId(Aws::String &&value)
Definition: DBSnapshot.h:779
DBSnapshot & WithSourceDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:645
void SetTdeCredentialArn(Aws::String &&value)
Definition: DBSnapshot.h:704
void SetLicenseModel(const char *value)
Definition: DBSnapshot.h:456
const Aws::String & GetSnapshotType() const
Definition: DBSnapshot.h:476
DBSnapshot & WithAvailabilityZone(Aws::String &&value)
Definition: DBSnapshot.h:295
DBSnapshot & WithDBInstanceIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:114
void SetInstanceCreateTime(Aws::Utils::DateTime &&value)
Definition: DBSnapshot.h:354
DBSnapshot & WithEngine(const Aws::String &value)
Definition: DBSnapshot.h:181
void SetMasterUsername(Aws::String &&value)
Definition: DBSnapshot.h:381
const Aws::String & GetTdeCredentialArn() const
Definition: DBSnapshot.h:692
const Aws::String & GetMasterUsername() const
Definition: DBSnapshot.h:371
DBSnapshot & WithIops(int value)
Definition: DBSnapshot.h:524
DBSnapshot & WithVpcId(Aws::String &&value)
Definition: DBSnapshot.h:331
void SetEngineVersion(Aws::String &&value)
Definition: DBSnapshot.h:416
void SetDBSnapshotIdentifier(const char *value)
Definition: DBSnapshot.h:69
DBSnapshot & WithSnapshotType(const char *value)
Definition: DBSnapshot.h:506
DBSnapshot & WithEncrypted(bool value)
Definition: DBSnapshot.h:743
DBSnapshot & WithStatus(const char *value)
Definition: DBSnapshot.h:241
void SetDBInstanceIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:96
void SetLicenseModel(const Aws::String &value)
Definition: DBSnapshot.h:446
void SetVpcId(const Aws::String &value)
Definition: DBSnapshot.h:311
#define AWS_RDS_API
Definition: RDS_EXPORTS.h:37
const Aws::String & GetLicenseModel() const
Definition: DBSnapshot.h:441
void SetOptionGroupName(const char *value)
Definition: DBSnapshot.h:544
DBSnapshot & WithSnapshotType(const Aws::String &value)
Definition: DBSnapshot.h:496
DBSnapshot & WithAvailabilityZone(const char *value)
Definition: DBSnapshot.h:301
void SetTdeCredentialArn(const Aws::String &value)
Definition: DBSnapshot.h:698
const Aws::String & GetSourceRegion() const
Definition: DBSnapshot.h:579
void SetTdeCredentialArn(const char *value)
Definition: DBSnapshot.h:710
DBSnapshot & WithSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: DBSnapshot.h:156
DBSnapshot & WithDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:74
void SetPort(int value)
Definition: DBSnapshot.h:253
DBSnapshot & WithStorageType(const Aws::String &value)
Definition: DBSnapshot.h:676
DBSnapshot & WithKmsKeyId(const char *value)
Definition: DBSnapshot.h:785
void SetDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:59
DBSnapshot & WithPercentProgress(int value)
Definition: DBSnapshot.h:574
void SetEngine(const Aws::String &value)
Definition: DBSnapshot.h:166
DBSnapshot & WithMasterUsername(const Aws::String &value)
Definition: DBSnapshot.h:391
const Aws::String & GetStorageType() const
Definition: DBSnapshot.h:656
void SetSourceRegion(Aws::String &&value)
Definition: DBSnapshot.h:589
DBSnapshot & WithOptionGroupName(Aws::String &&value)
Definition: DBSnapshot.h:554
bool GetEncrypted() const
Definition: DBSnapshot.h:733
void SetDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:64
const Aws::String & GetDBSnapshotIdentifier() const
Definition: DBSnapshot.h:54
DBSnapshot & WithStorageType(const char *value)
Definition: DBSnapshot.h:686
DBSnapshot & WithLicenseModel(const Aws::String &value)
Definition: DBSnapshot.h:461
DBSnapshot & WithDBSnapshotIdentifier(const char *value)
Definition: DBSnapshot.h:84
DBSnapshot & WithAvailabilityZone(const Aws::String &value)
Definition: DBSnapshot.h:289
DBSnapshot & WithStatus(Aws::String &&value)
Definition: DBSnapshot.h:236
void SetAllocatedStorage(int value)
Definition: DBSnapshot.h:201
void SetInstanceCreateTime(const Aws::Utils::DateTime &value)
Definition: DBSnapshot.h:348
DBSnapshot & WithVpcId(const char *value)
Definition: DBSnapshot.h:336
const Aws::String & GetOptionGroupName() const
Definition: DBSnapshot.h:529
void SetDBInstanceIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:102
const Aws::String & GetVpcId() const
Definition: DBSnapshot.h:306
void SetStatus(const Aws::String &value)
Definition: DBSnapshot.h:216
DBSnapshot & WithTdeCredentialArn(Aws::String &&value)
Definition: DBSnapshot.h:722
const Aws::String & GetAvailabilityZone() const
Definition: DBSnapshot.h:265
void SetStatus(const char *value)
Definition: DBSnapshot.h:226
const Aws::String & GetKmsKeyId() const
Definition: DBSnapshot.h:749
void SetSourceDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:621
DBSnapshot & WithStorageType(Aws::String &&value)
Definition: DBSnapshot.h:681
void SetKmsKeyId(const Aws::String &value)
Definition: DBSnapshot.h:755
DBSnapshot & WithSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: DBSnapshot.h:150
DBSnapshot & WithLicenseModel(Aws::String &&value)
Definition: DBSnapshot.h:466
void SetEngineVersion(const Aws::String &value)
Definition: DBSnapshot.h:411
std::basic_ostream< char, std::char_traits< char > > OStream
Definition: AWSStreamFwd.h:31
const Aws::String & GetEngine() const
Definition: DBSnapshot.h:161
void SetSourceDBSnapshotIdentifier(const char *value)
Definition: DBSnapshot.h:633
DBSnapshot & WithEngine(const char *value)
Definition: DBSnapshot.h:191
int GetPercentProgress() const
Definition: DBSnapshot.h:564
void SetStorageType(Aws::String &&value)
Definition: DBSnapshot.h:666
const Aws::String & GetSourceDBSnapshotIdentifier() const
Definition: DBSnapshot.h:615
DBSnapshot & WithStatus(const Aws::String &value)
Definition: DBSnapshot.h:231
DBSnapshot & WithTdeCredentialArn(const char *value)
Definition: DBSnapshot.h:728
void SetOptionGroupName(const Aws::String &value)
Definition: DBSnapshot.h:534
void SetVpcId(Aws::String &&value)
Definition: DBSnapshot.h:316
void SetSourceRegion(const Aws::String &value)
Definition: DBSnapshot.h:584
DBSnapshot & WithMasterUsername(Aws::String &&value)
Definition: DBSnapshot.h:396
void SetStorageType(const Aws::String &value)
Definition: DBSnapshot.h:661
void SetEngineVersion(const char *value)
Definition: DBSnapshot.h:421
void SetEngine(Aws::String &&value)
Definition: DBSnapshot.h:171
void SetSnapshotCreateTime(Aws::Utils::DateTime &&value)
Definition: DBSnapshot.h:144
DBSnapshot & WithAllocatedStorage(int value)
Definition: DBSnapshot.h:206
const Aws::Utils::DateTime & GetSnapshotCreateTime() const
Definition: DBSnapshot.h:132
DBSnapshot & WithEngineVersion(const Aws::String &value)
Definition: DBSnapshot.h:426
const Aws::String & GetEngineVersion() const
Definition: DBSnapshot.h:406
DBSnapshot & WithSnapshotType(Aws::String &&value)
Definition: DBSnapshot.h:501
void SetSnapshotType(const Aws::String &value)
Definition: DBSnapshot.h:481
DBSnapshot & WithEngineVersion(Aws::String &&value)
Definition: DBSnapshot.h:431
DBSnapshot & WithOptionGroupName(const Aws::String &value)
Definition: DBSnapshot.h:549
DBSnapshot & WithSourceDBSnapshotIdentifier(const Aws::String &value)
Definition: DBSnapshot.h:639
DBSnapshot & WithPort(int value)
Definition: DBSnapshot.h:259
void SetAvailabilityZone(const char *value)
Definition: DBSnapshot.h:283
DBSnapshot & WithSourceRegion(Aws::String &&value)
Definition: DBSnapshot.h:604
void SetMasterUsername(const Aws::String &value)
Definition: DBSnapshot.h:376
void SetEngine(const char *value)
Definition: DBSnapshot.h:176
void SetOptionGroupName(Aws::String &&value)
Definition: DBSnapshot.h:539
void SetSourceRegion(const char *value)
Definition: DBSnapshot.h:594
DBSnapshot & WithDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:79
DBSnapshot & WithTdeCredentialArn(const Aws::String &value)
Definition: DBSnapshot.h:716
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
DBSnapshot & WithDBInstanceIdentifier(const char *value)
Definition: DBSnapshot.h:126
void SetMasterUsername(const char *value)
Definition: DBSnapshot.h:386
void SetSnapshotType(const char *value)
Definition: DBSnapshot.h:491
DBSnapshot & WithInstanceCreateTime(Aws::Utils::DateTime &&value)
Definition: DBSnapshot.h:366
void SetAvailabilityZone(Aws::String &&value)
Definition: DBSnapshot.h:277
DBSnapshot & WithLicenseModel(const char *value)
Definition: DBSnapshot.h:471
DBSnapshot & WithOptionGroupName(const char *value)
Definition: DBSnapshot.h:559
void SetKmsKeyId(const char *value)
Definition: DBSnapshot.h:767
DBSnapshot & WithDBInstanceIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:120
void SetPercentProgress(int value)
Definition: DBSnapshot.h:569
DBSnapshot & WithEngineVersion(const char *value)
Definition: DBSnapshot.h:436
DBSnapshot & WithInstanceCreateTime(const Aws::Utils::DateTime &value)
Definition: DBSnapshot.h:360
void SetStatus(Aws::String &&value)
Definition: DBSnapshot.h:221
DBSnapshot & WithSourceDBSnapshotIdentifier(const char *value)
Definition: DBSnapshot.h:651
const Aws::String & GetStatus() const
Definition: DBSnapshot.h:211
DBSnapshot & WithVpcId(const Aws::String &value)
Definition: DBSnapshot.h:326
const Aws::Utils::DateTime & GetInstanceCreateTime() const
Definition: DBSnapshot.h:342
void SetSnapshotType(Aws::String &&value)
Definition: DBSnapshot.h:486
void SetDBInstanceIdentifier(const char *value)
Definition: DBSnapshot.h:108
void SetIops(int value)
Definition: DBSnapshot.h:518
void SetAvailabilityZone(const Aws::String &value)
Definition: DBSnapshot.h:271
void SetSnapshotCreateTime(const Aws::Utils::DateTime &value)
Definition: DBSnapshot.h:138
DBSnapshot & WithSourceRegion(const char *value)
Definition: DBSnapshot.h:609
void SetKmsKeyId(Aws::String &&value)
Definition: DBSnapshot.h:761
int GetAllocatedStorage() const
Definition: DBSnapshot.h:196
void SetEncrypted(bool value)
Definition: DBSnapshot.h:738
DBSnapshot & WithKmsKeyId(const Aws::String &value)
Definition: DBSnapshot.h:773
DBSnapshot & WithSourceRegion(const Aws::String &value)
Definition: DBSnapshot.h:599
DBSnapshot & WithEngine(Aws::String &&value)
Definition: DBSnapshot.h:186
void SetSourceDBSnapshotIdentifier(Aws::String &&value)
Definition: DBSnapshot.h:627
void SetVpcId(const char *value)
Definition: DBSnapshot.h:321
DBSnapshot & WithMasterUsername(const char *value)
Definition: DBSnapshot.h:401
JSON (JavaScript Object Notation).
void SetLicenseModel(Aws::String &&value)
Definition: DBSnapshot.h:451