/** * 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 #include namespace Aws { namespace DocDBElastic { namespace Model { /** */ class CreateClusterRequest : public DocDBElasticRequest { public: AWS_DOCDBELASTIC_API CreateClusterRequest(); // 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 "CreateCluster"; } AWS_DOCDBELASTIC_API Aws::String SerializePayload() const override; /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline const Aws::String& GetAdminUserName() const{ return m_adminUserName; } /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline bool AdminUserNameHasBeenSet() const { return m_adminUserNameHasBeenSet; } /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline void SetAdminUserName(const Aws::String& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = value; } /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline void SetAdminUserName(Aws::String&& value) { m_adminUserNameHasBeenSet = true; m_adminUserName = std::move(value); } /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline void SetAdminUserName(const char* value) { m_adminUserNameHasBeenSet = true; m_adminUserName.assign(value); } /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline CreateClusterRequest& WithAdminUserName(const Aws::String& value) { SetAdminUserName(value); return *this;} /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline CreateClusterRequest& WithAdminUserName(Aws::String&& value) { SetAdminUserName(std::move(value)); return *this;} /** *

The name of the Elastic DocumentDB cluster administrator.

* Constraints:

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

  • The first character must be a letter.

  • *

    Cannot be a reserved word.

*/ inline CreateClusterRequest& WithAdminUserName(const char* value) { SetAdminUserName(value); return *this;} /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline const Aws::String& GetAdminUserPassword() const{ return m_adminUserPassword; } /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline bool AdminUserPasswordHasBeenSet() const { return m_adminUserPasswordHasBeenSet; } /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline void SetAdminUserPassword(const Aws::String& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = value; } /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline void SetAdminUserPassword(Aws::String&& value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword = std::move(value); } /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline void SetAdminUserPassword(const char* value) { m_adminUserPasswordHasBeenSet = true; m_adminUserPassword.assign(value); } /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(const Aws::String& value) { SetAdminUserPassword(value); return *this;} /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(Aws::String&& value) { SetAdminUserPassword(std::move(value)); return *this;} /** *

The password for the Elastic DocumentDB cluster administrator and can contain * any printable ASCII characters.

Constraints:

  • *

    Must contain from 8 to 100 characters.

  • Cannot contain a * forward slash (/), double quote ("), or the "at" symbol (@).

*/ inline CreateClusterRequest& WithAdminUserPassword(const char* value) { SetAdminUserPassword(value); return *this;} /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline const Auth& GetAuthType() const{ return m_authType; } /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline bool AuthTypeHasBeenSet() const { return m_authTypeHasBeenSet; } /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline void SetAuthType(const Auth& value) { m_authTypeHasBeenSet = true; m_authType = value; } /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline void SetAuthType(Auth&& value) { m_authTypeHasBeenSet = true; m_authType = std::move(value); } /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithAuthType(const Auth& value) { SetAuthType(value); return *this;} /** *

The authentication type for the Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithAuthType(Auth&& value) { SetAuthType(std::move(value)); return *this;} /** *

The client token for the Elastic DocumentDB cluster.

*/ inline const Aws::String& GetClientToken() const{ return m_clientToken; } /** *

The client token for the Elastic DocumentDB cluster.

*/ inline bool ClientTokenHasBeenSet() const { return m_clientTokenHasBeenSet; } /** *

The client token for the Elastic DocumentDB cluster.

*/ inline void SetClientToken(const Aws::String& value) { m_clientTokenHasBeenSet = true; m_clientToken = value; } /** *

The client token for the Elastic DocumentDB cluster.

*/ inline void SetClientToken(Aws::String&& value) { m_clientTokenHasBeenSet = true; m_clientToken = std::move(value); } /** *

The client token for the Elastic DocumentDB cluster.

*/ inline void SetClientToken(const char* value) { m_clientTokenHasBeenSet = true; m_clientToken.assign(value); } /** *

The client token for the Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithClientToken(const Aws::String& value) { SetClientToken(value); return *this;} /** *

The client token for the Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithClientToken(Aws::String&& value) { SetClientToken(std::move(value)); return *this;} /** *

The client token for the Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithClientToken(const char* value) { SetClientToken(value); return *this;} /** *

The name of the new Elastic DocumentDB cluster. 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& GetClusterName() const{ return m_clusterName; } /** *

The name of the new Elastic DocumentDB cluster. 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 ClusterNameHasBeenSet() const { return m_clusterNameHasBeenSet; } /** *

The name of the new Elastic DocumentDB cluster. 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 SetClusterName(const Aws::String& value) { m_clusterNameHasBeenSet = true; m_clusterName = value; } /** *

The name of the new Elastic DocumentDB cluster. 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 SetClusterName(Aws::String&& value) { m_clusterNameHasBeenSet = true; m_clusterName = std::move(value); } /** *

The name of the new Elastic DocumentDB cluster. 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 SetClusterName(const char* value) { m_clusterNameHasBeenSet = true; m_clusterName.assign(value); } /** *

The name of the new Elastic DocumentDB cluster. 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 CreateClusterRequest& WithClusterName(const Aws::String& value) { SetClusterName(value); return *this;} /** *

The name of the new Elastic DocumentDB cluster. 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 CreateClusterRequest& WithClusterName(Aws::String&& value) { SetClusterName(std::move(value)); return *this;} /** *

The name of the new Elastic DocumentDB cluster. 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 CreateClusterRequest& WithClusterName(const char* value) { SetClusterName(value); return *this;} /** *

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

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

The KMS key identifier to use to encrypt the new Elastic DocumentDB * 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 account * that owns this KMS encryption key, you can use the KMS key alias instead of the * ARN as the KMS encryption key.

If an encryption key is not specified, * Elastic DocumentDB uses the default encryption key that KMS creates for your * account. Your account has a different default encryption key for each Amazon * Region.

*/ inline CreateClusterRequest& WithKmsKeyId(const char* value) { SetKmsKeyId(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

Default: 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

Default: 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

Default: 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

Default: 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

Default: 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

Default: 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 CreateClusterRequest& 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

Default: 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 CreateClusterRequest& 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

Default: 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 CreateClusterRequest& WithPreferredMaintenanceWindow(const char* value) { SetPreferredMaintenanceWindow(value); return *this;} /** *

The capacity of each shard in the new Elastic DocumentDB cluster.

*/ inline int GetShardCapacity() const{ return m_shardCapacity; } /** *

The capacity of each shard in the new Elastic DocumentDB cluster.

*/ inline bool ShardCapacityHasBeenSet() const { return m_shardCapacityHasBeenSet; } /** *

The capacity of each shard in the new Elastic DocumentDB cluster.

*/ inline void SetShardCapacity(int value) { m_shardCapacityHasBeenSet = true; m_shardCapacity = value; } /** *

The capacity of each shard in the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithShardCapacity(int value) { SetShardCapacity(value); return *this;} /** *

The number of shards to create in the new Elastic DocumentDB cluster.

*/ inline int GetShardCount() const{ return m_shardCount; } /** *

The number of shards to create in the new Elastic DocumentDB cluster.

*/ inline bool ShardCountHasBeenSet() const { return m_shardCountHasBeenSet; } /** *

The number of shards to create in the new Elastic DocumentDB cluster.

*/ inline void SetShardCount(int value) { m_shardCountHasBeenSet = true; m_shardCount = value; } /** *

The number of shards to create in the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithShardCount(int value) { SetShardCount(value); return *this;} /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline const Aws::Vector& GetSubnetIds() const{ return m_subnetIds; } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline void SetSubnetIds(const Aws::Vector& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = value; } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline void SetSubnetIds(Aws::Vector&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds = std::move(value); } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithSubnetIds(const Aws::Vector& value) { SetSubnetIds(value); return *this;} /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& WithSubnetIds(Aws::Vector&& value) { SetSubnetIds(std::move(value)); return *this;} /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *

The Amazon EC2 subnet IDs for the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

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

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(const Aws::String& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const Aws::String& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(const Aws::String& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), std::move(value)); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(const char* key, Aws::String&& value) { m_tagsHasBeenSet = true; m_tags.emplace(key, std::move(value)); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(Aws::String&& key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(std::move(key), value); return *this; } /** *

The tags to be assigned to the new Elastic DocumentDB cluster.

*/ inline CreateClusterRequest& AddTags(const char* key, const char* value) { m_tagsHasBeenSet = true; m_tags.emplace(key, value); return *this; } /** *

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB cluster.

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

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB cluster.

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

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB cluster.

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

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB 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 the new Elastic * DocumentDB cluster.

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

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB cluster.

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

A list of EC2 VPC security groups to associate with the new Elastic * DocumentDB cluster.

*/ inline CreateClusterRequest& 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 the new Elastic * DocumentDB cluster.

*/ inline CreateClusterRequest& 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 the new Elastic * DocumentDB cluster.

*/ inline CreateClusterRequest& AddVpcSecurityGroupIds(const char* value) { m_vpcSecurityGroupIdsHasBeenSet = true; m_vpcSecurityGroupIds.push_back(value); return *this; } private: Aws::String m_adminUserName; bool m_adminUserNameHasBeenSet = false; Aws::String m_adminUserPassword; bool m_adminUserPasswordHasBeenSet = false; Auth m_authType; bool m_authTypeHasBeenSet = false; Aws::String m_clientToken; bool m_clientTokenHasBeenSet = false; Aws::String m_clusterName; bool m_clusterNameHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; int m_shardCapacity; bool m_shardCapacityHasBeenSet = false; int m_shardCount; bool m_shardCountHasBeenSet = false; Aws::Vector m_subnetIds; bool m_subnetIdsHasBeenSet = false; Aws::Map m_tags; bool m_tagsHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; }; } // namespace Model } // namespace DocDBElastic } // namespace Aws