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

Represents the input to CreateDBCluster.

See Also:

* AWS * API Reference

*/ class CreateDBClusterRequest : public DocDBRequest { public: AWS_DOCDB_API CreateDBClusterRequest(); // 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 "CreateDBCluster"; } AWS_DOCDB_API Aws::String SerializePayload() const override; protected: AWS_DOCDB_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline const Aws::Vector& GetAvailabilityZones() const{ return m_availabilityZones; } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline bool AvailabilityZonesHasBeenSet() const { return m_availabilityZonesHasBeenSet; } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline void SetAvailabilityZones(const Aws::Vector& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = value; } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline void SetAvailabilityZones(Aws::Vector&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones = std::move(value); } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline CreateDBClusterRequest& WithAvailabilityZones(const Aws::Vector& value) { SetAvailabilityZones(value); return *this;} /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline CreateDBClusterRequest& WithAvailabilityZones(Aws::Vector&& value) { SetAvailabilityZones(std::move(value)); return *this;} /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline CreateDBClusterRequest& AddAvailabilityZones(const Aws::String& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline CreateDBClusterRequest& AddAvailabilityZones(Aws::String&& value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(std::move(value)); return *this; } /** *

A list of Amazon EC2 Availability Zones that instances in the cluster can be * created in.

*/ inline CreateDBClusterRequest& AddAvailabilityZones(const char* value) { m_availabilityZonesHasBeenSet = true; m_availabilityZones.push_back(value); return *this; } /** *

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35.

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

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35.

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

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35.

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

The number of days for which automated backups are retained. You must specify * a minimum value of 1.

Default: 1

Constraints:

  • *

    Must be a value from 1 to 35.

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The cluster identifier. This parameter is stored as a lowercase string.

*

Constraints:

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

  • The first character must be a letter.

  • *

    Cannot end with a hyphen or contain two consecutive hyphens.

*

Example: my-cluster

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

The name of the cluster parameter group to associate with this cluster.

*/ inline const Aws::String& GetDBClusterParameterGroupName() const{ return m_dBClusterParameterGroupName; } /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline bool DBClusterParameterGroupNameHasBeenSet() const { return m_dBClusterParameterGroupNameHasBeenSet; } /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline void SetDBClusterParameterGroupName(const Aws::String& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = value; } /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline void SetDBClusterParameterGroupName(Aws::String&& value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName = std::move(value); } /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline void SetDBClusterParameterGroupName(const char* value) { m_dBClusterParameterGroupNameHasBeenSet = true; m_dBClusterParameterGroupName.assign(value); } /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const Aws::String& value) { SetDBClusterParameterGroupName(value); return *this;} /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(Aws::String&& value) { SetDBClusterParameterGroupName(std::move(value)); return *this;} /** *

The name of the cluster parameter group to associate with this cluster.

*/ inline CreateDBClusterRequest& WithDBClusterParameterGroupName(const char* value) { SetDBClusterParameterGroupName(value); return *this;} /** *

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

A subnet group to associate with this cluster.

Constraints: Must match * the name of an existing DBSubnetGroup. Must not be default.

*

Example: mySubnetgroup

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

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

Valid * values: docdb

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

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

Valid * values: docdb

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

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

Valid * values: docdb

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

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

Valid * values: docdb

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

Valid * values: docdb

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

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

Valid * values: docdb

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

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

Valid * values: docdb

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

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

Valid * values: docdb

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The version number of the database engine to use. The * --engine-version will default to the latest major engine version. * For production workloads, we recommend explicitly declaring this parameter with * the intended major engine version.

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

The port number on which the instances in the cluster accept connections.

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

The port number on which the instances in the cluster accept connections.

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

The port number on which the instances in the cluster accept connections.

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

The port number on which the instances in the cluster accept connections.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot 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 of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The name of the master user for the cluster.

Constraints:

    *
  • Must be from 1 to 63 letters or numbers.

  • The first * character must be a letter.

  • Cannot be a reserved word for the * chosen database engine.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The password for the master database user. This password can contain any * printable ASCII character except forward slash (/), double quote ("), or the * "at" symbol (@).

Constraints: Must contain from 8 to 100 characters.

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

The daily time range during which automated backups are created if automated * backups are enabled using the BackupRetentionPeriod parameter.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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 CreateDBClusterRequest& 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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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 CreateDBClusterRequest& 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.

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services Region.

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 CreateDBClusterRequest& WithPreferredBackupWindow(const char* value) { SetPreferredBackupWindow(value); return *this;} /** *

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

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

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services 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 weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

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

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services 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 weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

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

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services 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 weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

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

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services 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 weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

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

*

The default is a 30-minute window selected at random from an 8-hour block of * time for each Amazon Web Services 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 weekly time range during which system maintenance can occur, in Universal * Coordinated Time (UTC).

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

*

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

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: * Minimum 30-minute window.

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

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

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

*

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

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: * Minimum 30-minute window.

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

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

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

*

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

Valid days: Mon, Tue, Wed, Thu, Fri, Sat, Sun

Constraints: * Minimum 30-minute window.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

The tags to be assigned to the cluster.

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

Specifies whether the cluster is encrypted.

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

Specifies whether the cluster is encrypted.

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

Specifies whether the cluster is encrypted.

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

Specifies whether the cluster is encrypted.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

The KMS key identifier for an encrypted cluster.

The KMS key * identifier is the Amazon Resource Name (ARN) for the KMS encryption key. If you * are creating a cluster using the same Amazon Web Services account that owns the * KMS encryption key that is used to encrypt the new cluster, you can use the KMS * key alias instead of the ARN for the KMS encryption key.

If an encryption * key is not specified in KmsKeyId:

  • If the * StorageEncrypted parameter is true, Amazon DocumentDB * uses your default encryption key.

KMS creates the default * encryption key for your Amazon Web Services account. Your Amazon Web Services * account has a different default encryption key for each Amazon Web Services * Regions.

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

Not currently supported.

*/ inline const Aws::String& GetPreSignedUrl() const{ return m_preSignedUrl; } /** *

Not currently supported.

*/ inline bool PreSignedUrlHasBeenSet() const { return m_preSignedUrlHasBeenSet; } /** *

Not currently supported.

*/ inline void SetPreSignedUrl(const Aws::String& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = value; } /** *

Not currently supported.

*/ inline void SetPreSignedUrl(Aws::String&& value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl = std::move(value); } /** *

Not currently supported.

*/ inline void SetPreSignedUrl(const char* value) { m_preSignedUrlHasBeenSet = true; m_preSignedUrl.assign(value); } /** *

Not currently supported.

*/ inline CreateDBClusterRequest& WithPreSignedUrl(const Aws::String& value) { SetPreSignedUrl(value); return *this;} /** *

Not currently supported.

*/ inline CreateDBClusterRequest& WithPreSignedUrl(Aws::String&& value) { SetPreSignedUrl(std::move(value)); return *this;} /** *

Not currently supported.

*/ inline CreateDBClusterRequest& WithPreSignedUrl(const char* value) { SetPreSignedUrl(value); return *this;} /** *

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

A list of log types that need to be enabled for exporting to Amazon * CloudWatch Logs. You can enable audit logs or profiler logs. For more * information, see * Auditing Amazon DocumentDB Events and * Profiling Amazon DocumentDB Operations.

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

Specifies whether this cluster can be deleted. If * DeletionProtection is enabled, the cluster cannot be deleted unless * it is modified and DeletionProtection is disabled. * DeletionProtection protects clusters from being accidentally * deleted.

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

Specifies whether this cluster can be deleted. If * DeletionProtection is enabled, the cluster cannot be deleted unless * it is modified and DeletionProtection is disabled. * DeletionProtection protects clusters from being accidentally * deleted.

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

Specifies whether this cluster can be deleted. If * DeletionProtection is enabled, the cluster cannot be deleted unless * it is modified and DeletionProtection is disabled. * DeletionProtection protects clusters from being accidentally * deleted.

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

Specifies whether this cluster can be deleted. If * DeletionProtection is enabled, the cluster cannot be deleted unless * it is modified and DeletionProtection is disabled. * DeletionProtection protects clusters from being accidentally * deleted.

*/ inline CreateDBClusterRequest& WithDeletionProtection(bool value) { SetDeletionProtection(value); return *this;} /** *

The cluster identifier of the new global cluster.

*/ inline const Aws::String& GetGlobalClusterIdentifier() const{ return m_globalClusterIdentifier; } /** *

The cluster identifier of the new global cluster.

*/ inline bool GlobalClusterIdentifierHasBeenSet() const { return m_globalClusterIdentifierHasBeenSet; } /** *

The cluster identifier of the new global cluster.

*/ inline void SetGlobalClusterIdentifier(const Aws::String& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = value; } /** *

The cluster identifier of the new global cluster.

*/ inline void SetGlobalClusterIdentifier(Aws::String&& value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier = std::move(value); } /** *

The cluster identifier of the new global cluster.

*/ inline void SetGlobalClusterIdentifier(const char* value) { m_globalClusterIdentifierHasBeenSet = true; m_globalClusterIdentifier.assign(value); } /** *

The cluster identifier of the new global cluster.

*/ inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const Aws::String& value) { SetGlobalClusterIdentifier(value); return *this;} /** *

The cluster identifier of the new global cluster.

*/ inline CreateDBClusterRequest& WithGlobalClusterIdentifier(Aws::String&& value) { SetGlobalClusterIdentifier(std::move(value)); return *this;} /** *

The cluster identifier of the new global cluster.

*/ inline CreateDBClusterRequest& WithGlobalClusterIdentifier(const char* value) { SetGlobalClusterIdentifier(value); return *this;} /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline const Aws::String& GetSourceRegion() const{ return m_sourceRegion; } /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline bool SourceRegionHasBeenSet() const { return m_sourceRegionHasBeenSet; } /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline void SetSourceRegion(const Aws::String& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = value; } /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline void SetSourceRegion(Aws::String&& value) { m_sourceRegionHasBeenSet = true; m_sourceRegion = std::move(value); } /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline void SetSourceRegion(const char* value) { m_sourceRegionHasBeenSet = true; m_sourceRegion.assign(value); } /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline CreateDBClusterRequest& WithSourceRegion(const Aws::String& value) { SetSourceRegion(value); return *this;} /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline CreateDBClusterRequest& WithSourceRegion(Aws::String&& value) { SetSourceRegion(std::move(value)); return *this;} /** * If SourceRegion is specified, SDKs will generate pre-signed URLs and populate the pre-signed URL field. */ inline CreateDBClusterRequest& WithSourceRegion(const char* value) { SetSourceRegion(value); return *this;} private: Aws::Vector m_availabilityZones; bool m_availabilityZonesHasBeenSet = false; int m_backupRetentionPeriod; bool m_backupRetentionPeriodHasBeenSet = false; Aws::String m_dBClusterIdentifier; bool m_dBClusterIdentifierHasBeenSet = false; Aws::String m_dBClusterParameterGroupName; bool m_dBClusterParameterGroupNameHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; Aws::String m_dBSubnetGroupName; bool m_dBSubnetGroupNameHasBeenSet = false; Aws::String m_engine; bool m_engineHasBeenSet = false; Aws::String m_engineVersion; bool m_engineVersionHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::String m_preferredBackupWindow; bool m_preferredBackupWindowHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; bool m_storageEncrypted; bool m_storageEncryptedHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_preSignedUrl; bool m_preSignedUrlHasBeenSet = false; Aws::Vector m_enableCloudwatchLogsExports; bool m_enableCloudwatchLogsExportsHasBeenSet = false; bool m_deletionProtection; bool m_deletionProtectionHasBeenSet = false; Aws::String m_globalClusterIdentifier; bool m_globalClusterIdentifierHasBeenSet = false; Aws::String m_sourceRegion; bool m_sourceRegionHasBeenSet = false; }; } // namespace Model } // namespace DocDB } // namespace Aws