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

See Also:

AWS * API Reference

*/ class AWS_RDS_API CreateDBInstanceRequest : public RDSRequest { public: 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::String SerializePayload() const override; protected: void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

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

The meaning of this parameter differs according to the database engine you * use.

MySQL

The name of the database to create when the DB * instance is created. If this parameter isn't specified, no database is created * in the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Must begin with a letter. Subsequent * characters can be letters, underscores, or digits (0-9).

  • Can't * be a word reserved by the specified database engine

* MariaDB

The name of the database to create when the DB instance * is created. If this parameter isn't specified, no database is created in the DB * instance.

Constraints:

  • Must contain 1 to 64 letters or * numbers.

  • Must begin with a letter. Subsequent characters can * be letters, underscores, or digits (0-9).

  • Can't be a word * reserved by the specified database engine

PostgreSQL *

The name of the database to create when the DB instance is created. If * this parameter isn't specified, the default "postgres" database is created in * the DB instance.

Constraints:

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

  • Must begin with a letter. * Subsequent characters can be letters, underscores, or digits (0-9).

  • *
  • Can't be a word reserved by the specified database engine

  • *

Oracle

The Oracle System ID (SID) of the created DB * instance. If you specify null, the default value ORCL * is used. You can't specify the string NULL, or any other reserved word, for * DBName.

Default: ORCL

Constraints:

*
  • Can't be longer than 8 characters

SQL * Server

Not applicable. Must be null.

Amazon Aurora *

The name of the database to create when the primary instance of the DB * cluster is created. If this parameter isn't specified, no database is created in * the DB instance.

Constraints:

  • Must contain 1 to 64 * letters or numbers.

  • Can't be a word reserved by the specified * database engine

*/ 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't 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.

    *
  • Can't end with a hyphen or contain two consecutive hyphens.

    *

Example: mydbinstance

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

The amount of storage (in gibibytes) to allocate for the DB instance.

*

Type: Integer

Amazon Aurora

Not applicable. Aurora * cluster volumes automatically grow as the amount of data in your database * increases, though you are only charged for the space that you use in an Aurora * cluster volume.

MySQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

MariaDB

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

PostgreSQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

Oracle

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 10 to * 3072.

SQL Server

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2):

    • Enterprise and Standard editions: * Must be an integer from 200 to 16384.

    • Web and Express * editions: Must be an integer from 20 to 16384.

  • *

    Provisioned IOPS storage (io1):

    • Enterprise and Standard * editions: Must be an integer from 200 to 16384.

    • Web and * Express editions: Must be an integer from 100 to 16384.

  • *
  • Magnetic storage (standard):

    • Enterprise and Standard * editions: Must be an integer from 200 to 1024.

    • Web and Express * editions: Must be an integer from 20 to 1024.

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

The amount of storage (in gibibytes) to allocate for the DB instance.

*

Type: Integer

Amazon Aurora

Not applicable. Aurora * cluster volumes automatically grow as the amount of data in your database * increases, though you are only charged for the space that you use in an Aurora * cluster volume.

MySQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

MariaDB

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

PostgreSQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

Oracle

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 10 to * 3072.

SQL Server

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2):

    • Enterprise and Standard editions: * Must be an integer from 200 to 16384.

    • Web and Express * editions: Must be an integer from 20 to 16384.

  • *

    Provisioned IOPS storage (io1):

    • Enterprise and Standard * editions: Must be an integer from 200 to 16384.

    • Web and * Express editions: Must be an integer from 100 to 16384.

  • *
  • Magnetic storage (standard):

    • Enterprise and Standard * editions: Must be an integer from 200 to 1024.

    • Web and Express * editions: Must be an integer from 20 to 1024.

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

The amount of storage (in gibibytes) to allocate for the DB instance.

*

Type: Integer

Amazon Aurora

Not applicable. Aurora * cluster volumes automatically grow as the amount of data in your database * increases, though you are only charged for the space that you use in an Aurora * cluster volume.

MySQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

MariaDB

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

PostgreSQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

Oracle

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 10 to * 3072.

