/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Provides details about an Amazon RDS DB cluster snapshot.See
* Also:
AWS
* API Reference
The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline const Aws::String& GetDbSnapshotIdentifier() const{ return m_dbSnapshotIdentifier; } /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline bool DbSnapshotIdentifierHasBeenSet() const { return m_dbSnapshotIdentifierHasBeenSet; } /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline void SetDbSnapshotIdentifier(const Aws::String& value) { m_dbSnapshotIdentifierHasBeenSet = true; m_dbSnapshotIdentifier = value; } /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline void SetDbSnapshotIdentifier(Aws::String&& value) { m_dbSnapshotIdentifierHasBeenSet = true; m_dbSnapshotIdentifier = std::move(value); } /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline void SetDbSnapshotIdentifier(const char* value) { m_dbSnapshotIdentifierHasBeenSet = true; m_dbSnapshotIdentifier.assign(value); } /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbSnapshotIdentifier(const Aws::String& value) { SetDbSnapshotIdentifier(value); return *this;} /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbSnapshotIdentifier(Aws::String&& value) { SetDbSnapshotIdentifier(std::move(value)); return *this;} /** *The name or ARN of the DB snapshot that is used to restore the DB * instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbSnapshotIdentifier(const char* value) { SetDbSnapshotIdentifier(value); return *this;} /** *A name for the DB instance.
*/ inline const Aws::String& GetDbInstanceIdentifier() const{ return m_dbInstanceIdentifier; } /** *A name for the DB instance.
*/ inline bool DbInstanceIdentifierHasBeenSet() const { return m_dbInstanceIdentifierHasBeenSet; } /** *A name for the DB instance.
*/ inline void SetDbInstanceIdentifier(const Aws::String& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = value; } /** *A name for the DB instance.
*/ inline void SetDbInstanceIdentifier(Aws::String&& value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier = std::move(value); } /** *A name for the DB instance.
*/ inline void SetDbInstanceIdentifier(const char* value) { m_dbInstanceIdentifierHasBeenSet = true; m_dbInstanceIdentifier.assign(value); } /** *A name for the DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbInstanceIdentifier(const Aws::String& value) { SetDbInstanceIdentifier(value); return *this;} /** *A name for the DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbInstanceIdentifier(Aws::String&& value) { SetDbInstanceIdentifier(std::move(value)); return *this;} /** *A name for the DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbInstanceIdentifier(const char* value) { SetDbInstanceIdentifier(value); return *this;} /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline const Aws::String& GetSnapshotCreateTime() const{ return m_snapshotCreateTime; } /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline bool SnapshotCreateTimeHasBeenSet() const { return m_snapshotCreateTimeHasBeenSet; } /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline void SetSnapshotCreateTime(const Aws::String& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = value; } /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline void SetSnapshotCreateTime(Aws::String&& value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime = std::move(value); } /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline void SetSnapshotCreateTime(const char* value) { m_snapshotCreateTimeHasBeenSet = true; m_snapshotCreateTime.assign(value); } /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotCreateTime(const Aws::String& value) { SetSnapshotCreateTime(value); return *this;} /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotCreateTime(Aws::String&& value) { SetSnapshotCreateTime(std::move(value)); return *this;} /** *When the snapshot was taken in Coordinated Universal Time (UTC).
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotCreateTime(const char* value) { SetSnapshotCreateTime(value); return *this;} /** *The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The name of the database engine to use for this DB instance. Valid values are * as follows:
aurora
* aurora-mysql
aurora-postgresql
*
c
mariadb
mysql
oracle-ee
*
oracle-se
* oracle-se1
oracle-se2
sqlserver-ee
sqlserver-ex
*
sqlserver-se
* sqlserver-web
The amount of storage (in gigabytes) to be initially allocated for the * database instance.
*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *The amount of storage (in gigabytes) to be initially allocated for the * database instance.
*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *The amount of storage (in gigabytes) to be initially allocated for the * database instance.
*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *The amount of storage (in gigabytes) to be initially allocated for the * database instance.
*/ inline AwsRdsDbSnapshotDetails& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *The status of this DB snapshot.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of this DB snapshot.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of this DB snapshot.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of this DB snapshot.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of this DB snapshot.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of this DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of this DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of this DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The port that the database engine was listening on at the time of the * snapshot.
*/ inline int GetPort() const{ return m_port; } /** *The port that the database engine was listening on at the time of the * snapshot.
*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *The port that the database engine was listening on at the time of the * snapshot.
*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *The port that the database engine was listening on at the time of the * snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithPort(int value) { SetPort(value); return *this;} /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *Specifies the name of the Availability Zone in which the DB instance was * located at the time of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *The VPC ID associated with the DB snapshot.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC ID associated with the DB snapshot.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC ID associated with the DB snapshot.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC ID associated with the DB snapshot.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC ID associated with the DB snapshot.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC ID associated with the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC ID associated with the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC ID associated with the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline const Aws::String& GetInstanceCreateTime() const{ return m_instanceCreateTime; } /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; } /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline void SetInstanceCreateTime(const Aws::String& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; } /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline void SetInstanceCreateTime(Aws::String&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::move(value); } /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline void SetInstanceCreateTime(const char* value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime.assign(value); } /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline AwsRdsDbSnapshotDetails& WithInstanceCreateTime(const Aws::String& value) { SetInstanceCreateTime(value); return *this;} /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline AwsRdsDbSnapshotDetails& WithInstanceCreateTime(Aws::String&& value) { SetInstanceCreateTime(std::move(value)); return *this;} /** *Specifies the time in Coordinated Universal Time (UTC) when the DB instance, * from which the snapshot was taken, was created.
*/ inline AwsRdsDbSnapshotDetails& WithInstanceCreateTime(const char* value) { SetInstanceCreateTime(value); return *this;} /** *The master user name for the DB snapshot.
*/ inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } /** *The master user name for the DB snapshot.
*/ inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } /** *The master user name for the DB snapshot.
*/ inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } /** *The master user name for the DB snapshot.
*/ inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } /** *The master user name for the DB snapshot.
*/ inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } /** *The master user name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} /** *The master user name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} /** *The master user name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} /** *The version of the database engine.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *The version of the database engine.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *The version of the database engine.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *The version of the database engine.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *The version of the database engine.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *The version of the database engine.
*/ inline AwsRdsDbSnapshotDetails& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *The version of the database engine.
*/ inline AwsRdsDbSnapshotDetails& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *The version of the database engine.
*/ inline AwsRdsDbSnapshotDetails& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *License model information for the restored DB instance.
*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *License model information for the restored DB instance.
*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *License model information for the restored DB instance.
*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *License model information for the restored DB instance.
*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *License model information for the restored DB instance.
*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *License model information for the restored DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *License model information for the restored DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *License model information for the restored DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *The type of the DB snapshot.
*/ inline const Aws::String& GetSnapshotType() const{ return m_snapshotType; } /** *The type of the DB snapshot.
*/ inline bool SnapshotTypeHasBeenSet() const { return m_snapshotTypeHasBeenSet; } /** *The type of the DB snapshot.
*/ inline void SetSnapshotType(const Aws::String& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = value; } /** *The type of the DB snapshot.
*/ inline void SetSnapshotType(Aws::String&& value) { m_snapshotTypeHasBeenSet = true; m_snapshotType = std::move(value); } /** *The type of the DB snapshot.
*/ inline void SetSnapshotType(const char* value) { m_snapshotTypeHasBeenSet = true; m_snapshotType.assign(value); } /** *The type of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotType(const Aws::String& value) { SetSnapshotType(value); return *this;} /** *The type of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotType(Aws::String&& value) { SetSnapshotType(std::move(value)); return *this;} /** *The type of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithSnapshotType(const char* value) { SetSnapshotType(value); return *this;} /** *The provisioned IOPS (I/O operations per second) value of the DB instance at * the time of the snapshot.
*/ inline int GetIops() const{ return m_iops; } /** *The provisioned IOPS (I/O operations per second) value of the DB instance at * the time of the snapshot.
*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *The provisioned IOPS (I/O operations per second) value of the DB instance at * the time of the snapshot.
*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *The provisioned IOPS (I/O operations per second) value of the DB instance at * the time of the snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithIops(int value) { SetIops(value); return *this;} /** *The option group name for the DB snapshot.
*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *The option group name for the DB snapshot.
*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *The option group name for the DB snapshot.
*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *The option group name for the DB snapshot.
*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *The option group name for the DB snapshot.
*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *The option group name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *The option group name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *The option group name for the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} /** *The percentage of the estimated data that has been transferred.
*/ inline int GetPercentProgress() const{ return m_percentProgress; } /** *The percentage of the estimated data that has been transferred.
*/ inline bool PercentProgressHasBeenSet() const { return m_percentProgressHasBeenSet; } /** *The percentage of the estimated data that has been transferred.
*/ inline void SetPercentProgress(int value) { m_percentProgressHasBeenSet = true; m_percentProgress = value; } /** *The percentage of the estimated data that has been transferred.
*/ inline AwsRdsDbSnapshotDetails& WithPercentProgress(int value) { SetPercentProgress(value); return *this;} /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} /** *The Amazon Web Services Region that the DB snapshot was created in or copied * from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline const Aws::String& GetSourceDbSnapshotIdentifier() const{ return m_sourceDbSnapshotIdentifier; } /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline bool SourceDbSnapshotIdentifierHasBeenSet() const { return m_sourceDbSnapshotIdentifierHasBeenSet; } /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline void SetSourceDbSnapshotIdentifier(const Aws::String& value) { m_sourceDbSnapshotIdentifierHasBeenSet = true; m_sourceDbSnapshotIdentifier = value; } /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline void SetSourceDbSnapshotIdentifier(Aws::String&& value) { m_sourceDbSnapshotIdentifierHasBeenSet = true; m_sourceDbSnapshotIdentifier = std::move(value); } /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline void SetSourceDbSnapshotIdentifier(const char* value) { m_sourceDbSnapshotIdentifierHasBeenSet = true; m_sourceDbSnapshotIdentifier.assign(value); } /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceDbSnapshotIdentifier(const Aws::String& value) { SetSourceDbSnapshotIdentifier(value); return *this;} /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceDbSnapshotIdentifier(Aws::String&& value) { SetSourceDbSnapshotIdentifier(std::move(value)); return *this;} /** *The DB snapshot ARN that the DB snapshot was copied from.
*/ inline AwsRdsDbSnapshotDetails& WithSourceDbSnapshotIdentifier(const char* value) { SetSourceDbSnapshotIdentifier(value); return *this;} /** *The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The storage type associated with the DB snapshot. Valid values are as * follows:
gp2
io1
*
standard
The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; } /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; } /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; } /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline void SetTdeCredentialArn(Aws::String&& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = std::move(value); } /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); } /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline AwsRdsDbSnapshotDetails& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;} /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline AwsRdsDbSnapshotDetails& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;} /** *The ARN from the key store with which to associate the instance for TDE * encryption.
*/ inline AwsRdsDbSnapshotDetails& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;} /** *Whether the DB snapshot is encrypted.
*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *Whether the DB snapshot is encrypted.
*/ inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; } /** *Whether the DB snapshot is encrypted.
*/ inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; } /** *Whether the DB snapshot is encrypted.
*/ inline AwsRdsDbSnapshotDetails& WithEncrypted(bool value) { SetEncrypted(value); return *this;} /** *If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
If Encrypted
is true
, the KMS key identifier for
* the encrypted DB snapshot.
The time zone of the DB snapshot.
*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *The time zone of the DB snapshot.
*/ inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } /** *The time zone of the DB snapshot.
*/ inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } /** *The time zone of the DB snapshot.
*/ inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } /** *The time zone of the DB snapshot.
*/ inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } /** *The time zone of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *The time zone of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *The time zone of the DB snapshot.
*/ inline AwsRdsDbSnapshotDetails& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *Whether mapping of IAM accounts to database accounts is enabled.
*/ inline bool GetIamDatabaseAuthenticationEnabled() const{ return m_iamDatabaseAuthenticationEnabled; } /** *Whether mapping of IAM accounts to database accounts is enabled.
*/ inline bool IamDatabaseAuthenticationEnabledHasBeenSet() const { return m_iamDatabaseAuthenticationEnabledHasBeenSet; } /** *Whether mapping of IAM accounts to database accounts is enabled.
*/ inline void SetIamDatabaseAuthenticationEnabled(bool value) { m_iamDatabaseAuthenticationEnabledHasBeenSet = true; m_iamDatabaseAuthenticationEnabled = value; } /** *Whether mapping of IAM accounts to database accounts is enabled.
*/ inline AwsRdsDbSnapshotDetails& WithIamDatabaseAuthenticationEnabled(bool value) { SetIamDatabaseAuthenticationEnabled(value); return *this;} /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; } /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline void SetProcessorFeatures(const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline void SetProcessorFeatures(Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithProcessorFeatures(const Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithProcessorFeatures(Aws::VectorThe number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline AwsRdsDbSnapshotDetails& AddProcessorFeatures(const AwsRdsDbProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; } /** *The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.
*/ inline AwsRdsDbSnapshotDetails& AddProcessorFeatures(AwsRdsDbProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(std::move(value)); return *this; } /** *The identifier for the source DB instance.
*/ inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; } /** *The identifier for the source DB instance.
*/ inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; } /** *The identifier for the source DB instance.
*/ inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; } /** *The identifier for the source DB instance.
*/ inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); } /** *The identifier for the source DB instance.
*/ inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); } /** *The identifier for the source DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;} /** *The identifier for the source DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;} /** *The identifier for the source DB instance.
*/ inline AwsRdsDbSnapshotDetails& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;} private: Aws::String m_dbSnapshotIdentifier; bool m_dbSnapshotIdentifierHasBeenSet = false; Aws::String m_dbInstanceIdentifier; bool m_dbInstanceIdentifierHasBeenSet = false; Aws::String m_snapshotCreateTime; bool m_snapshotCreateTimeHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_instanceCreateTime; bool m_instanceCreateTimeHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet = false; Aws::String m_snapshotType; bool m_snapshotTypeHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; int m_percentProgress; bool m_percentProgressHasBeenSet = false; Aws::String m_sourceRegion; bool m_sourceRegionHasBeenSet = false; Aws::String m_sourceDbSnapshotIdentifier; bool m_sourceDbSnapshotIdentifierHasBeenSet = false; Aws::String m_storageType; bool m_storageTypeHasBeenSet = false; Aws::String m_tdeCredentialArn; bool m_tdeCredentialArnHasBeenSet = false; bool m_encrypted; bool m_encryptedHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_timezone; bool m_timezoneHasBeenSet = false; bool m_iamDatabaseAuthenticationEnabled; bool m_iamDatabaseAuthenticationEnabledHasBeenSet = false; Aws::Vector