/** * 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 Neptune { namespace Model { /** */ class CreateDBInstanceRequest : public NeptuneRequest { public: AWS_NEPTUNE_API CreateDBInstanceRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateDBInstance"; } AWS_NEPTUNE_API Aws::String SerializePayload() const override; protected: AWS_NEPTUNE_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

Not supported.

*/ inline const Aws::String& GetDBName() const{ return m_dBName; } /** *

Not supported.

*/ inline bool DBNameHasBeenSet() const { return m_dBNameHasBeenSet; } /** *

Not supported.

*/ inline void SetDBName(const Aws::String& value) { m_dBNameHasBeenSet = true; m_dBName = value; } /** *

Not supported.

*/ inline void SetDBName(Aws::String&& value) { m_dBNameHasBeenSet = true; m_dBName = std::move(value); } /** *

Not supported.

*/ inline void SetDBName(const char* value) { m_dBNameHasBeenSet = true; m_dBName.assign(value); } /** *

Not supported.

*/ inline CreateDBInstanceRequest& WithDBName(const Aws::String& value) { SetDBName(value); return *this;} /** *

Not supported.

*/ inline CreateDBInstanceRequest& WithDBName(Aws::String&& value) { SetDBName(std::move(value)); return *this;} /** *

Not supported.

*/ inline CreateDBInstanceRequest& WithDBName(const char* value) { SetDBName(value); return *this;} /** *

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The DB instance identifier. This parameter is stored as a lowercase * string.

Constraints:

  • Must contain from 1 to 63 letters, * numbers, or hyphens.

  • First character must be a letter.

    *
  • Cannot end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

*/ inline CreateDBInstanceRequest& WithDBInstanceIdentifier(const char* value) { SetDBInstanceIdentifier(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 CreateDBInstanceRequest& WithAllocatedStorage(int value) { SetAllocatedStorage(value); return *this;} /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline const Aws::String& GetDBInstanceClass() const{ return m_dBInstanceClass; } /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline bool DBInstanceClassHasBeenSet() const { return m_dBInstanceClassHasBeenSet; } /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline void SetDBInstanceClass(const Aws::String& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = value; } /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline void SetDBInstanceClass(Aws::String&& value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass = std::move(value); } /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline void SetDBInstanceClass(const char* value) { m_dBInstanceClassHasBeenSet = true; m_dBInstanceClass.assign(value); } /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline CreateDBInstanceRequest& WithDBInstanceClass(const Aws::String& value) { SetDBInstanceClass(value); return *this;} /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline CreateDBInstanceRequest& WithDBInstanceClass(Aws::String&& value) { SetDBInstanceClass(std::move(value)); return *this;} /** *

The compute and memory capacity of the DB instance, for example, * db.m4.large. Not all DB instance classes are available in all * Amazon Regions.

*/ inline CreateDBInstanceRequest& WithDBInstanceClass(const char* value) { SetDBInstanceClass(value); return *this;} /** *

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

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

The name of the database engine to be used for this instance.

Valid * Values: neptune

*/ inline CreateDBInstanceRequest& WithEngine(const char* value) { SetEngine(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 CreateDBInstanceRequest& WithMasterUsername(const Aws::String& value) { SetMasterUsername(value); return *this;} /** *

Not supported by Neptune.

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

Not supported by Neptune.

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

Not supported by Neptune.

*/ inline const Aws::String& GetMasterUserPassword() const{ return m_masterUserPassword; } /** *

Not supported by Neptune.

*/ inline bool MasterUserPasswordHasBeenSet() const { return m_masterUserPasswordHasBeenSet; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const Aws::String& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = value; } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(Aws::String&& value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword = std::move(value); } /** *

Not supported by Neptune.

*/ inline void SetMasterUserPassword(const char* value) { m_masterUserPasswordHasBeenSet = true; m_masterUserPassword.assign(value); } /** *

Not supported by Neptune.

*/ inline CreateDBInstanceRequest& WithMasterUserPassword(const Aws::String& value) { SetMasterUserPassword(value); return *this;} /** *

Not supported by Neptune.

*/ inline CreateDBInstanceRequest& WithMasterUserPassword(Aws::String&& value) { SetMasterUserPassword(std::move(value)); return *this;} /** *

Not supported by Neptune.

*/ inline CreateDBInstanceRequest& WithMasterUserPassword(const char* value) { SetMasterUserPassword(value); return *this;} /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline const Aws::Vector& GetDBSecurityGroups() const{ return m_dBSecurityGroups; } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline bool DBSecurityGroupsHasBeenSet() const { return m_dBSecurityGroupsHasBeenSet; } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline void SetDBSecurityGroups(const Aws::Vector& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = value; } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline void SetDBSecurityGroups(Aws::Vector&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups = std::move(value); } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline CreateDBInstanceRequest& WithDBSecurityGroups(const Aws::Vector& value) { SetDBSecurityGroups(value); return *this;} /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline CreateDBInstanceRequest& WithDBSecurityGroups(Aws::Vector&& value) { SetDBSecurityGroups(std::move(value)); return *this;} /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline CreateDBInstanceRequest& AddDBSecurityGroups(const Aws::String& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline CreateDBInstanceRequest& AddDBSecurityGroups(Aws::String&& value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(std::move(value)); return *this; } /** *

A list of DB security groups to associate with this DB instance.

*

Default: The default DB security group for the database engine.

*/ inline CreateDBInstanceRequest& AddDBSecurityGroups(const char* value) { m_dBSecurityGroupsHasBeenSet = true; m_dBSecurityGroups.push_back(value); return *this; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline const Aws::Vector& GetVpcSecurityGroupIds() const{ return m_vpcSecurityGroupIds; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline bool VpcSecurityGroupIdsHasBeenSet() const { return m_vpcSecurityGroupIdsHasBeenSet; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline void SetVpcSecurityGroupIds(const Aws::Vector& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = value; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline void SetVpcSecurityGroupIds(Aws::Vector&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds = std::move(value); } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline CreateDBInstanceRequest& WithVpcSecurityGroupIds(const Aws::Vector& value) { SetVpcSecurityGroupIds(value); return *this;} /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline CreateDBInstanceRequest& WithVpcSecurityGroupIds(Aws::Vector&& value) { SetVpcSecurityGroupIds(std::move(value)); return *this;} /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(const Aws::String& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(Aws::String&& value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(std::move(value)); return *this; } /** *

A list of EC2 VPC security groups to associate with this DB instance.

*

Not applicable. The associated list of EC2 VPC security groups is managed by * the DB cluster. For more information, see CreateDBCluster.

*

Default: The default EC2 VPC security group for the DB subnet group's * VPC.

*/ inline CreateDBInstanceRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } /** *

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

The EC2 Availability Zone that the DB instance is created in

Default: * A random, system-chosen Availability Zone in the endpoint's Amazon Region.

*

Example: us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the MultiAZ parameter is set to * true. The specified Availability Zone must be in the same Amazon * Region as the current endpoint.

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

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline const Aws::String& GetDBSubnetGroupName() const{ return m_dBSubnetGroupName; } /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline bool DBSubnetGroupNameHasBeenSet() const { return m_dBSubnetGroupNameHasBeenSet; } /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline void SetDBSubnetGroupName(const Aws::String& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = value; } /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline void SetDBSubnetGroupName(Aws::String&& value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName = std::move(value); } /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline void SetDBSubnetGroupName(const char* value) { m_dBSubnetGroupNameHasBeenSet = true; m_dBSubnetGroupName.assign(value); } /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline CreateDBInstanceRequest& WithDBSubnetGroupName(const Aws::String& value) { SetDBSubnetGroupName(value); return *this;} /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline CreateDBInstanceRequest& WithDBSubnetGroupName(Aws::String&& value) { SetDBSubnetGroupName(std::move(value)); return *this;} /** *

A DB subnet group to associate with this DB instance.

If there is no * DB subnet group, then it is a non-VPC DB instance.

*/ inline CreateDBInstanceRequest& WithDBSubnetGroupName(const char* value) { SetDBSubnetGroupName(value); return *this;} /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline const Aws::String& GetPreferredMaintenanceWindow() const{ return m_preferredMaintenanceWindow; } /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline bool PreferredMaintenanceWindowHasBeenSet() const { return m_preferredMaintenanceWindowHasBeenSet; } /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline void SetPreferredMaintenanceWindow(const Aws::String& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = value; } /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline void SetPreferredMaintenanceWindow(Aws::String&& value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow = std::move(value); } /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline void SetPreferredMaintenanceWindow(const char* value) { m_preferredMaintenanceWindowHasBeenSet = true; m_preferredMaintenanceWindow.assign(value); } /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(const Aws::String& value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(Aws::String&& value) { SetPreferredMaintenanceWindow(std::move(value)); return *this;} /** *

The time range each week during which system maintenance can occur, in * Universal Coordinated Time (UTC).

Format: * ddd:hh24:mi-ddd:hh24:mi

The default is a 30-minute window * selected at random from an 8-hour block of time for each Amazon Region, * occurring on a random day of the week.

Valid Days: Mon, Tue, Wed, Thu, * Fri, Sat, Sun.

Constraints: Minimum 30-minute window.

*/ inline CreateDBInstanceRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline const Aws::String& GetDBParameterGroupName() const{ return m_dBParameterGroupName; } /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline bool DBParameterGroupNameHasBeenSet() const { return m_dBParameterGroupNameHasBeenSet; } /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline void SetDBParameterGroupName(const Aws::String& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = value; } /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline void SetDBParameterGroupName(Aws::String&& value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName = std::move(value); } /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline void SetDBParameterGroupName(const char* value) { m_dBParameterGroupNameHasBeenSet = true; m_dBParameterGroupName.assign(value); } /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline CreateDBInstanceRequest& WithDBParameterGroupName(const Aws::String& value) { SetDBParameterGroupName(value); return *this;} /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline CreateDBInstanceRequest& WithDBParameterGroupName(Aws::String&& value) { SetDBParameterGroupName(std::move(value)); return *this;} /** *

The name of the DB parameter group to associate with this DB instance. If * this argument is omitted, the default DBParameterGroup for the specified engine * is used.

Constraints:

  • Must be 1 to 255 letters, numbers, * or hyphens.

  • First character must be a letter

  • *

    Cannot end with a hyphen or contain two consecutive hyphens

*/ inline CreateDBInstanceRequest& WithDBParameterGroupName(const char* value) { SetDBParameterGroupName(value); return *this;} /** *

The number of days for which automated backups are retained.

Not * applicable. The retention period for automated backups is managed by the DB * cluster. For more information, see CreateDBCluster.

Default: 1

*

Constraints:

  • Must be a value from 0 to 35

  • *

    Cannot be set to 0 if the DB instance is a source to Read Replicas

  • *
*/ inline int GetBackupRetentionPeriod() const{ return m_backupRetentionPeriod; } /** *

The number of days for which automated backups are retained.

Not * applicable. The retention period for automated backups is managed by the DB * cluster. For more information, see CreateDBCluster.

Default: 1

*

Constraints:

  • Must be a value from 0 to 35

  • *

    Cannot be set to 0 if the DB instance is a source to Read Replicas

  • *
*/ inline bool BackupRetentionPeriodHasBeenSet() const { return m_backupRetentionPeriodHasBeenSet; } /** *

The number of days for which automated backups are retained.

Not * applicable. The retention period for automated backups is managed by the DB * cluster. For more information, see CreateDBCluster.

Default: 1

*

Constraints:

  • Must be a value from 0 to 35

  • *

    Cannot be set to 0 if the DB instance is a source to Read Replicas

  • *
*/ inline void SetBackupRetentionPeriod(int value) { m_backupRetentionPeriodHasBeenSet = true; m_backupRetentionPeriod = value; } /** *

The number of days for which automated backups are retained.

Not * applicable. The retention period for automated backups is managed by the DB * cluster. For more information, see CreateDBCluster.

Default: 1

*

Constraints:

  • Must be a value from 0 to 35

  • *

    Cannot be set to 0 if the DB instance is a source to Read Replicas

  • *
*/ inline CreateDBInstanceRequest& WithBackupRetentionPeriod(int value) { SetBackupRetentionPeriod(value); return *this;} /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline const Aws::String& GetPreferredBackupWindow() const{ return m_preferredBackupWindow; } /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline bool PreferredBackupWindowHasBeenSet() const { return m_preferredBackupWindowHasBeenSet; } /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline void SetPreferredBackupWindow(const Aws::String& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = value; } /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline void SetPreferredBackupWindow(Aws::String&& value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow = std::move(value); } /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline void SetPreferredBackupWindow(const char* value) { m_preferredBackupWindowHasBeenSet = true; m_preferredBackupWindow.assign(value); } /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline CreateDBInstanceRequest& WithPreferredBackupWindow(const Aws::String& value) { SetPreferredBackupWindow(value); return *this;} /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline CreateDBInstanceRequest& WithPreferredBackupWindow(Aws::String&& value) { SetPreferredBackupWindow(std::move(value)); return *this;} /** *

The daily time range during which automated backups are created.

Not * applicable. The daily time range for creating automated backups is managed by * the DB cluster. For more information, see CreateDBCluster.

*/ inline CreateDBInstanceRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *

The port number on which the database accepts connections.

Not * applicable. The port is managed by the DB cluster. For more information, see * CreateDBCluster.

Default: 8182

Type: * Integer

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

The port number on which the database accepts connections.

Not * applicable. The port is managed by the DB cluster. For more information, see * CreateDBCluster.

Default: 8182

Type: * Integer

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

The port number on which the database accepts connections.

Not * applicable. The port is managed by the DB cluster. For more information, see * CreateDBCluster.

Default: 8182

Type: * Integer

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

The port number on which the database accepts connections.

Not * applicable. The port is managed by the DB cluster. For more information, see * CreateDBCluster.

Default: 8182

Type: * Integer

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

Specifies if the DB instance is a Multi-AZ deployment. You can't set the * AvailabilityZone parameter if the MultiAZ parameter is set to true.

*/ inline bool GetMultiAZ() const{ return m_multiAZ; } /** *

Specifies if the DB instance is a Multi-AZ deployment. You can't set the * AvailabilityZone parameter if the MultiAZ parameter is set to true.

*/ inline bool MultiAZHasBeenSet() const { return m_multiAZHasBeenSet; } /** *

Specifies if the DB instance is a Multi-AZ deployment. You can't set the * AvailabilityZone parameter if the MultiAZ parameter is set to true.

*/ inline void SetMultiAZ(bool value) { m_multiAZHasBeenSet = true; m_multiAZ = value; } /** *

Specifies if the DB instance is a Multi-AZ deployment. You can't set the * AvailabilityZone parameter if the MultiAZ parameter is set to true.

*/ inline CreateDBInstanceRequest& WithMultiAZ(bool value) { SetMultiAZ(value); return *this;} /** *

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

The version number of the database engine to use. Currently, setting this * parameter has no effect.

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

Indicates that minor engine upgrades are applied automatically to the DB * instance during the maintenance window.

Default: true

*/ inline bool GetAutoMinorVersionUpgrade() const{ return m_autoMinorVersionUpgrade; } /** *

Indicates that minor engine upgrades are applied automatically to the DB * instance during the maintenance window.

Default: true

*/ inline bool AutoMinorVersionUpgradeHasBeenSet() const { return m_autoMinorVersionUpgradeHasBeenSet; } /** *

Indicates that minor engine upgrades are applied automatically to the DB * instance during the maintenance window.

Default: true

*/ inline void SetAutoMinorVersionUpgrade(bool value) { m_autoMinorVersionUpgradeHasBeenSet = true; m_autoMinorVersionUpgrade = value; } /** *

Indicates that minor engine upgrades are applied automatically to the DB * instance during the maintenance window.

Default: true

*/ inline CreateDBInstanceRequest& WithAutoMinorVersionUpgrade(bool value) { SetAutoMinorVersionUpgrade(value); return *this;} /** *

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

License model information for this DB instance.

Valid values: * license-included | bring-your-own-license | * general-public-license

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

The amount of Provisioned IOPS (input/output operations per second) to be * initially allocated for the DB instance.

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

The amount of Provisioned IOPS (input/output operations per second) to be * initially allocated for the DB instance.

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

The amount of Provisioned IOPS (input/output operations per second) to be * initially allocated for the DB instance.

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

The amount of Provisioned IOPS (input/output operations per second) to be * initially allocated for the DB instance.

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

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

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithOptionGroupName(const char* value) { SetOptionGroupName(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 CreateDBInstanceRequest& WithCharacterSetName(const Aws::String& value) { SetCharacterSetName(value); return *this;} /** *

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithCharacterSetName(Aws::String&& value) { SetCharacterSetName(std::move(value)); return *this;} /** *

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithCharacterSetName(const char* value) { SetCharacterSetName(value); return *this;} /** *

The tags to assign to the new instance.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

The tags to assign to the new instance.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

The tags to assign to the new instance.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

The tags to assign to the new instance.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

The tags to assign to the new instance.

*/ inline CreateDBInstanceRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

The tags to assign to the new instance.

*/ inline CreateDBInstanceRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

The tags to assign to the new instance.

*/ inline CreateDBInstanceRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

The tags to assign to the new instance.

*/ inline CreateDBInstanceRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline const Aws::String& GetDBClusterIdentifier() const{ return m_dBClusterIdentifier; } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline bool DBClusterIdentifierHasBeenSet() const { return m_dBClusterIdentifierHasBeenSet; } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline void SetDBClusterIdentifier(const Aws::String& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = value; } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline void SetDBClusterIdentifier(Aws::String&& value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier = std::move(value); } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline void SetDBClusterIdentifier(const char* value) { m_dBClusterIdentifierHasBeenSet = true; m_dBClusterIdentifier.assign(value); } /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline CreateDBInstanceRequest& WithDBClusterIdentifier(const Aws::String& value) { SetDBClusterIdentifier(value); return *this;} /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline CreateDBInstanceRequest& WithDBClusterIdentifier(Aws::String&& value) { SetDBClusterIdentifier(std::move(value)); return *this;} /** *

The identifier of the DB cluster that the instance will belong to.

For * information on creating a DB cluster, see CreateDBCluster.

Type: * String

*/ inline CreateDBInstanceRequest& WithDBClusterIdentifier(const char* value) { SetDBClusterIdentifier(value); return *this;} /** *

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

Specifies the storage type to be associated with the DB instance.

Not * applicable. Storage is managed by the DB Cluster.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The ARN from the key store with which to associate the instance for TDE * encryption.

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

The password for the given ARN from the key store in order to access the * device.

*/ inline const Aws::String& GetTdeCredentialPassword() const{ return m_tdeCredentialPassword; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline bool TdeCredentialPasswordHasBeenSet() const { return m_tdeCredentialPasswordHasBeenSet; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(const Aws::String& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = value; } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(Aws::String&& value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword = std::move(value); } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline void SetTdeCredentialPassword(const char* value) { m_tdeCredentialPasswordHasBeenSet = true; m_tdeCredentialPassword.assign(value); } /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline CreateDBInstanceRequest& WithTdeCredentialPassword(const Aws::String& value) { SetTdeCredentialPassword(value); return *this;} /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline CreateDBInstanceRequest& WithTdeCredentialPassword(Aws::String&& value) { SetTdeCredentialPassword(std::move(value)); return *this;} /** *

The password for the given ARN from the key store in order to access the * device.

*/ inline CreateDBInstanceRequest& WithTdeCredentialPassword(const char* value) { SetTdeCredentialPassword(value); return *this;} /** *

Specifies whether the DB instance is encrypted.

Not applicable. The * encryption for DB instances is managed by the DB cluster. For more information, * see CreateDBCluster.

Default: false

*/ inline bool GetStorageEncrypted() const{ return m_storageEncrypted; } /** *

Specifies whether the DB instance is encrypted.

Not applicable. The * encryption for DB instances is managed by the DB cluster. For more information, * see CreateDBCluster.

Default: false

*/ inline bool StorageEncryptedHasBeenSet() const { return m_storageEncryptedHasBeenSet; } /** *

Specifies whether the DB instance is encrypted.

Not applicable. The * encryption for DB instances is managed by the DB cluster. For more information, * see CreateDBCluster.

Default: false

*/ inline void SetStorageEncrypted(bool value) { m_storageEncryptedHasBeenSet = true; m_storageEncrypted = value; } /** *

Specifies whether the DB instance is encrypted.

Not applicable. The * encryption for DB instances is managed by the DB cluster. For more information, * see CreateDBCluster.

Default: false

*/ inline CreateDBInstanceRequest& WithStorageEncrypted(bool value) { SetStorageEncrypted(value); return *this;} /** *

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

The Amazon KMS key identifier for an encrypted DB instance.

The KMS * key identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If * you are creating a DB instance with the same Amazon account that owns the KMS * encryption key used to encrypt the new DB instance, then you can use the KMS key * alias instead of the ARN for the KM encryption key.

Not applicable. The * KMS key identifier is managed by the DB cluster. For more information, see * CreateDBCluster.

If the StorageEncrypted parameter is * true, and you do not specify a value for the KmsKeyId parameter, * then Amazon Neptune will use your default encryption key. Amazon KMS creates the * default encryption key for your Amazon account. Your Amazon account has a * different default encryption key for each Amazon Region.

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

Specify the Active Directory Domain to create the instance in.

*/ inline const Aws::String& GetDomain() const{ return m_domain; } /** *

Specify the Active Directory Domain to create the instance in.

*/ inline bool DomainHasBeenSet() const { return m_domainHasBeenSet; } /** *

Specify the Active Directory Domain to create the instance in.

*/ inline void SetDomain(const Aws::String& value) { m_domainHasBeenSet = true; m_domain = value; } /** *

Specify the Active Directory Domain to create the instance in.

*/ inline void SetDomain(Aws::String&& value) { m_domainHasBeenSet = true; m_domain = std::move(value); } /** *

Specify the Active Directory Domain to create the instance in.

*/ inline void SetDomain(const char* value) { m_domainHasBeenSet = true; m_domain.assign(value); } /** *

Specify the Active Directory Domain to create the instance in.

*/ inline CreateDBInstanceRequest& WithDomain(const Aws::String& value) { SetDomain(value); return *this;} /** *

Specify the Active Directory Domain to create the instance in.

*/ inline CreateDBInstanceRequest& WithDomain(Aws::String&& value) { SetDomain(std::move(value)); return *this;} /** *

Specify the Active Directory Domain to create the instance in.

*/ inline CreateDBInstanceRequest& WithDomain(const char* value) { SetDomain(value); return *this;} /** *

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

*/ inline bool GetCopyTagsToSnapshot() const{ return m_copyTagsToSnapshot; } /** *

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

*/ inline bool CopyTagsToSnapshotHasBeenSet() const { return m_copyTagsToSnapshotHasBeenSet; } /** *

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

*/ inline void SetCopyTagsToSnapshot(bool value) { m_copyTagsToSnapshotHasBeenSet = true; m_copyTagsToSnapshot = value; } /** *

True to copy all tags from the DB instance to snapshots of the DB instance, * and otherwise false. The default is false.

*/ inline CreateDBInstanceRequest& WithCopyTagsToSnapshot(bool value) { SetCopyTagsToSnapshot(value); return *this;} /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline int GetMonitoringInterval() const{ return m_monitoringInterval; } /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline bool MonitoringIntervalHasBeenSet() const { return m_monitoringIntervalHasBeenSet; } /** *

The interval, in seconds, between points when Enhanced Monitoring metrics are * collected for the DB instance. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ 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. To disable collecting Enhanced Monitoring * metrics, specify 0. The default is 0.

If MonitoringRoleArn * is specified, then you must also set MonitoringInterval to a value * other than 0.

Valid Values: 0, 1, 5, 10, 15, 30, 60

*/ inline CreateDBInstanceRequest& WithMonitoringInterval(int value) { SetMonitoringInterval(value); return *this;} /** *

The ARN for the IAM role that permits Neptune to send enhanced monitoring * metrics to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline CreateDBInstanceRequest& 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline CreateDBInstanceRequest& 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. For example, * arn:aws:iam:123456789012:role/emaccess.

If * MonitoringInterval is set to a value other than 0, then you must * supply a MonitoringRoleArn value.

*/ inline CreateDBInstanceRequest& WithMonitoringRoleArn(const char* value) { SetMonitoringRoleArn(value); return *this;} /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline const Aws::String& GetDomainIAMRoleName() const{ return m_domainIAMRoleName; } /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline bool DomainIAMRoleNameHasBeenSet() const { return m_domainIAMRoleNameHasBeenSet; } /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline void SetDomainIAMRoleName(const Aws::String& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = value; } /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline void SetDomainIAMRoleName(Aws::String&& value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName = std::move(value); } /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline void SetDomainIAMRoleName(const char* value) { m_domainIAMRoleNameHasBeenSet = true; m_domainIAMRoleName.assign(value); } /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline CreateDBInstanceRequest& WithDomainIAMRoleName(const Aws::String& value) { SetDomainIAMRoleName(value); return *this;} /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline CreateDBInstanceRequest& WithDomainIAMRoleName(Aws::String&& value) { SetDomainIAMRoleName(std::move(value)); return *this;} /** *

Specify the name of the IAM role to be used when making API calls to the * Directory Service.

*/ inline CreateDBInstanceRequest& WithDomainIAMRoleName(const char* value) { SetDomainIAMRoleName(value); return *this;} /** *

A value that specifies the order in which an Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline int GetPromotionTier() const{ return m_promotionTier; } /** *

A value that specifies the order in which an Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline bool PromotionTierHasBeenSet() const { return m_promotionTierHasBeenSet; } /** *

A value that specifies the order in which an Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline void SetPromotionTier(int value) { m_promotionTierHasBeenSet = true; m_promotionTier = value; } /** *

A value that specifies the order in which an Read Replica is promoted to the * primary instance after a failure of the existing primary instance.

*

Default: 1

Valid Values: 0 - 15

*/ inline CreateDBInstanceRequest& WithPromotionTier(int value) { SetPromotionTier(value); return *this;} /** *

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

The time zone of the DB instance.

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

Not supported by Neptune (ignored).

*/ inline bool GetEnableIAMDatabaseAuthentication() const{ return m_enableIAMDatabaseAuthentication; } /** *

Not supported by Neptune (ignored).

*/ inline bool EnableIAMDatabaseAuthenticationHasBeenSet() const { return m_enableIAMDatabaseAuthenticationHasBeenSet; } /** *

Not supported by Neptune (ignored).

*/ inline void SetEnableIAMDatabaseAuthentication(bool value) { m_enableIAMDatabaseAuthenticationHasBeenSet = true; m_enableIAMDatabaseAuthentication = value; } /** *

Not supported by Neptune (ignored).

*/ inline CreateDBInstanceRequest& WithEnableIAMDatabaseAuthentication(bool value) { SetEnableIAMDatabaseAuthentication(value); return *this;} /** *

(Not supported by Neptune)

*/ inline bool GetEnablePerformanceInsights() const{ return m_enablePerformanceInsights; } /** *

(Not supported by Neptune)

*/ inline bool EnablePerformanceInsightsHasBeenSet() const { return m_enablePerformanceInsightsHasBeenSet; } /** *

(Not supported by Neptune)

*/ inline void SetEnablePerformanceInsights(bool value) { m_enablePerformanceInsightsHasBeenSet = true; m_enablePerformanceInsights = value; } /** *

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithEnablePerformanceInsights(bool value) { SetEnablePerformanceInsights(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 CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const Aws::String& value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(Aws::String&& value) { SetPerformanceInsightsKMSKeyId(std::move(value)); return *this;} /** *

(Not supported by Neptune)

*/ inline CreateDBInstanceRequest& WithPerformanceInsightsKMSKeyId(const char* value) { SetPerformanceInsightsKMSKeyId(value); return *this;} /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline const Aws::Vector& GetEnableCloudwatchLogsExports() const{ return m_enableCloudwatchLogsExports; } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline bool EnableCloudwatchLogsExportsHasBeenSet() const { return m_enableCloudwatchLogsExportsHasBeenSet; } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline void SetEnableCloudwatchLogsExports(const Aws::Vector& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = value; } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline void SetEnableCloudwatchLogsExports(Aws::Vector&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports = std::move(value); } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline CreateDBInstanceRequest& WithEnableCloudwatchLogsExports(const Aws::Vector& value) { SetEnableCloudwatchLogsExports(value); return *this;} /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline CreateDBInstanceRequest& WithEnableCloudwatchLogsExports(Aws::Vector&& value) { SetEnableCloudwatchLogsExports(std::move(value)); return *this;} /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(const Aws::String& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(Aws::String&& value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(std::move(value)); return *this; } /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs.

*/ inline CreateDBInstanceRequest& AddEnableCloudwatchLogsExports(const char* value) { m_enableCloudwatchLogsExportsHasBeenSet = true; m_enableCloudwatchLogsExports.push_back(value); return *this; } /** *

A value that indicates whether the DB instance has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled. See Deleting * a DB Instance.

DB instances in a DB cluster can be deleted even when * deletion protection is enabled in their parent DB cluster.

*/ inline bool GetDeletionProtection() const{ return m_deletionProtection; } /** *

A value that indicates whether the DB instance has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled. See Deleting * a DB Instance.

DB instances in a DB cluster can be deleted even when * deletion protection is enabled in their parent DB cluster.

*/ inline bool DeletionProtectionHasBeenSet() const { return m_deletionProtectionHasBeenSet; } /** *

A value that indicates whether the DB instance has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled. See Deleting * a DB Instance.

DB instances in a DB cluster can be deleted even when * deletion protection is enabled in their parent DB cluster.

*/ inline void SetDeletionProtection(bool value) { m_deletionProtectionHasBeenSet = true; m_deletionProtection = value; } /** *

A value that indicates whether the DB instance has deletion protection * enabled. The database can't be deleted when deletion protection is enabled. By * default, deletion protection is disabled. See Deleting * a DB Instance.

DB instances in a DB cluster can be deleted even when * deletion protection is enabled in their parent DB cluster.

*/ inline CreateDBInstanceRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} private: Aws::String m_dBName; bool m_dBNameHasBeenSet = false; Aws::String m_dBInstanceIdentifier; bool m_dBInstanceIdentifierHasBeenSet = false; int m_allocatedStorage; bool m_allocatedStorageHasBeenSet = false; Aws::String m_dBInstanceClass; bool m_dBInstanceClassHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::Vector m_dBSecurityGroups; bool m_dBSecurityGroupsHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::String m_dBParameterGroupName; bool m_dBParameterGroupNameHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; bool m_multiAZ; bool m_multiAZHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; bool m_autoMinorVersionUpgrade; bool m_autoMinorVersionUpgradeHasBeenSet = false; Aws::String m_licenseModel; bool m_licenseModelHasBeenSet = false; int m_iops; bool m_iopsHasBeenSet = false; Aws::String m_optionGroupName; bool m_optionGroupNameHasBeenSet = false; Aws::String m_characterSetName; bool m_characterSetNameHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_dBClusterIdentifier; bool m_dBClusterIdentifierHasBeenSet = false; Aws::String m_storageType; bool m_storageTypeHasBeenSet = false; Aws::String m_tdeCredentialArn; bool m_tdeCredentialArnHasBeenSet = false; Aws::String m_tdeCredentialPassword; bool m_tdeCredentialPasswordHasBeenSet = false; bool m_storageEncrypted; bool m_storageEncryptedHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_domain; bool m_domainHasBeenSet = false; bool m_copyTagsToSnapshot; bool m_copyTagsToSnapshotHasBeenSet = false; int m_monitoringInterval; bool m_monitoringIntervalHasBeenSet = false; Aws::String m_monitoringRoleArn; bool m_monitoringRoleArnHasBeenSet = false; Aws::String m_domainIAMRoleName; bool m_domainIAMRoleNameHasBeenSet = false; int m_promotionTier; bool m_promotionTierHasBeenSet = false; Aws::String m_timezone; bool m_timezoneHasBeenSet = false; bool m_enableIAMDatabaseAuthentication; bool m_enableIAMDatabaseAuthenticationHasBeenSet = false; bool m_enablePerformanceInsights; bool m_enablePerformanceInsightsHasBeenSet = false; Aws::String m_performanceInsightsKMSKeyId; bool m_performanceInsightsKMSKeyIdHasBeenSet = false; Aws::Vector m_enableCloudwatchLogsExports; bool m_enableCloudwatchLogsExportsHasBeenSet = false; bool m_deletionProtection; bool m_deletionProtectionHasBeenSet = false; }; } // namespace Model } // namespace Neptune } // namespace Aws