SQL Server

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2):

    • Enterprise and Standard editions: * Must be an integer from 200 to 16384.

    • Web and Express * editions: Must be an integer from 20 to 16384.

  • *

    Provisioned IOPS storage (io1):

    • Enterprise and Standard * editions: Must be an integer from 200 to 16384.

    • Web and * Express editions: Must be an integer from 100 to 16384.

  • *
  • Magnetic storage (standard):

    • Enterprise and Standard * editions: Must be an integer from 200 to 1024.

    • Web and Express * editions: Must be an integer from 20 to 1024.

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

The amount of storage (in gibibytes) to allocate for the DB instance.

*

Type: Integer

Amazon Aurora

Not applicable. Aurora * cluster volumes automatically grow as the amount of data in your database * increases, though you are only charged for the space that you use in an Aurora * cluster volume.

MySQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

MariaDB

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

PostgreSQL

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 5 to * 3072.

Oracle

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2): Must be an integer from 20 to 65536.

  • *

    Provisioned IOPS storage (io1): Must be an integer from 100 to 65536.

    *
  • Magnetic storage (standard): Must be an integer from 10 to * 3072.

SQL Server

Constraints to the amount of * storage for each storage type are the following:

  • General * Purpose (SSD) storage (gp2):

    • Enterprise and Standard editions: * Must be an integer from 200 to 16384.

    • Web and Express * editions: Must be an integer from 20 to 16384.

  • *

    Provisioned IOPS storage (io1):

    • Enterprise and Standard * editions: Must be an integer from 200 to 16384.

    • Web and * Express editions: Must be an integer from 100 to 16384.

  • *
  • Magnetic storage (standard):

    • Enterprise and Standard * editions: Must be an integer from 200 to 1024.

    • Web and Express * editions: Must be an integer from 20 to 1024.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

*/ 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 AWS * Regions, or for all database engines. For the full list of DB instance classes, * and availability for your engine, see DB * Instance Class in the Amazon RDS User Guide.

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

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

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

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

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

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

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

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

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

*/ 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.

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

*/ 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.

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

*/ 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.

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

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

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

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

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

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

Not * every database engine is available for every AWS Region.

Valid Values: *

  • aurora (for MySQL 5.6-compatible Aurora)

    *
  • aurora-mysql (for MySQL 5.7-compatible Aurora)

    *
  • aurora-postgresql

  • * mariadb

  • mysql

  • * oracle-ee

  • oracle-se2

  • *
  • oracle-se1

  • oracle-se

    *
  • postgres

  • * sqlserver-ee

  • sqlserver-se

    *
  • sqlserver-ex

  • * sqlserver-web

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The name for the master user.

Amazon Aurora

Not * applicable. The name for the master user is managed by the DB cluster.

* MariaDB

Constraints:

  • Required for MariaDB.

    *
  • Must be 1 to 16 letters or numbers.

  • Can't be a * reserved word for the chosen database engine.

Microsoft * SQL Server

Constraints:

  • Required for SQL * Server.

  • Must be 1 to 128 letters or numbers.

  • *

    The first character must be a letter.

  • Can't be a reserved * word for the chosen database engine.

MySQL

*

Constraints:

  • Required for MySQL.

  • Must be 1 * to 16 letters or numbers.

  • First character must be a * letter.

  • Can't be a reserved word for the chosen database * engine.

Oracle

Constraints:

  • *

    Required for Oracle.

  • Must be 1 to 30 letters or * numbers.

  • First character must be a letter.

  • *

    Can't be a reserved word for the chosen database engine.

* PostgreSQL

Constraints:

  • Required for * PostgreSQL.

  • Must be 1 to 63 letters or numbers.

  • *

    First character must be a letter.

  • Can't be a reserved word * for the chosen database engine.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

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

