/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the details of an Amazon Neptune DB instance. This data type
* is used as a response element in the DescribeDBInstances
* action.See Also:
AWS
* API Reference
Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline const Aws::String& GetDBInstanceIdentifier() const{ return m_dBInstanceIdentifier; } /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline bool DBInstanceIdentifierHasBeenSet() const { return m_dBInstanceIdentifierHasBeenSet; } /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline void SetDBInstanceIdentifier(const Aws::String& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = value; } /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline void SetDBInstanceIdentifier(Aws::String&& value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier = std::move(value); } /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline void SetDBInstanceIdentifier(const char* value) { m_dBInstanceIdentifierHasBeenSet = true; m_dBInstanceIdentifier.assign(value); } /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline DBInstance& WithDBInstanceIdentifier(const Aws::String& value) { SetDBInstanceIdentifier(value); return *this;} /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline DBInstance& WithDBInstanceIdentifier(Aws::String&& value) { SetDBInstanceIdentifier(std::move(value)); return *this;} /** *Contains a user-supplied database identifier. This identifier is the unique * key that identifies a DB instance.
*/ inline DBInstance& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(value); return *this;} /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline DBInstance& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline DBInstance& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} /** *Contains the name of the compute and memory capacity class of the DB * instance.
*/ inline DBInstance& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} /** *Provides the name of the database engine to be used for this DB instance.
*/ inline const Aws::String& GetEngine() const{ return m_engine; } /** *Provides the name of the database engine to be used for this DB instance.
*/ inline bool EngineHasBeenSet() const { return m_engineHasBeenSet; } /** *Provides the name of the database engine to be used for this DB instance.
*/ inline void SetEngine(const Aws::String& value) { m_engineHasBeenSet = true; m_engine = value; } /** *Provides the name of the database engine to be used for this DB instance.
*/ inline void SetEngine(Aws::String&& value) { m_engineHasBeenSet = true; m_engine = std::move(value); } /** *Provides the name of the database engine to be used for this DB instance.
*/ inline void SetEngine(const char* value) { m_engineHasBeenSet = true; m_engine.assign(value); } /** *Provides the name of the database engine to be used for this DB instance.
*/ inline DBInstance& WithEngine(const Aws::String& value) { SetEngine(value); return *this;} /** *Provides the name of the database engine to be used for this DB instance.
*/ inline DBInstance& WithEngine(Aws::String&& value) { SetEngine(std::move(value)); return *this;} /** *Provides the name of the database engine to be used for this DB instance.
*/ inline DBInstance& WithEngine(const char* value) { SetEngine(value); return *this;} /** *Specifies the current state of this database.
*/ inline const Aws::String& GetDBInstanceStatus() const{ return m_dBInstanceStatus; } /** *Specifies the current state of this database.
*/ inline bool DBInstanceStatusHasBeenSet() const { return m_dBInstanceStatusHasBeenSet; } /** *Specifies the current state of this database.
*/ inline void SetDBInstanceStatus(const Aws::String& value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus = value; } /** *Specifies the current state of this database.
*/ inline void SetDBInstanceStatus(Aws::String&& value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus = std::move(value); } /** *Specifies the current state of this database.
*/ inline void SetDBInstanceStatus(const char* value) { m_dBInstanceStatusHasBeenSet = true; m_dBInstanceStatus.assign(value); } /** *Specifies the current state of this database.
*/ inline DBInstance& WithDBInstanceStatus(const Aws::String& value) { SetDBInstanceStatus(value); return *this;} /** *Specifies the current state of this database.
*/ inline DBInstance& WithDBInstanceStatus(Aws::String&& value) { SetDBInstanceStatus(std::move(value)); return *this;} /** *Specifies the current state of this database.
*/ inline DBInstance& WithDBInstanceStatus(const char* value) { SetDBInstanceStatus(value); return *this;} /** *Not supported by Neptune.
*/ inline const Aws::String& GetMasterUsername() const{ return m_masterUsername; } /** *Not supported by Neptune.
*/ inline bool MasterUsernameHasBeenSet() const { return m_masterUsernameHasBeenSet; } /** *Not supported by Neptune.
*/ inline void SetMasterUsername(const Aws::String& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = value; } /** *Not supported by Neptune.
*/ inline void SetMasterUsername(Aws::String&& value) { m_masterUsernameHasBeenSet = true; m_masterUsername = std::move(value); } /** *Not supported by Neptune.
*/ inline void SetMasterUsername(const char* value) { m_masterUsernameHasBeenSet = true; m_masterUsername.assign(value); } /** *Not supported by Neptune.
*/ inline DBInstance& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} /** *Not supported by Neptune.
*/ inline DBInstance& WithMasterUsername(Aws::String&& value) { SetMasterUsername(std::move(value)); return *this;} /** *Not supported by Neptune.
*/ inline DBInstance& WithMasterUsername(const char* value) { SetMasterUsername(value); return *this;} /** *The database name.
*/ inline const Aws::String& GetDBName() const{ return m_dBName; } /** *The database name.
*/ inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; } /** *The database name.
*/ inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; } /** *The database name.
*/ inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); } /** *The database name.
*/ inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); } /** *The database name.
*/ inline DBInstance& WithDBName(const Aws::String& value) { SetDBName(value); return *this;} /** *The database name.
*/ inline DBInstance& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;} /** *The database name.
*/ inline DBInstance& WithDBName(const char* value) { SetDBName(value); return *this;} /** *Specifies the connection endpoint.
*/ inline const Endpoint& GetEndpoint() const{ return m_endpoint; } /** *Specifies the connection endpoint.
*/ inline bool EndpointHasBeenSet() const { return m_endpointHasBeenSet; } /** *Specifies the connection endpoint.
*/ inline void SetEndpoint(const Endpoint& value) { m_endpointHasBeenSet = true; m_endpoint = value; } /** *Specifies the connection endpoint.
*/ inline void SetEndpoint(Endpoint&& value) { m_endpointHasBeenSet = true; m_endpoint = std::move(value); } /** *Specifies the connection endpoint.
*/ inline DBInstance& WithEndpoint(const Endpoint& value) { SetEndpoint(value); return *this;} /** *Specifies the connection endpoint.
*/ inline DBInstance& WithEndpoint(Endpoint&& value) { SetEndpoint(std::move(value)); return *this;} /** *Not supported by Neptune.
*/ inline int GetAllocatedStorage() const{ return m_allocatedStorage; } /** *Not supported by Neptune.
*/ inline bool AllocatedStorageHasBeenSet() const { return m_allocatedStorageHasBeenSet; } /** *Not supported by Neptune.
*/ inline void SetAllocatedStorage(int value) { m_allocatedStorageHasBeenSet = true; m_allocatedStorage = value; } /** *Not supported by Neptune.
*/ inline DBInstance& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *Provides the date and time the DB instance was created.
*/ inline const Aws::Utils::DateTime& GetInstanceCreateTime() const{ return m_instanceCreateTime; } /** *Provides the date and time the DB instance was created.
*/ inline bool InstanceCreateTimeHasBeenSet() const { return m_instanceCreateTimeHasBeenSet; } /** *Provides the date and time the DB instance was created.
*/ inline void SetInstanceCreateTime(const Aws::Utils::DateTime& value) { m_instanceCreateTimeHasBeenSet = true; m_instanceCreateTime = value; } /** *Provides the date and time 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 the DB instance was created.
*/ inline DBInstance& WithInstanceCreateTime(const Aws::Utils::DateTime& value) { SetInstanceCreateTime(value); return *this;} /** *Provides the date and time the DB instance was created.
*/ inline DBInstance& WithInstanceCreateTime(Aws::Utils::DateTime&& value) { SetInstanceCreateTime(std::move(value)); return *this;} /** * Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the daily time range during which automated backups are created if
* automated backups are enabled, as determined by the
* BackupRetentionPeriod
.
Specifies the number of days for which automatic DB snapshots are * retained.
*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *Specifies the number of days for which automatic DB snapshots are * retained.
*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *Specifies the number of days for which automatic DB snapshots are * retained.
*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *Specifies the number of days for which automatic DB snapshots are * retained.
*/ inline DBInstance& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** * Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides List of DB security group elements containing only
* DBSecurityGroup.Name
and DBSecurityGroup.Status
* subelements.
Provides a list of VPC security group elements that the DB instance belongs * to.
*/ inline const Aws::VectorProvides a list of VPC security group elements that the DB instance belongs * to.
*/ inline bool VpcSecurityGroupsHasBeenSet() const { return m_vpcSecurityGroupsHasBeenSet; } /** *Provides a list of VPC security group elements that the DB instance belongs * to.
*/ inline void SetVpcSecurityGroups(const Aws::VectorProvides a list of VPC security group elements that the DB instance belongs * to.
*/ inline void SetVpcSecurityGroups(Aws::VectorProvides a list of VPC security group elements that the DB instance belongs * to.
*/ inline DBInstance& WithVpcSecurityGroups(const Aws::VectorProvides a list of VPC security group elements that the DB instance belongs * to.
*/ inline DBInstance& WithVpcSecurityGroups(Aws::VectorProvides a list of VPC security group elements that the DB instance belongs * to.
*/ inline DBInstance& AddVpcSecurityGroups(const VpcSecurityGroupMembership& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(value); return *this; } /** *Provides a list of VPC security group elements that the DB instance belongs * to.
*/ inline DBInstance& AddVpcSecurityGroups(VpcSecurityGroupMembership&& value) { m_vpcSecurityGroupsHasBeenSet = true; m_vpcSecurityGroups.push_back(std::move(value)); return *this; } /** *Provides the list of DB parameter groups applied to this DB instance.
*/ inline const Aws::VectorProvides the list of DB parameter groups applied to this DB instance.
*/ inline bool DBParameterGroupsHasBeenSet() const { return m_dBParameterGroupsHasBeenSet; } /** *Provides the list of DB parameter groups applied to this DB instance.
*/ inline void SetDBParameterGroups(const Aws::VectorProvides the list of DB parameter groups applied to this DB instance.
*/ inline void SetDBParameterGroups(Aws::VectorProvides the list of DB parameter groups applied to this DB instance.
*/ inline DBInstance& WithDBParameterGroups(const Aws::VectorProvides the list of DB parameter groups applied to this DB instance.
*/ inline DBInstance& WithDBParameterGroups(Aws::VectorProvides the list of DB parameter groups applied to this DB instance.
*/ inline DBInstance& AddDBParameterGroups(const DBParameterGroupStatus& value) { m_dBParameterGroupsHasBeenSet = true; m_dBParameterGroups.push_back(value); return *this; } /** *Provides the list of DB parameter groups applied to this DB instance.
*/ inline DBInstance& AddDBParameterGroups(DBParameterGroupStatus&& value) { m_dBParameterGroupsHasBeenSet = true; m_dBParameterGroups.push_back(std::move(value)); return *this; } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline const Aws::String& GetAvailabilityZone() const{ return m_availabilityZone; } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline bool AvailabilityZoneHasBeenSet() const { return m_availabilityZoneHasBeenSet; } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline void SetAvailabilityZone(const Aws::String& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = value; } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline void SetAvailabilityZone(Aws::String&& value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone = std::move(value); } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline void SetAvailabilityZone(const char* value) { m_availabilityZoneHasBeenSet = true; m_availabilityZone.assign(value); } /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline DBInstance& WithAvailabilityZone(const Aws::String& value) { SetAvailabilityZone(value); return *this;} /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline DBInstance& WithAvailabilityZone(Aws::String&& value) { SetAvailabilityZone(std::move(value)); return *this;} /** *Specifies the name of the Availability Zone the DB instance is located * in.
*/ inline DBInstance& WithAvailabilityZone(const char* value) { SetAvailabilityZone(value); return *this;} /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline const DBSubnetGroup& GetDBSubnetGroup() const{ return m_dBSubnetGroup; } /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline bool DBSubnetGroupHasBeenSet() const { return m_dBSubnetGroupHasBeenSet; } /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline void SetDBSubnetGroup(const DBSubnetGroup& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = value; } /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline void SetDBSubnetGroup(DBSubnetGroup&& value) { m_dBSubnetGroupHasBeenSet = true; m_dBSubnetGroup = std::move(value); } /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline DBInstance& WithDBSubnetGroup(const DBSubnetGroup& value) { SetDBSubnetGroup(value); return *this;} /** *Specifies information on the subnet group associated with the DB instance, * including the name, description, and subnets in the subnet group.
*/ inline DBInstance& WithDBSubnetGroup(DBSubnetGroup&& value) { SetDBSubnetGroup(std::move(value)); return *this;} /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline DBInstance& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline DBInstance& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *Specifies the weekly time range during which system maintenance can occur, in * Universal Coordinated Time (UTC).
*/ inline DBInstance& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline const PendingModifiedValues& GetPendingModifiedValues() const{ return m_pendingModifiedValues; } /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline bool PendingModifiedValuesHasBeenSet() const { return m_pendingModifiedValuesHasBeenSet; } /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline void SetPendingModifiedValues(const PendingModifiedValues& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = value; } /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline void SetPendingModifiedValues(PendingModifiedValues&& value) { m_pendingModifiedValuesHasBeenSet = true; m_pendingModifiedValues = std::move(value); } /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline DBInstance& WithPendingModifiedValues(const PendingModifiedValues& value) { SetPendingModifiedValues(value); return *this;} /** *Specifies that changes to the DB instance are pending. This element is only * included when changes are pending. Specific changes are identified by * subelements.
*/ inline DBInstance& WithPendingModifiedValues(PendingModifiedValues&& value) { SetPendingModifiedValues(std::move(value)); return *this;} /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline const Aws::Utils::DateTime& GetLatestRestorableTime() const{ return m_latestRestorableTime; } /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline bool LatestRestorableTimeHasBeenSet() const { return m_latestRestorableTimeHasBeenSet; } /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline void SetLatestRestorableTime(const Aws::Utils::DateTime& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = value; } /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline void SetLatestRestorableTime(Aws::Utils::DateTime&& value) { m_latestRestorableTimeHasBeenSet = true; m_latestRestorableTime = std::move(value); } /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline DBInstance& WithLatestRestorableTime(const Aws::Utils::DateTime& value) { SetLatestRestorableTime(value); return *this;} /** *Specifies the latest time to which a database can be restored with * point-in-time restore.
*/ inline DBInstance& WithLatestRestorableTime(Aws::Utils::DateTime&& value) { SetLatestRestorableTime(std::move(value)); return *this;} /** *Specifies if the DB instance is a Multi-AZ deployment.
*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *Specifies if the DB instance is a Multi-AZ deployment.
*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *Specifies if the DB instance is a Multi-AZ deployment.
*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *Specifies if the DB instance is a Multi-AZ deployment.
*/ inline DBInstance& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *Indicates the database engine version.
*/ inline const Aws::String& GetEngineVersion() const{ return m_engineVersion; } /** *Indicates the database engine version.
*/ inline bool EngineVersionHasBeenSet() const { return m_engineVersionHasBeenSet; } /** *Indicates the database engine version.
*/ inline void SetEngineVersion(const Aws::String& value) { m_engineVersionHasBeenSet = true; m_engineVersion = value; } /** *Indicates the database engine version.
*/ inline void SetEngineVersion(Aws::String&& value) { m_engineVersionHasBeenSet = true; m_engineVersion = std::move(value); } /** *Indicates the database engine version.
*/ inline void SetEngineVersion(const char* value) { m_engineVersionHasBeenSet = true; m_engineVersion.assign(value); } /** *Indicates the database engine version.
*/ inline DBInstance& WithEngineVersion(const Aws::String& value) { SetEngineVersion(value); return *this;} /** *Indicates the database engine version.
*/ inline DBInstance& WithEngineVersion(Aws::String&& value) { SetEngineVersion(std::move(value)); return *this;} /** *Indicates the database engine version.
*/ inline DBInstance& WithEngineVersion(const char* value) { SetEngineVersion(value); return *this;} /** *Indicates that minor version patches are applied automatically.
*/ inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } /** *Indicates that minor version patches are applied automatically.
*/ inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; } /** *Indicates that minor version patches are applied automatically.
*/ inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; } /** *Indicates that minor version patches are applied automatically.
*/ inline DBInstance& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline const Aws::String& GetReadReplicaSourceDBInstanceIdentifier() const{ return m_readReplicaSourceDBInstanceIdentifier; } /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline bool ReadReplicaSourceDBInstanceIdentifierHasBeenSet() const { return m_readReplicaSourceDBInstanceIdentifierHasBeenSet; } /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline void SetReadReplicaSourceDBInstanceIdentifier(const Aws::String& value) { m_readReplicaSourceDBInstanceIdentifierHasBeenSet = true; m_readReplicaSourceDBInstanceIdentifier = value; } /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline void SetReadReplicaSourceDBInstanceIdentifier(Aws::String&& value) { m_readReplicaSourceDBInstanceIdentifierHasBeenSet = true; m_readReplicaSourceDBInstanceIdentifier = std::move(value); } /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline void SetReadReplicaSourceDBInstanceIdentifier(const char* value) { m_readReplicaSourceDBInstanceIdentifierHasBeenSet = true; m_readReplicaSourceDBInstanceIdentifier.assign(value); } /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline DBInstance& WithReadReplicaSourceDBInstanceIdentifier(const Aws::String& value) { SetReadReplicaSourceDBInstanceIdentifier(value); return *this;} /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline DBInstance& WithReadReplicaSourceDBInstanceIdentifier(Aws::String&& value) { SetReadReplicaSourceDBInstanceIdentifier(std::move(value)); return *this;} /** *Contains the identifier of the source DB instance if this DB instance is a * Read Replica.
*/ inline DBInstance& WithReadReplicaSourceDBInstanceIdentifier(const char* value) { SetReadReplicaSourceDBInstanceIdentifier(value); return *this;} /** *Contains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline const Aws::VectorContains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline bool ReadReplicaDBInstanceIdentifiersHasBeenSet() const { return m_readReplicaDBInstanceIdentifiersHasBeenSet; } /** *Contains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline void SetReadReplicaDBInstanceIdentifiers(const Aws::VectorContains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline void SetReadReplicaDBInstanceIdentifiers(Aws::VectorContains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline DBInstance& WithReadReplicaDBInstanceIdentifiers(const Aws::VectorContains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline DBInstance& WithReadReplicaDBInstanceIdentifiers(Aws::VectorContains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline DBInstance& AddReadReplicaDBInstanceIdentifiers(const Aws::String& value) { m_readReplicaDBInstanceIdentifiersHasBeenSet = true; m_readReplicaDBInstanceIdentifiers.push_back(value); return *this; } /** *Contains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline DBInstance& AddReadReplicaDBInstanceIdentifiers(Aws::String&& value) { m_readReplicaDBInstanceIdentifiersHasBeenSet = true; m_readReplicaDBInstanceIdentifiers.push_back(std::move(value)); return *this; } /** *Contains one or more identifiers of the Read Replicas associated with this DB * instance.
*/ inline DBInstance& AddReadReplicaDBInstanceIdentifiers(const char* value) { m_readReplicaDBInstanceIdentifiersHasBeenSet = true; m_readReplicaDBInstanceIdentifiers.push_back(value); return *this; } /** *Contains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline const Aws::VectorContains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline bool ReadReplicaDBClusterIdentifiersHasBeenSet() const { return m_readReplicaDBClusterIdentifiersHasBeenSet; } /** *Contains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline void SetReadReplicaDBClusterIdentifiers(const Aws::VectorContains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline void SetReadReplicaDBClusterIdentifiers(Aws::VectorContains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline DBInstance& WithReadReplicaDBClusterIdentifiers(const Aws::VectorContains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline DBInstance& WithReadReplicaDBClusterIdentifiers(Aws::VectorContains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline DBInstance& AddReadReplicaDBClusterIdentifiers(const Aws::String& value) { m_readReplicaDBClusterIdentifiersHasBeenSet = true; m_readReplicaDBClusterIdentifiers.push_back(value); return *this; } /** *Contains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline DBInstance& AddReadReplicaDBClusterIdentifiers(Aws::String&& value) { m_readReplicaDBClusterIdentifiersHasBeenSet = true; m_readReplicaDBClusterIdentifiers.push_back(std::move(value)); return *this; } /** *Contains one or more identifiers of DB clusters that are Read Replicas of * this DB instance.
*/ inline DBInstance& AddReadReplicaDBClusterIdentifiers(const char* value) { m_readReplicaDBClusterIdentifiersHasBeenSet = true; m_readReplicaDBClusterIdentifiers.push_back(value); return *this; } /** *License model information for this DB instance.
*/ inline const Aws::String& GetLicenseModel() const{ return m_licenseModel; } /** *License model information for this DB instance.
*/ inline bool LicenseModelHasBeenSet() const { return m_licenseModelHasBeenSet; } /** *License model information for this DB instance.
*/ inline void SetLicenseModel(const Aws::String& value) { m_licenseModelHasBeenSet = true; m_licenseModel = value; } /** *License model information for this DB instance.
*/ inline void SetLicenseModel(Aws::String&& value) { m_licenseModelHasBeenSet = true; m_licenseModel = std::move(value); } /** *License model information for this DB instance.
*/ inline void SetLicenseModel(const char* value) { m_licenseModelHasBeenSet = true; m_licenseModel.assign(value); } /** *License model information for this DB instance.
*/ inline DBInstance& WithLicenseModel(const Aws::String& value) { SetLicenseModel(value); return *this;} /** *License model information for this DB instance.
*/ inline DBInstance& WithLicenseModel(Aws::String&& value) { SetLicenseModel(std::move(value)); return *this;} /** *License model information for this DB instance.
*/ inline DBInstance& WithLicenseModel(const char* value) { SetLicenseModel(value); return *this;} /** *Specifies the Provisioned IOPS (I/O operations per second) value.
*/ inline int GetIops() const{ return m_iops; } /** *Specifies the Provisioned IOPS (I/O operations per second) value.
*/ inline bool IopsHasBeenSet() const { return m_iopsHasBeenSet; } /** *Specifies the Provisioned IOPS (I/O operations per second) value.
*/ inline void SetIops(int value) { m_iopsHasBeenSet = true; m_iops = value; } /** *Specifies the Provisioned IOPS (I/O operations per second) value.
*/ inline DBInstance& WithIops(int value) { SetIops(value); return *this;} /** *(Not supported by Neptune)
*/ inline const Aws::Vector(Not supported by Neptune)
*/ inline bool OptionGroupMembershipsHasBeenSet() const { return m_optionGroupMembershipsHasBeenSet; } /** *(Not supported by Neptune)
*/ inline void SetOptionGroupMemberships(const Aws::Vector(Not supported by Neptune)
*/ inline void SetOptionGroupMemberships(Aws::Vector(Not supported by Neptune)
*/ inline DBInstance& WithOptionGroupMemberships(const Aws::Vector(Not supported by Neptune)
*/ inline DBInstance& WithOptionGroupMemberships(Aws::Vector(Not supported by Neptune)
*/ inline DBInstance& AddOptionGroupMemberships(const OptionGroupMembership& value) { m_optionGroupMembershipsHasBeenSet = true; m_optionGroupMemberships.push_back(value); return *this; } /** *(Not supported by Neptune)
*/ inline DBInstance& AddOptionGroupMemberships(OptionGroupMembership&& value) { m_optionGroupMembershipsHasBeenSet = true; m_optionGroupMemberships.push_back(std::move(value)); return *this; } /** *(Not supported by Neptune)
*/ inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; } /** *(Not supported by Neptune)
*/ inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; } /** *(Not supported by Neptune)
*/ inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; } /** *(Not supported by Neptune)
*/ inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); } /** *(Not supported by Neptune)
*/ inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); } /** *(Not supported by Neptune)
*/ inline DBInstance& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;} /** *(Not supported by Neptune)
*/ inline DBInstance& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;} /** *(Not supported by Neptune)
*/ inline DBInstance& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;} /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline const Aws::String& GetSecondaryAvailabilityZone() const{ return m_secondaryAvailabilityZone; } /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline bool SecondaryAvailabilityZoneHasBeenSet() const { return m_secondaryAvailabilityZoneHasBeenSet; } /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline void SetSecondaryAvailabilityZone(const Aws::String& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = value; } /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline void SetSecondaryAvailabilityZone(Aws::String&& value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone = std::move(value); } /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline void SetSecondaryAvailabilityZone(const char* value) { m_secondaryAvailabilityZoneHasBeenSet = true; m_secondaryAvailabilityZone.assign(value); } /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline DBInstance& WithSecondaryAvailabilityZone(const Aws::String& value) { SetSecondaryAvailabilityZone(value); return *this;} /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline DBInstance& WithSecondaryAvailabilityZone(Aws::String&& value) { SetSecondaryAvailabilityZone(std::move(value)); return *this;} /** *If present, specifies the name of the secondary Availability Zone for a DB * instance with multi-AZ support.
*/ inline DBInstance& WithSecondaryAvailabilityZone(const char* value) { SetSecondaryAvailabilityZone(value); return *this;} /** *The status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline const Aws::VectorThe status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline bool StatusInfosHasBeenSet() const { return m_statusInfosHasBeenSet; } /** *The status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline void SetStatusInfos(const Aws::VectorThe status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline void SetStatusInfos(Aws::VectorThe status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline DBInstance& WithStatusInfos(const Aws::VectorThe status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline DBInstance& WithStatusInfos(Aws::VectorThe status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline DBInstance& AddStatusInfos(const DBInstanceStatusInfo& value) { m_statusInfosHasBeenSet = true; m_statusInfos.push_back(value); return *this; } /** *The status of a Read Replica. If the instance is not a Read Replica, this is * blank.
*/ inline DBInstance& AddStatusInfos(DBInstanceStatusInfo&& value) { m_statusInfosHasBeenSet = true; m_statusInfos.push_back(std::move(value)); return *this; } /** *Specifies the storage type associated with DB instance.
*/ inline const Aws::String& GetStorageType() const{ return m_storageType; } /** *Specifies the storage type associated with DB instance.
*/ inline bool StorageTypeHasBeenSet() const { return m_storageTypeHasBeenSet; } /** *Specifies the storage type associated with DB instance.
*/ inline void SetStorageType(const Aws::String& value) { m_storageTypeHasBeenSet = true; m_storageType = value; } /** *Specifies the storage type associated with DB instance.
*/ inline void SetStorageType(Aws::String&& value) { m_storageTypeHasBeenSet = true; m_storageType = std::move(value); } /** *Specifies the storage type associated with DB instance.
*/ inline void SetStorageType(const char* value) { m_storageTypeHasBeenSet = true; m_storageType.assign(value); } /** *Specifies the storage type associated with DB instance.
*/ inline DBInstance& WithStorageType(const Aws::String& value) { SetStorageType(value); return *this;} /** *Specifies the storage type associated with DB instance.
*/ inline DBInstance& WithStorageType(Aws::String&& value) { SetStorageType(std::move(value)); return *this;} /** *Specifies the storage type associated with DB instance.
*/ inline DBInstance& WithStorageType(const char* value) { SetStorageType(value); return *this;} /** *The ARN from the key store with which the instance is associated for TDE * encryption.
*/ inline const Aws::String& GetTdeCredentialArn() const{ return m_tdeCredentialArn; } /** *The ARN from the key store with which the instance is associated for TDE * encryption.
*/ inline bool TdeCredentialArnHasBeenSet() const { return m_tdeCredentialArnHasBeenSet; } /** *The ARN from the key store with which the instance 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 instance 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 instance 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 instance is associated for TDE * encryption.
*/ inline DBInstance& WithTdeCredentialArn(const Aws::String& value) { SetTdeCredentialArn(value); return *this;} /** *The ARN from the key store with which the instance is associated for TDE * encryption.
*/ inline DBInstance& WithTdeCredentialArn(Aws::String&& value) { SetTdeCredentialArn(std::move(value)); return *this;} /** *The ARN from the key store with which the instance is associated for TDE * encryption.
*/ inline DBInstance& WithTdeCredentialArn(const char* value) { SetTdeCredentialArn(value); return *this;} /** *Specifies the port that the DB instance listens on. If the DB instance is * part of a DB cluster, this can be a different port than the DB cluster port.
*/ inline int GetDbInstancePort() const{ return m_dbInstancePort; } /** *Specifies the port that the DB instance listens on. If the DB instance is * part of a DB cluster, this can be a different port than the DB cluster port.
*/ inline bool DbInstancePortHasBeenSet() const { return m_dbInstancePortHasBeenSet; } /** *Specifies the port that the DB instance listens on. If the DB instance is * part of a DB cluster, this can be a different port than the DB cluster port.
*/ inline void SetDbInstancePort(int value) { m_dbInstancePortHasBeenSet = true; m_dbInstancePort = value; } /** *Specifies the port that the DB instance listens on. If the DB instance is * part of a DB cluster, this can be a different port than the DB cluster port.
*/ inline DBInstance& WithDbInstancePort(int value) { SetDbInstancePort(value); return *this;} /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline DBInstance& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline DBInstance& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *If the DB instance is a member of a DB cluster, contains the name of the DB * cluster that the DB instance is a member of.
*/ inline DBInstance& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline DBInstance& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); } /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline DBInstance& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;} /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline DBInstance& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;} /** *Not supported: The encryption for DB instances is managed by the DB * cluster.
*/ inline DBInstance& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;} /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline const Aws::String& GetDbiResourceId() const{ return m_dbiResourceId; } /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline bool DbiResourceIdHasBeenSet() const { return m_dbiResourceIdHasBeenSet; } /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline void SetDbiResourceId(const Aws::String& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = value; } /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline void SetDbiResourceId(Aws::String&& value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId = std::move(value); } /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline void SetDbiResourceId(const char* value) { m_dbiResourceIdHasBeenSet = true; m_dbiResourceId.assign(value); } /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline DBInstance& WithDbiResourceId(const Aws::String& value) { SetDbiResourceId(value); return *this;} /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline DBInstance& WithDbiResourceId(Aws::String&& value) { SetDbiResourceId(std::move(value)); return *this;} /** *The Amazon Region-unique, immutable identifier for the DB instance. This * identifier is found in Amazon CloudTrail log entries whenever the Amazon KMS key * for the DB instance is accessed.
*/ inline DBInstance& WithDbiResourceId(const char* value) { SetDbiResourceId(value); return *this;} /** *The identifier of the CA certificate for this DB instance.
*/ inline const Aws::String& GetCACertificateIdentifier() const{ return m_cACertificateIdentifier; } /** *The identifier of the CA certificate for this DB instance.
*/ inline bool CACertificateIdentifierHasBeenSet() const { return m_cACertificateIdentifierHasBeenSet; } /** *The identifier of the CA certificate for this DB instance.
*/ inline void SetCACertificateIdentifier(const Aws::String& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = value; } /** *The identifier of the CA certificate for this DB instance.
*/ inline void SetCACertificateIdentifier(Aws::String&& value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier = std::move(value); } /** *The identifier of the CA certificate for this DB instance.
*/ inline void SetCACertificateIdentifier(const char* value) { m_cACertificateIdentifierHasBeenSet = true; m_cACertificateIdentifier.assign(value); } /** *The identifier of the CA certificate for this DB instance.
*/ inline DBInstance& WithCACertificateIdentifier(const Aws::String& value) { SetCACertificateIdentifier(value); return *this;} /** *The identifier of the CA certificate for this DB instance.
*/ inline DBInstance& WithCACertificateIdentifier(Aws::String&& value) { SetCACertificateIdentifier(std::move(value)); return *this;} /** *The identifier of the CA certificate for this DB instance.
*/ inline DBInstance& WithCACertificateIdentifier(const char* value) { SetCACertificateIdentifier(value); return *this;} /** *Not supported
*/ inline const Aws::VectorNot supported
*/ inline bool DomainMembershipsHasBeenSet() const { return m_domainMembershipsHasBeenSet; } /** *Not supported
*/ inline void SetDomainMemberships(const Aws::VectorNot supported
*/ inline void SetDomainMemberships(Aws::VectorNot supported
*/ inline DBInstance& WithDomainMemberships(const Aws::VectorNot supported
*/ inline DBInstance& WithDomainMemberships(Aws::VectorNot supported
*/ inline DBInstance& AddDomainMemberships(const DomainMembership& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships.push_back(value); return *this; } /** *Not supported
*/ inline DBInstance& AddDomainMemberships(DomainMembership&& value) { m_domainMembershipsHasBeenSet = true; m_domainMemberships.push_back(std::move(value)); return *this; } /** *Specifies whether tags are copied from the DB instance to snapshots of the DB * instance.
*/ inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } /** *Specifies whether tags are copied from the DB instance to snapshots of the DB * instance.
*/ inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } /** *Specifies whether tags are copied from the DB instance to snapshots of the DB * instance.
*/ inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } /** *Specifies whether tags are copied from the DB instance to snapshots of the DB * instance.
*/ inline DBInstance& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} /** *The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance.
*/ inline int GetMonitoringInterval() const{ return m_monitoringInterval; } /** *The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance.
*/ inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; } /** *The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance.
*/ inline void SetMonitoringInterval(int value) { m_monitoringIntervalHasBeenSet = true; m_monitoringInterval = value; } /** *The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance.
*/ inline DBInstance& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline const Aws::String& GetEnhancedMonitoringResourceArn() const{ return m_enhancedMonitoringResourceArn; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline bool EnhancedMonitoringResourceArnHasBeenSet() const { return m_enhancedMonitoringResourceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline void SetEnhancedMonitoringResourceArn(const Aws::String& value) { m_enhancedMonitoringResourceArnHasBeenSet = true; m_enhancedMonitoringResourceArn = value; } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline void SetEnhancedMonitoringResourceArn(Aws::String&& value) { m_enhancedMonitoringResourceArnHasBeenSet = true; m_enhancedMonitoringResourceArn = std::move(value); } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline void SetEnhancedMonitoringResourceArn(const char* value) { m_enhancedMonitoringResourceArnHasBeenSet = true; m_enhancedMonitoringResourceArn.assign(value); } /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline DBInstance& WithEnhancedMonitoringResourceArn(const Aws::String& value) { SetEnhancedMonitoringResourceArn(value); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline DBInstance& WithEnhancedMonitoringResourceArn(Aws::String&& value) { SetEnhancedMonitoringResourceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) of the Amazon CloudWatch Logs log stream that * receives the Enhanced Monitoring metrics data for the DB instance.
*/ inline DBInstance& WithEnhancedMonitoringResourceArn(const char* value) { SetEnhancedMonitoringResourceArn(value); return *this;} /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline const Aws::String& GetMonitoringRoleArn() const{ return m_monitoringRoleArn; } /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline bool MonitoringRoleArnHasBeenSet() const { return m_monitoringRoleArnHasBeenSet; } /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline void SetMonitoringRoleArn(const Aws::String& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = value; } /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline void SetMonitoringRoleArn(Aws::String&& value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn = std::move(value); } /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline void SetMonitoringRoleArn(const char* value) { m_monitoringRoleArnHasBeenSet = true; m_monitoringRoleArn.assign(value); } /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline DBInstance& WithMonitoringRoleArn(const Aws::String& value) { SetMonitoringRoleArn(value); return *this;} /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline DBInstance& WithMonitoringRoleArn(Aws::String&& value) { SetMonitoringRoleArn(std::move(value)); return *this;} /** *The ARN for the IAM role that permits Neptune to send Enhanced Monitoring * metrics to Amazon CloudWatch Logs.
*/ inline DBInstance& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;} /** *A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.
*/ inline int GetPromotionTier() const{ return m_promotionTier; } /** *A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.
*/ inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; } /** *A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.
*/ inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; } /** *A value that specifies the order in which a Read Replica is promoted to the * primary instance after a failure of the existing primary instance.
*/ inline DBInstance& WithPromotionTier(int value) { SetPromotionTier(value); return *this;} /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline const Aws::String& GetDBInstanceArn() const{ return m_dBInstanceArn; } /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline bool DBInstanceArnHasBeenSet() const { return m_dBInstanceArnHasBeenSet; } /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline void SetDBInstanceArn(const Aws::String& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = value; } /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline void SetDBInstanceArn(Aws::String&& value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn = std::move(value); } /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline void SetDBInstanceArn(const char* value) { m_dBInstanceArnHasBeenSet = true; m_dBInstanceArn.assign(value); } /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline DBInstance& WithDBInstanceArn(const Aws::String& value) { SetDBInstanceArn(value); return *this;} /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline DBInstance& WithDBInstanceArn(Aws::String&& value) { SetDBInstanceArn(std::move(value)); return *this;} /** *The Amazon Resource Name (ARN) for the DB instance.
*/ inline DBInstance& WithDBInstanceArn(const char* value) { SetDBInstanceArn(value); return *this;} /** *Not supported.
*/ inline const Aws::String& GetTimezone() const{ return m_timezone; } /** *Not supported.
*/ inline bool TimezoneHasBeenSet() const { return m_timezoneHasBeenSet; } /** *Not supported.
*/ inline void SetTimezone(const Aws::String& value) { m_timezoneHasBeenSet = true; m_timezone = value; } /** *Not supported.
*/ inline void SetTimezone(Aws::String&& value) { m_timezoneHasBeenSet = true; m_timezone = std::move(value); } /** *Not supported.
*/ inline void SetTimezone(const char* value) { m_timezoneHasBeenSet = true; m_timezone.assign(value); } /** *Not supported.
*/ inline DBInstance& WithTimezone(const Aws::String& value) { SetTimezone(value); return *this;} /** *Not supported.
*/ inline DBInstance& WithTimezone(Aws::String&& value) { SetTimezone(std::move(value)); return *this;} /** *Not supported.
*/ inline DBInstance& WithTimezone(const char* value) { SetTimezone(value); return *this;} /** *True if Amazon Identity and Access Management (IAM) authentication is * enabled, and otherwise false.
*/ inline bool GetIAMDatabaseAuthenticationEnabled() const{ return m_iAMDatabaseAuthenticationEnabled; } /** *True if Amazon Identity and Access Management (IAM) authentication is * enabled, and otherwise false.
*/ inline bool IAMDatabaseAuthenticationEnabledHasBeenSet() const { return m_iAMDatabaseAuthenticationEnabledHasBeenSet; } /** *True if Amazon Identity and Access Management (IAM) authentication is * enabled, and otherwise false.
*/ inline void SetIAMDatabaseAuthenticationEnabled(bool value) { m_iAMDatabaseAuthenticationEnabledHasBeenSet = true; m_iAMDatabaseAuthenticationEnabled = value; } /** *True if Amazon Identity and Access Management (IAM) authentication is * enabled, and otherwise false.
*/ inline DBInstance& WithIAMDatabaseAuthenticationEnabled(bool value) { SetIAMDatabaseAuthenticationEnabled(value); return *this;} /** *(Not supported by Neptune)
*/ inline bool GetPerformanceInsightsEnabled() const{ return m_performanceInsightsEnabled; } /** *(Not supported by Neptune)
*/ inline bool PerformanceInsightsEnabledHasBeenSet() const { return m_performanceInsightsEnabledHasBeenSet; } /** *(Not supported by Neptune)
*/ inline void SetPerformanceInsightsEnabled(bool value) { m_performanceInsightsEnabledHasBeenSet = true; m_performanceInsightsEnabled = value; } /** *(Not supported by Neptune)
*/ inline DBInstance& WithPerformanceInsightsEnabled(bool value) { SetPerformanceInsightsEnabled(value); return *this;} /** *(Not supported by Neptune)
*/ inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; } /** *(Not supported by Neptune)
*/ inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; } /** *(Not supported by Neptune)
*/ inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; } /** *(Not supported by Neptune)
*/ inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); } /** *(Not supported by Neptune)
*/ inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); } /** *(Not supported by Neptune)
*/ inline DBInstance& WithPerformanceInsightsKMSKeyId(const Aws::String& value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *(Not supported by Neptune)
*/ inline DBInstance& WithPerformanceInsightsKMSKeyId(Aws::String&& value) { SetPerformanceInsightsKMSKeyId(std::move(value)); return *this;} /** *(Not supported by Neptune)
*/ inline DBInstance& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *A list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline const Aws::VectorA list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline bool EnabledCloudwatchLogsExportsHasBeenSet() const { return m_enabledCloudwatchLogsExportsHasBeenSet; } /** *A list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline void SetEnabledCloudwatchLogsExports(const Aws::VectorA list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline void SetEnabledCloudwatchLogsExports(Aws::VectorA list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline DBInstance& WithEnabledCloudwatchLogsExports(const Aws::VectorA list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline DBInstance& WithEnabledCloudwatchLogsExports(Aws::VectorA list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline DBInstance& AddEnabledCloudwatchLogsExports(const Aws::String& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; } /** *A list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline DBInstance& AddEnabledCloudwatchLogsExports(Aws::String&& value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(std::move(value)); return *this; } /** *A list of log types that this DB instance is configured to export to * CloudWatch Logs.
*/ inline DBInstance& AddEnabledCloudwatchLogsExports(const char* value) { m_enabledCloudwatchLogsExportsHasBeenSet = true; m_enabledCloudwatchLogsExports.push_back(value); return *this; } /** *Indicates whether or not the DB instance has deletion protection enabled. The * instance can't be deleted when deletion protection is enabled. See Deleting * a DB Instance.
*/ inline bool GetDeletionProtection() const{ return m_deletionProtection; } /** *Indicates whether or not the DB instance has deletion protection enabled. The * instance can't be deleted when deletion protection is enabled. See Deleting * a DB Instance.
*/ inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } /** *Indicates whether or not the DB instance has deletion protection enabled. The * instance can't be deleted when deletion protection is enabled. See Deleting * a DB Instance.
*/ inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } /** *Indicates whether or not the DB instance has deletion protection enabled. The * instance can't be deleted when deletion protection is enabled. See Deleting * a DB Instance.
*/ inline DBInstance& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} private: Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_dBInstanceStatus; bool m_dBInstanceStatusHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_dBName; bool m_dBNameHasBeenSet = false; Endpoint m_endpoint; bool m_endpointHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::Utils::DateTime m_instanceCreateTime; bool m_instanceCreateTimeHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::Vector