/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Xml { class XmlNode; } // namespace Xml } // namespace Utils namespace RDS { namespace Model { /** *

An automated backup of a DB instance. It it consists of system backups, * transaction logs, and the database instance properties that existed at the time * you deleted the source instance.

See Also:

AWS * API Reference

*/ class AWS_RDS_API DBInstanceAutomatedBackup { public: DBInstanceAutomatedBackup(); DBInstanceAutomatedBackup(const Aws::Utils::Xml::XmlNode& xmlNode); DBInstanceAutomatedBackup& operator=(const Aws::Utils::Xml::XmlNode& xmlNode); void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const; void OutputToStream(Aws::OStream& oStream, const char* location) const; /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline const Aws::String& GetDBInstanceArn() const{ return m_dBInstanceArn; } /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline bool DBInstanceArnHasBeenSet() const { return m_dBInstanceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline void SetDBInstanceArn(const Aws::String& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = value; } /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline void SetDBInstanceArn(Aws::String&& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline void SetDBInstanceArn(const char* value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceArn(const Aws::String& value) { SetDBInstanceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceArn(Aws::String&& value) { SetDBInstanceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceArn(const char* value) { SetDBInstanceArn(value); return *this;} /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; } /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; } /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; } /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); } /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); } /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline DBInstanceAutomatedBackup& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;} /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline DBInstanceAutomatedBackup& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;} /** *

The identifier for the source DB instance, which can't be changed and which * is unique to an AWS Region.

*/ inline DBInstanceAutomatedBackup& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;} /** *

The AWS Region associated with the automated backup.

*/ inline const Aws::String& GetRegion() const{ return m_region; } /** *

The AWS Region associated with the automated backup.

*/ inline bool RegionHasBeenSet() const { return m_regionHasBeenSet; } /** *

The AWS Region associated with the automated backup.

*/ inline void SetRegion(const Aws::String& value) { m_regionHasBeenSet = true; m_region = value; } /** *

The AWS Region associated with the automated backup.

*/ inline void SetRegion(Aws::String&& value) { m_regionHasBeenSet = true; m_region = std::move(value); } /** *

The AWS Region associated with the automated backup.

*/ inline void SetRegion(const char* value) { m_regionHasBeenSet = true; m_region.assign(value); } /** *

The AWS Region associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithRegion(const Aws::String& value) { SetRegion(value); return *this;} /** *

The AWS Region associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithRegion(Aws::String&& value) { SetRegion(std::move(value)); return *this;} /** *

The AWS Region associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithRegion(const char* value) { SetRegion(value); return *this;} /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *

The customer id of the instance that is/was associated with the automated * backup.

*/ inline DBInstanceAutomatedBackup& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *

Earliest and latest time an instance can be restored to.

*/ inline const RestoreWindow& GetRestoreWindow() const{ return m_restoreWindow; } /** *

Earliest and latest time an instance can be restored to.

*/ inline bool RestoreWindowHasBeenSet() const { return m_restoreWindowHasBeenSet; } /** *

Earliest and latest time an instance can be restored to.

*/ inline void SetRestoreWindow(const RestoreWindow& value) { m_restoreWindowHasBeenSet = true; m_restoreWindow = value; } /** *

Earliest and latest time an instance can be restored to.

*/ inline void SetRestoreWindow(RestoreWindow&& value) { m_restoreWindowHasBeenSet = true; m_restoreWindow = std::move(value); } /** *

Earliest and latest time an instance can be restored to.

*/ inline DBInstanceAutomatedBackup& WithRestoreWindow(const RestoreWindow& value) { SetRestoreWindow(value); return *this;} /** *

Earliest and latest time an instance can be restored to.

*/ inline DBInstanceAutomatedBackup& WithRestoreWindow(RestoreWindow&& value) { SetRestoreWindow(std::move(value)); return *this;} /** *

Specifies the allocated storage size in gibibytes (GiB).

*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *

Specifies the allocated storage size in gibibytes (GiB).

*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *

Specifies the allocated storage size in gibibytes (GiB).

*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *

Specifies the allocated storage size in gibibytes (GiB).

*/ inline DBInstanceAutomatedBackup& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline DBInstanceAutomatedBackup& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline DBInstanceAutomatedBackup& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

Provides a list of status information for an automated backup:

  • *

    active - automated backups for current instances

  • *

    retained - automated backups for deleted instances

  • *
  • creating - automated backups that are waiting for the * first automated snapshot to be available.

*/ inline DBInstanceAutomatedBackup& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The port number that the automated backup used for connections.

*

Default: Inherits from the source DB instance