The password for the master user. The password can include any printable * ASCII character except "/", """, or "@".

Amazon Aurora

*

Not applicable. The password for the master user is managed by the DB * cluster.

MariaDB

Constraints: Must contain from 8 to 41 * characters.

Microsoft SQL Server

Constraints: Must * contain from 8 to 128 characters.

MySQL

Constraints: Must * contain from 8 to 41 characters.

Oracle

Constraints: Must * contain from 8 to 30 characters.

PostgreSQL

Constraints: * Must contain from 8 to 128 characters.

*/ 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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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

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

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

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Amazon EC2 VPC security groups to associate with this DB * instance.

Amazon Aurora

Not applicable. The associated * list of EC2 VPC security groups is managed by the DB cluster.

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 Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

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

The Availability Zone (AZ) where the database will be created. For * information on AWS Regions and Availability Zones, see Regions * and Availability Zones.

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

Example: * us-east-1d

Constraint: The AvailabilityZone * parameter can't be specified if the DB instance is a Multi-AZ deployment. The * specified Availability Zone must be in the same AWS Region as the current * endpoint.

If you're creating a DB instance in an RDS on VMware * environment, specify the identifier of the custom Availability Zone to create * the DB instance in.

For more information about RDS on VMware, see the * RDS on VMware User Guide.

*/ 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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). For more information, see Amazon * RDS Maintenance Window.

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 AWS 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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 you * do not specify a value, then the default DB parameter group for the specified DB * engine and version is used.

Constraints:

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

  • First character must be a * letter

  • Can't 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. Setting this * parameter to a positive number enables backups. Setting this parameter to 0 * disables automated backups.

Amazon Aurora

Not applicable. * The retention period for automated backups is managed by the DB cluster.

*

Default: 1

Constraints:

  • Must be a value from 0 to * 35

  • Can't 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. Setting this * parameter to a positive number enables backups. Setting this parameter to 0 * disables automated backups.

Amazon Aurora

Not applicable. * The retention period for automated backups is managed by the DB cluster.

*

Default: 1

Constraints:

  • Must be a value from 0 to * 35

  • Can't 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. Setting this * parameter to a positive number enables backups. Setting this parameter to 0 * disables automated backups.

Amazon Aurora

Not applicable. * The retention period for automated backups is managed by the DB cluster.

*

Default: 1

Constraints:

  • Must be a value from 0 to * 35

  • Can't 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. Setting this * parameter to a positive number enables backups. Setting this parameter to 0 * disables automated backups.

Amazon Aurora

Not applicable. * The retention period for automated backups is managed by the DB cluster.

*

Default: 1

Constraints:

  • Must be a value from 0 to * 35

  • Can't 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 if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The daily time range during which automated backups are created if automated * backups are enabled, using the BackupRetentionPeriod parameter. For * more information, see The * Backup Window in the Amazon RDS User Guide.

Amazon * Aurora

Not applicable. The daily time range for creating automated * backups is managed by the DB cluster.

The default is a 30-minute window * selected at random from an 8-hour block of time for each AWS Region. To see the * time blocks available, see * Adjusting the Preferred DB Instance Maintenance Window in the Amazon RDS * User Guide.

Constraints:

  • Must be in the format * hh24:mi-hh24:mi.

  • Must be in Universal Coordinated * Time (UTC).

  • Must not conflict with the preferred maintenance * window.

  • Must be at least 30 minutes.

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

The port number on which the database accepts connections.

* MySQL

Default: 3306

Valid values: * 1150-65535

Type: Integer

MariaDB

* Default: 3306

Valid values: 1150-65535

*

Type: Integer

PostgreSQL

Default: 5432 *

Valid values: 1150-65535

Type: Integer

* Oracle

Default: 1521

Valid values: * 1150-65535

SQL Server

Default: * 1433

Valid values: 1150-65535 except * 1234, 1434, 3260, 3343, * 3389, 47001, and 49152-49156.

* Amazon Aurora

Default: 3306

Valid values: * 1150-65535

Type: Integer

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

The port number on which the database accepts connections.

* MySQL

Default: 3306

Valid values: * 1150-65535

Type: Integer

MariaDB

* Default: 3306

Valid values: 1150-65535

*

Type: Integer

PostgreSQL

Default: 5432 *

Valid values: 1150-65535

Type: Integer

* Oracle

Default: 1521

Valid values: * 1150-65535

SQL Server

Default: * 1433

Valid values: 1150-65535 except * 1234, 1434, 3260, 3343, * 3389, 47001, and 49152-49156.

* Amazon Aurora

Default: 3306

Valid values: * 1150-65535

Type: Integer

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

The port number on which the database accepts connections.

* MySQL

Default: 3306

Valid values: * 1150-65535

Type: Integer

MariaDB

* Default: 3306

Valid values: 1150-65535

*

Type: Integer

PostgreSQL

Default: 5432 *

Valid values: 1150-65535

Type: Integer

* Oracle

Default: 1521

Valid values: * 1150-65535

SQL Server

Default: * 1433

Valid values: 1150-65535 except * 1234, 1434, 3260, 3343, * 3389, 47001, and 49152-49156.

* Amazon Aurora

Default: 3306

Valid values: * 1150-65535

Type: Integer

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

The port number on which the database accepts connections.

* MySQL

Default: 3306

Valid values: * 1150-65535

Type: Integer

MariaDB

* Default: 3306

Valid values: 1150-65535

*

Type: Integer

PostgreSQL

Default: 5432 *

Valid values: 1150-65535

Type: Integer

* Oracle

Default: 1521

Valid values: * 1150-65535

SQL Server

Default: * 1433

Valid values: 1150-65535 except * 1234, 1434, 3260, 3343, * 3389, 47001, and 49152-49156.

* Amazon Aurora

Default: 3306

Valid values: * 1150-65535

Type: Integer

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

A value that indicates whether the DB instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the DB instance is a * Multi-AZ deployment.

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

A value that indicates whether the DB instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the DB instance is a * Multi-AZ deployment.

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

A value that indicates whether the DB instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the DB instance is a * Multi-AZ deployment.

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

A value that indicates whether the DB instance is a Multi-AZ deployment. You * can't set the AvailabilityZone parameter if the DB instance is a * Multi-AZ deployment.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

The version number of the database engine to use.

For a list of valid * engine versions, use the DescribeDBEngineVersions action.

*

The following are the database engines and links to information about the * major and minor versions that are available with Amazon RDS. Not every database * engine is available for every AWS Region.

Amazon Aurora

*

Not applicable. The version number of the database engine to be used by the * DB instance is managed by the DB cluster.

MariaDB

See MariaDB * on Amazon RDS Versions in the Amazon RDS User Guide.

* Microsoft SQL Server

See Version * and Feature Support on Amazon RDS in the Amazon RDS User Guide.

*

MySQL

See MySQL * on Amazon RDS Versions in the Amazon RDS User Guide.

* Oracle

See Oracle * Database Engine Release Notes in the Amazon RDS User Guide.

* PostgreSQL

See Supported * PostgreSQL Database Versions in the Amazon RDS User Guide.

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

A value that indicates whether minor engine upgrades are applied * automatically to the DB instance during the maintenance window. By default, * minor engine upgrades are applied automatically.

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

A value that indicates whether minor engine upgrades are applied * automatically to the DB instance during the maintenance window. By default, * minor engine upgrades are applied automatically.

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

A value that indicates whether minor engine upgrades are applied * automatically to the DB instance during the maintenance window. By default, * minor engine upgrades are applied automatically.

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

A value that indicates whether minor engine upgrades are applied * automatically to the DB instance during the maintenance window. By default, * minor engine upgrades are applied automatically.

*/ 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. For information about valid Iops * values, see Amazon * RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS * User Guide.

Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL * DB instances, must be a multiple between .5 and 50 of the storage amount for the * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of * the storage amount 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. For information about valid Iops * values, see Amazon * RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS * User Guide.

Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL * DB instances, must be a multiple between .5 and 50 of the storage amount for the * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of * the storage amount 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. For information about valid Iops * values, see Amazon * RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS * User Guide.

Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL * DB instances, must be a multiple between .5 and 50 of the storage amount for the * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of * the storage amount 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. For information about valid Iops * values, see Amazon * RDS Provisioned IOPS Storage to Improve Performance in the Amazon RDS * User Guide.

Constraints: For MariaDB, MySQL, Oracle, and PostgreSQL * DB instances, must be a multiple between .5 and 50 of the storage amount for the * DB instance. For SQL Server DB instances, must be a multiple between 1 and 50 of * the storage amount for the DB instance.

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

Indicates that the DB instance should be associated with the specified option * group.

Permanent options, such as the TDE option for Oracle Advanced * Security TDE, can't be removed from an option group. Also, that option group * can't be removed from a DB instance once it is associated with a DB instance

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

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

*/ inline const Aws::String& GetCharacterSetName() const{ return m_characterSetName; } /** *

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

*/ inline bool CharacterSetNameHasBeenSet() const { return m_characterSetNameHasBeenSet; } /** *

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

*/ inline void SetCharacterSetName(const Aws::String& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = value; } /** *

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

*/ inline void SetCharacterSetName(Aws::String&& value) { m_characterSetNameHasBeenSet = true; m_characterSetName = std::move(value); } /** *

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

*/ inline void SetCharacterSetName(const char* value) { m_characterSetNameHasBeenSet = true; m_characterSetName.assign(value); } /** *

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

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

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

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

For supported engines, indicates that the DB instance should be associated * with the specified CharacterSet.

Amazon Aurora

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

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

A value that indicates whether the DB instance is publicly accessible.

*

When the DB instance is publicly accessible, its DNS endpoint resolves to the * private IP address from within the DB instance's VPC, and to the public IP * address from outside of the DB instance's VPC. Access to the DB instance is * ultimately controlled by the security group it uses, and that public access is * not permitted if the security group assigned to the DB instance doesn't permit * it.

When the DB instance isn't publicly accessible, it is an internal DB * instance with a DNS name that resolves to a private IP address.

Default: * The default behavior varies depending on whether DBSubnetGroupName * is specified.

If DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the default VPC in the target region doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the default VPC * in the target region has an Internet gateway attached to it, the DB instance is * public.

If DBSubnetGroupName is specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the subnets are part of a VPC that doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the subnets are * part of a VPC that has an Internet gateway attached to it, the DB instance is * public.

*/ inline bool GetPubliclyAccessible() const{ return m_publiclyAccessible; } /** *

A value that indicates whether the DB instance is publicly accessible.

*

When the DB instance is publicly accessible, its DNS endpoint resolves to the * private IP address from within the DB instance's VPC, and to the public IP * address from outside of the DB instance's VPC. Access to the DB instance is * ultimately controlled by the security group it uses, and that public access is * not permitted if the security group assigned to the DB instance doesn't permit * it.

When the DB instance isn't publicly accessible, it is an internal DB * instance with a DNS name that resolves to a private IP address.

Default: * The default behavior varies depending on whether DBSubnetGroupName * is specified.

If DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the default VPC in the target region doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the default VPC * in the target region has an Internet gateway attached to it, the DB instance is * public.

If DBSubnetGroupName is specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the subnets are part of a VPC that doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the subnets are * part of a VPC that has an Internet gateway attached to it, the DB instance is * public.

*/ inline bool PubliclyAccessibleHasBeenSet() const { return m_publiclyAccessibleHasBeenSet; } /** *

A value that indicates whether the DB instance is publicly accessible.

*

When the DB instance is publicly accessible, its DNS endpoint resolves to the * private IP address from within the DB instance's VPC, and to the public IP * address from outside of the DB instance's VPC. Access to the DB instance is * ultimately controlled by the security group it uses, and that public access is * not permitted if the security group assigned to the DB instance doesn't permit * it.

When the DB instance isn't publicly accessible, it is an internal DB * instance with a DNS name that resolves to a private IP address.

Default: * The default behavior varies depending on whether DBSubnetGroupName * is specified.

If DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the default VPC in the target region doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the default VPC * in the target region has an Internet gateway attached to it, the DB instance is * public.

If DBSubnetGroupName is specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the subnets are part of a VPC that doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the subnets are * part of a VPC that has an Internet gateway attached to it, the DB instance is * public.

*/ inline void SetPubliclyAccessible(bool value) { m_publiclyAccessibleHasBeenSet = true; m_publiclyAccessible = value; } /** *

A value that indicates whether the DB instance is publicly accessible.

*

When the DB instance is publicly accessible, its DNS endpoint resolves to the * private IP address from within the DB instance's VPC, and to the public IP * address from outside of the DB instance's VPC. Access to the DB instance is * ultimately controlled by the security group it uses, and that public access is * not permitted if the security group assigned to the DB instance doesn't permit * it.

When the DB instance isn't publicly accessible, it is an internal DB * instance with a DNS name that resolves to a private IP address.

Default: * The default behavior varies depending on whether DBSubnetGroupName * is specified.

If DBSubnetGroupName isn't specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the default VPC in the target region doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the default VPC * in the target region has an Internet gateway attached to it, the DB instance is * public.

If DBSubnetGroupName is specified, and * PubliclyAccessible isn't specified, the following applies:

    *
  • If the subnets are part of a VPC that doesn’t have an Internet gateway * attached to it, the DB instance is private.

  • If the subnets are * part of a VPC that has an Internet gateway attached to it, the DB instance is * public.

*/ inline CreateDBInstanceRequest& WithPubliclyAccessible(bool value) { SetPubliclyAccessible(value); return *this;} /** *

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB instance.

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

Tags to assign to the DB 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.

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

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

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

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

*/ 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.

*/ 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.

*/ 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.

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

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

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

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

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

*/ 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.

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

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

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

* Valid values: standard | gp2 | io1

If you specify * io1, you must also include a value for the Iops * parameter.

Default: io1 if the Iops parameter * is specified, otherwise gp2

*/ 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;} /** *

A value that indicates whether the DB instance is encrypted. By default, it * isn't encrypted.

Amazon Aurora

Not applicable. The * encryption for DB instances is managed by the DB cluster.

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

A value that indicates whether the DB instance is encrypted. By default, it * isn't encrypted.

Amazon Aurora

Not applicable. The * encryption for DB instances is managed by the DB cluster.

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

A value that indicates whether the DB instance is encrypted. By default, it * isn't encrypted.

Amazon Aurora

Not applicable. The * encryption for DB instances is managed by the DB cluster.

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

A value that indicates whether the DB instance is encrypted. By default, it * isn't encrypted.

Amazon Aurora

Not applicable. The * encryption for DB instances is managed by the DB cluster.

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The AWS 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 AWS 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.

Amazon Aurora *

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

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

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

The Active Directory directory ID to create the DB instance in. Currently, * only MySQL, Microsoft SQL Server, Oracle, and PostgreSQL DB instances can be * created in an Active Directory Domain.

For more information, see * Kerberos Authentication in the Amazon RDS User Guide.

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

A value that indicates whether to copy tags from the DB instance to snapshots * of the DB instance. By default, tags are not copied.

Amazon * Aurora

Not applicable. Copying tags to snapshots is managed by the * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB * cluster setting.

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

A value that indicates whether to copy tags from the DB instance to snapshots * of the DB instance. By default, tags are not copied.

Amazon * Aurora

Not applicable. Copying tags to snapshots is managed by the * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB * cluster setting.

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

A value that indicates whether to copy tags from the DB instance to snapshots * of the DB instance. By default, tags are not copied.

Amazon * Aurora

Not applicable. Copying tags to snapshots is managed by the * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB * cluster setting.

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

A value that indicates whether to copy tags from the DB instance to snapshots * of the DB instance. By default, tags are not copied.

Amazon * Aurora

Not applicable. Copying tags to snapshots is managed by the * DB cluster. Setting this value for an Aurora DB instance has no effect on the DB * cluster setting.

*/ 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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 RDS to send enhanced monitoring metrics * to Amazon CloudWatch Logs. For example, * arn:aws:iam:123456789012:role/emaccess. For information on creating * a monitoring role, go to Setting * Up and Enabling Enhanced Monitoring in the Amazon RDS User Guide.

*

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 Aurora Replica is promoted to * the primary instance after a failure of the existing primary instance. For more * information, see * Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User * Guide.

Default: 1

Valid Values: 0 - 15

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

A value that specifies the order in which an Aurora Replica is promoted to * the primary instance after a failure of the existing primary instance. For more * information, see * Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User * Guide.

Default: 1

Valid Values: 0 - 15

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

A value that specifies the order in which an Aurora Replica is promoted to * the primary instance after a failure of the existing primary instance. For more * information, see * Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User * Guide.

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 Aurora Replica is promoted to * the primary instance after a failure of the existing primary instance. For more * information, see * Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User * Guide.

Default: 1

Valid Values: 0 - 15

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

The time zone of the DB instance. The time zone parameter is currently * supported only by Microsoft * SQL Server.

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

A value that indicates whether to enable mapping of AWS Identity and Access * Management (IAM) accounts to database accounts. By default, mapping is * disabled.

You can enable IAM database authentication for the following * database engines:

Amazon Aurora

Not applicable. Mapping * AWS IAM accounts to database accounts is managed by the DB cluster.

* MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

    *
  • For MySQL 5.7, minor version 5.7.16 or higher

  • *

    For MySQL 8.0, minor version 8.0.16 or higher

* PostgreSQL

  • For PostgreSQL 9.5, minor version 9.5.15 or * higher

  • For PostgreSQL 9.6, minor version 9.6.11 or higher

    *
  • PostgreSQL 10.6, 10.7, and 10.9

For more * information, see * IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS * User Guide.

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

A value that indicates whether to enable mapping of AWS Identity and Access * Management (IAM) accounts to database accounts. By default, mapping is * disabled.

You can enable IAM database authentication for the following * database engines:

Amazon Aurora

Not applicable. Mapping * AWS IAM accounts to database accounts is managed by the DB cluster.

* MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

    *
  • For MySQL 5.7, minor version 5.7.16 or higher

  • *

    For MySQL 8.0, minor version 8.0.16 or higher

* PostgreSQL

  • For PostgreSQL 9.5, minor version 9.5.15 or * higher

  • For PostgreSQL 9.6, minor version 9.6.11 or higher

    *
  • PostgreSQL 10.6, 10.7, and 10.9

For more * information, see * IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS * User Guide.

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

A value that indicates whether to enable mapping of AWS Identity and Access * Management (IAM) accounts to database accounts. By default, mapping is * disabled.

You can enable IAM database authentication for the following * database engines:

Amazon Aurora

Not applicable. Mapping * AWS IAM accounts to database accounts is managed by the DB cluster.

* MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

    *
  • For MySQL 5.7, minor version 5.7.16 or higher

  • *

    For MySQL 8.0, minor version 8.0.16 or higher

* PostgreSQL

  • For PostgreSQL 9.5, minor version 9.5.15 or * higher

  • For PostgreSQL 9.6, minor version 9.6.11 or higher

    *
  • PostgreSQL 10.6, 10.7, and 10.9

For more * information, see * IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS * User Guide.

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

A value that indicates whether to enable mapping of AWS Identity and Access * Management (IAM) accounts to database accounts. By default, mapping is * disabled.

You can enable IAM database authentication for the following * database engines:

Amazon Aurora

Not applicable. Mapping * AWS IAM accounts to database accounts is managed by the DB cluster.

* MySQL

  • For MySQL 5.6, minor version 5.6.34 or higher

    *
  • For MySQL 5.7, minor version 5.7.16 or higher

  • *

    For MySQL 8.0, minor version 8.0.16 or higher

* PostgreSQL

  • For PostgreSQL 9.5, minor version 9.5.15 or * higher

  • For PostgreSQL 9.6, minor version 9.6.11 or higher

    *
  • PostgreSQL 10.6, 10.7, and 10.9

For more * information, see * IAM Database Authentication for MySQL and PostgreSQL in the Amazon RDS * User Guide.

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

A value that indicates whether to enable Performance Insights for the DB * instance.

For more information, see Using * Amazon Performance Insights in the Amazon Relational Database Service * User Guide.

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

A value that indicates whether to enable Performance Insights for the DB * instance.

For more information, see Using * Amazon Performance Insights in the Amazon Relational Database Service * User Guide.

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

A value that indicates whether to enable Performance Insights for the DB * instance.

For more information, see Using * Amazon Performance Insights in the Amazon Relational Database Service * User Guide.

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

A value that indicates whether to enable Performance Insights for the DB * instance.

For more information, see Using * Amazon Performance Insights in the Amazon Relational Database Service * User Guide.

*/ inline CreateDBInstanceRequest& WithEnablePerformanceInsights(bool value) { SetEnablePerformanceInsights(value); return *this;} /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

*/ inline const Aws::String& GetPerformanceInsightsKMSKeyId() const{ return m_performanceInsightsKMSKeyId; } /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

*/ inline bool PerformanceInsightsKMSKeyIdHasBeenSet() const { return m_performanceInsightsKMSKeyIdHasBeenSet; } /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

*/ inline void SetPerformanceInsightsKMSKeyId(const Aws::String& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = value; } /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

*/ inline void SetPerformanceInsightsKMSKeyId(Aws::String&& value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId = std::move(value); } /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

*/ inline void SetPerformanceInsightsKMSKeyId(const char* value) { m_performanceInsightsKMSKeyIdHasBeenSet = true; m_performanceInsightsKMSKeyId.assign(value); } /** *

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

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

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

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

The AWS KMS key identifier for encryption of Performance Insights data. The * KMS key ID is the Amazon Resource Name (ARN), KMS key identifier, or the KMS key * alias for the KMS encryption key.

If you do not specify a value for * PerformanceInsightsKMSKeyId, then Amazon RDS uses your default * encryption key. AWS KMS creates the default encryption key for your AWS account. * Your AWS account has a different default encryption key for each AWS Region.

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

The amount of time, in days, to retain Performance Insights data. Valid * values are 7 or 731 (2 years).

*/ inline int GetPerformanceInsightsRetentionPeriod() const{ return m_performanceInsightsRetentionPeriod; } /** *

The amount of time, in days, to retain Performance Insights data. Valid * values are 7 or 731 (2 years).

*/ inline bool PerformanceInsightsRetentionPeriodHasBeenSet() const { return m_performanceInsightsRetentionPeriodHasBeenSet; } /** *

The amount of time, in days, to retain Performance Insights data. Valid * values are 7 or 731 (2 years).

*/ inline void SetPerformanceInsightsRetentionPeriod(int value) { m_performanceInsightsRetentionPeriodHasBeenSet = true; m_performanceInsightsRetentionPeriod = value; } /** *

The amount of time, in days, to retain Performance Insights data. Valid * values are 7 or 731 (2 years).

*/ inline CreateDBInstanceRequest& WithPerformanceInsightsRetentionPeriod(int value) { SetPerformanceInsightsRetentionPeriod(value); return *this;} /** *

The list of log types that need to be enabled for exporting to CloudWatch * Logs. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

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

The list of log types that need to be enabled for exporting to CloudWatch * Logs. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

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

The list of log types that need to be enabled for exporting to CloudWatch * Logs. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

*/ 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. The values in the list depend on the DB engine being used. For more * information, see Publishing * Database Logs to Amazon CloudWatch Logs in the Amazon Relational * Database Service User Guide.

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

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline const Aws::Vector& GetProcessorFeatures() const{ return m_processorFeatures; } /** *

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline bool ProcessorFeaturesHasBeenSet() const { return m_processorFeaturesHasBeenSet; } /** *

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline void SetProcessorFeatures(const Aws::Vector& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = value; } /** *

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline void SetProcessorFeatures(Aws::Vector&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures = std::move(value); } /** *

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

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

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

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

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline CreateDBInstanceRequest& AddProcessorFeatures(const ProcessorFeature& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(value); return *this; } /** *

The number of CPU cores and the number of threads per core for the DB * instance class of the DB instance.

*/ inline CreateDBInstanceRequest& AddProcessorFeatures(ProcessorFeature&& value) { m_processorFeaturesHasBeenSet = true; m_processorFeatures.push_back(std::move(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. For more information, see * Deleting a DB Instance.

Amazon Aurora

Not * applicable. You can enable or disable deletion protection for the DB cluster. * For more information, see CreateDBCluster. DB instances in a DB * cluster can be deleted even when deletion protection is enabled for the 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. For more information, see * Deleting a DB Instance.

Amazon Aurora

Not * applicable. You can enable or disable deletion protection for the DB cluster. * For more information, see CreateDBCluster. DB instances in a DB * cluster can be deleted even when deletion protection is enabled for the 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. For more information, see * Deleting a DB Instance.

Amazon Aurora

Not * applicable. You can enable or disable deletion protection for the DB cluster. * For more information, see CreateDBCluster. DB instances in a DB * cluster can be deleted even when deletion protection is enabled for the 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. For more information, see * Deleting a DB Instance.

Amazon Aurora

Not * applicable. You can enable or disable deletion protection for the DB cluster. * For more information, see CreateDBCluster. DB instances in a DB * cluster can be deleted even when deletion protection is enabled for the DB * cluster.

*/ inline CreateDBInstanceRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} /** *

The upper limit to which Amazon RDS can automatically scale the storage of * the DB instance.

*/ inline int GetMaxAllocatedStorage() const{ return m_maxAllocatedStorage; } /** *

The upper limit to which Amazon RDS can automatically scale the storage of * the DB instance.

*/ inline bool MaxAllocatedStorageHasBeenSet() const { return m_maxAllocatedStorageHasBeenSet; } /** *

The upper limit to which Amazon RDS can automatically scale the storage of * the DB instance.

*/ inline void SetMaxAllocatedStorage(int value) { m_maxAllocatedStorageHasBeenSet = true; m_maxAllocatedStorage = value; } /** *

The upper limit to which Amazon RDS can automatically scale the storage of * the DB instance.

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