Valid Values: * 1150-65535

*/ inline int GetPort() const{ return m_port; } /** *

The port number that the automated backup used for connections.

*

Default: Inherits from the source DB instance

Valid Values: * 1150-65535

*/ inline bool PortHasBeenSet() const { return m_portHasBeenSet; } /** *

The port number that the automated backup used for connections.

*

Default: Inherits from the source DB instance

Valid Values: * 1150-65535

*/ inline void SetPort(int value) { m_portHasBeenSet = true; m_port = value; } /** *

The port number that the automated backup used for connections.

*

Default: Inherits from the source DB instance

Valid Values: * 1150-65535

*/ inline DBInstanceAutomatedBackup& WithPort(int value) { SetPort(value); return *this;} /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline DBInstanceAutomatedBackup& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline DBInstanceAutomatedBackup& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *

The Availability Zone that the automated backup was created in. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

*/ inline DBInstanceAutomatedBackup& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *

Provides the VPC ID associated with the DB instance

*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *

Provides the VPC ID associated with the DB instance

*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *

Provides the VPC ID associated with the DB instance

*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *

Provides the VPC ID associated with the DB instance

*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *

Provides the VPC ID associated with the DB instance

*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *

Provides the VPC ID associated with the DB instance

*/ inline DBInstanceAutomatedBackup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *

Provides the VPC ID associated with the DB instance

*/ inline DBInstanceAutomatedBackup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *

Provides the VPC ID associated with the DB instance

*/ inline DBInstanceAutomatedBackup& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *

Provides the date and time that the DB instance was created.

*/ inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; } /** *

Provides the date and time that the DB instance was created.

*/ inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; } /** *

Provides the date and time that the DB instance was created.

*/ inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; } /** *

Provides the date and time that the DB instance was created.

*/ inline void SetInstanceCreateTime(Aws::Utils::DateTime&& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = std::move(value); } /** *

Provides the date and time that the DB instance was created.

*/ inline DBInstanceAutomatedBackup& WithInstanceCreateTime(const Aws::Utils::DateTime& value) { SetInstanceCreateTime(value); return *this;} /** *

Provides the date and time that the DB instance was created.

*/ inline DBInstanceAutomatedBackup& WithInstanceCreateTime(Aws::Utils::DateTime&& value) { SetInstanceCreateTime(std::move(value)); return *this;} /** *

The license model of an automated backup.

*/ inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } /** *

The license model of an automated backup.

*/ inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } /** *

The license model of an automated backup.

*/ inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } /** *

The license model of an automated backup.

*/ inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } /** *

The license model of an automated backup.

*/ inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } /** *

The license model of an automated backup.

*/ inline DBInstanceAutomatedBackup& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} /** *

The license model of an automated backup.

*/ inline DBInstanceAutomatedBackup& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} /** *

The license model of an automated backup.

*/ inline DBInstanceAutomatedBackup& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} /** *

The name of the database engine for this automated backup.

*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *

The name of the database engine for this automated backup.

*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *

The name of the database engine for this automated backup.

*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *

The name of the database engine for this automated backup.

*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *

The name of the database engine for this automated backup.

*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *

The name of the database engine for this automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *

The name of the database engine for this automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *

The name of the database engine for this automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngine(const char* value) { SetEngine(value); return *this;} /** *

The version of the database engine for the automated backup.

*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *

The version of the database engine for the automated backup.

*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *

The version of the database engine for the automated backup.

*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *

The version of the database engine for the automated backup.

*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *

The version of the database engine for the automated backup.

*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *

The version of the database engine for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *

The version of the database engine for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *

The version of the database engine for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *

License model information for the automated backup.

*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *

License model information for the automated backup.

*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *

License model information for the automated backup.

*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *

License model information for the automated backup.

*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *

License model information for the automated backup.

*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *

License model information for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *

License model information for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *

License model information for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *

The IOPS (I/O operations per second) value for the automated backup.

*/ inline int GetIops() const{ return m_iops; } /** *

The IOPS (I/O operations per second) value for the automated backup.

*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *

The IOPS (I/O operations per second) value for the automated backup.

*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *

The IOPS (I/O operations per second) value for the automated backup.

*/ inline DBInstanceAutomatedBackup& WithIops(int value) { SetIops(value); return *this;} /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline const Aws::String& GetOptionGroupName() const{ return m_optionGroupName; } /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline bool OptionGroupNameHasBeenSet() const { return m_optionGroupNameHasBeenSet; } /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline void SetOptionGroupName(const Aws::String& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = value; } /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline void SetOptionGroupName(Aws::String&& value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName = std::move(value); } /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline void SetOptionGroupName(const char* value) { m_optionGroupNameHasBeenSet = true; m_optionGroupName.assign(value); } /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline DBInstanceAutomatedBackup& WithOptionGroupName(const Aws::String& value) { SetOptionGroupName(value); return *this;} /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline DBInstanceAutomatedBackup& WithOptionGroupName(Aws::String&& value) { SetOptionGroupName(std::move(value)); return *this;} /** *

The option group the automated backup is associated with. If omitted, the * default option group for the engine specified is used.

*/ inline DBInstanceAutomatedBackup& WithOptionGroupName(const char* value) { SetOptionGroupName(value); return *this;} /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; } /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; } /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline void SetTdeCredentialArn(const Aws::String& value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn = value; } /** *

The ARN from the key store with which the automated backup is associated 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 the automated backup is associated for * TDE encryption.

*/ inline void SetTdeCredentialArn(const char* value) { m_tdeCredentialArnHasBeenSet = true; m_tdeCredentialArn.assign(value); } /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline DBInstanceAutomatedBackup& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;} /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline DBInstanceAutomatedBackup& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;} /** *

The ARN from the key store with which the automated backup is associated for * TDE encryption.

*/ inline DBInstanceAutomatedBackup& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;} /** *

Specifies whether the automated backup is encrypted.

*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *

Specifies whether the automated backup is encrypted.

*/ inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; } /** *

Specifies whether the automated backup is encrypted.

*/ inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; } /** *

Specifies whether the automated backup is encrypted.

*/ inline DBInstanceAutomatedBackup& WithEncrypted(bool value) { SetEncrypted(value); return *this;} /** *

Specifies the storage type associated with the automated backup.

*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *

Specifies the storage type associated with the automated backup.

*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *

Specifies the storage type associated with the automated backup.

*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *

Specifies the storage type associated with the automated backup.

*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *

Specifies the storage type associated with the automated backup.

*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *

Specifies the storage type associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *

Specifies the storage type associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *

Specifies the storage type associated with the automated backup.

*/ inline DBInstanceAutomatedBackup& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline DBInstanceAutomatedBackup& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline DBInstanceAutomatedBackup& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *

The AWS KMS key ID for an automated backup. The KMS key ID is the Amazon * Resource Name (ARN), KMS key identifier, or the KMS key alias for the KMS * encryption key.

*/ inline DBInstanceAutomatedBackup& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline DBInstanceAutomatedBackup& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline DBInstanceAutomatedBackup& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *

The time zone of the automated backup. In most cases, the * Timezone element is empty. Timezone content appears * only for Microsoft SQL Server DB instances that were created with a time zone * specified.

*/ inline DBInstanceAutomatedBackup& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *

True if mapping of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled, and otherwise false.

*/ inline bool GetIAMDatabaseAuthenticationEnabled() const{ return m_iAMDatabaseAuthenticationEnabled; } /** *

True if mapping of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled, and otherwise false.

*/ inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; } /** *

True if mapping of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled, and otherwise false.

*/ inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; } /** *

True if mapping of AWS Identity and Access Management (IAM) accounts to * database accounts is enabled, and otherwise false.

*/ inline DBInstanceAutomatedBackup& WithIAMDatabaseAuthenticationEnabled(bool value) { SetIAMDatabaseAuthenticationEnabled(value); return *this;} private: Aws::String m_dBInstanceArn; bool m_dBInstanceArnHasBeenSet; Aws::String m_dbiResourceId; bool m_dbiResourceIdHasBeenSet; Aws::String m_region; bool m_regionHasBeenSet; Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet; RestoreWindow m_restoreWindow; bool m_restoreWindowHasBeenSet; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet; Aws::String m_status; bool m_statusHasBeenSet; int m_port; bool m_portHasBeenSet; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet; Aws::String m_vpcId; bool m_vpcIdHasBeenSet; Aws::Utils::DateTime m_instanceCreateTime; bool m_instanceCreateTimeHasBeenSet; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet; Aws::String m_engine; bool m_engineHasBeenSet; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet; int m_iops; bool m_iopsHasBeenSet; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet; Aws::String m_tdeCredentialArn; bool m_tdeCredentialArnHasBeenSet; bool m_encrypted; bool m_encryptedHasBeenSet; Aws::String m_storageType; bool m_storageTypeHasBeenSet; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet; Aws::String m_timezone; bool m_timezoneHasBeenSet; bool m_iAMDatabaseAuthenticationEnabled; bool m_iAMDatabaseAuthenticationEnabledHasBeenSet; }; } // namespace Model } // namespace RDS } // namespace Aws