/** * 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 Redshift { namespace Model { /** *

See Also:

AWS * API Reference

*/ class CreateClusterRequest : public RedshiftRequest { public: AWS_REDSHIFT_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_REDSHIFT_API Aws::String SerializePayload() const override; protected: AWS_REDSHIFT_API void DumpBodyToUrl(Aws::Http::URI& uri ) const override; public: /** *

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The name of the first database to be created when the cluster is created.

*

To create additional databases after the cluster is created, connect to the * cluster with a SQL client and use SQL commands to create a database. For more * information, go to Create * a Database in the Amazon Redshift Database Developer Guide.

Default: * dev

Constraints:

  • Must contain 1 to 64 * alphanumeric characters.

  • Must contain only lowercase * letters.

  • Cannot be a word that is reserved by the service. A * list of reserved words can be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline const Aws::String& GetClusterIdentifier() const{ return m_clusterIdentifier; } /** *

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline bool ClusterIdentifierHasBeenSet() const { return m_clusterIdentifierHasBeenSet; } /** *

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline void SetClusterIdentifier(const Aws::String& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = value; } /** *

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline void SetClusterIdentifier(Aws::String&& value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier = std::move(value); } /** *

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline void SetClusterIdentifier(const char* value) { m_clusterIdentifierHasBeenSet = true; m_clusterIdentifier.assign(value); } /** *

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

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

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

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

A unique identifier for the cluster. You use this identifier to refer to the * cluster for any subsequent cluster operations such as deleting or modifying. The * identifier also appears in the Amazon Redshift console.

Constraints:

*
  • Must contain from 1 to 63 alphanumeric characters or hyphens.

    *
  • Alphabetic characters must be lowercase.

  • First * character must be a letter.

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

  • Must be unique for all * clusters within an Amazon Web Services account.

Example: * myexamplecluster

*/ inline CreateClusterRequest& WithClusterIdentifier(const char* value) { SetClusterIdentifier(value); return *this;} /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline const Aws::String& GetClusterType() const{ return m_clusterType; } /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline bool ClusterTypeHasBeenSet() const { return m_clusterTypeHasBeenSet; } /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline void SetClusterType(const Aws::String& value) { m_clusterTypeHasBeenSet = true; m_clusterType = value; } /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline void SetClusterType(Aws::String&& value) { m_clusterTypeHasBeenSet = true; m_clusterType = std::move(value); } /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline void SetClusterType(const char* value) { m_clusterTypeHasBeenSet = true; m_clusterType.assign(value); } /** *

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

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

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

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

The type of the cluster. When cluster type is specified as

  • * single-node, the NumberOfNodes parameter is not * required.

  • multi-node, the NumberOfNodes * parameter is required.

Valid Values: multi-node * | single-node

Default: multi-node

*/ inline CreateClusterRequest& WithClusterType(const char* value) { SetClusterType(value); return *this;} /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline const Aws::String& GetNodeType() const{ return m_nodeType; } /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline bool NodeTypeHasBeenSet() const { return m_nodeTypeHasBeenSet; } /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline void SetNodeType(const Aws::String& value) { m_nodeTypeHasBeenSet = true; m_nodeType = value; } /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline void SetNodeType(Aws::String&& value) { m_nodeTypeHasBeenSet = true; m_nodeType = std::move(value); } /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline void SetNodeType(const char* value) { m_nodeTypeHasBeenSet = true; m_nodeType.assign(value); } /** *

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

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

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

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

The node type to be provisioned for the cluster. For information about node * types, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

Valid Values: ds2.xlarge | * ds2.8xlarge | dc1.large | dc1.8xlarge | * dc2.large | dc2.8xlarge | ra3.xlplus | * ra3.4xlarge | ra3.16xlarge

*/ inline CreateClusterRequest& WithNodeType(const char* value) { SetNodeType(value); return *this;} /** *

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The user name associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be 1 - 128 alphanumeric * characters or hyphens. The user name can't be PUBLIC.

  • *
  • Must contain only lowercase letters, numbers, underscore, plus sign, * period (dot), at symbol (@), or hyphen.

  • The first character * must be a letter.

  • Must not contain a colon (:) or a slash * (/).

  • Cannot be a reserved word. A list of reserved words can * be found in Reserved * Words in the Amazon Redshift Database Developer Guide.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

The password associated with the admin user account for the cluster that is * being created.

Constraints:

  • Must be between 8 and 64 * characters in length.

  • Must contain at least one uppercase * letter.

  • Must contain at least one lowercase letter.

  • *
  • Must contain one number.

  • Can be any printable ASCII * character (ASCII code 33-126) except ' (single quote), * " (double quote), \, /, or * @.

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

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline const Aws::Vector& GetClusterSecurityGroups() const{ return m_clusterSecurityGroups; } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline bool ClusterSecurityGroupsHasBeenSet() const { return m_clusterSecurityGroupsHasBeenSet; } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline void SetClusterSecurityGroups(const Aws::Vector& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = value; } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline void SetClusterSecurityGroups(Aws::Vector&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups = std::move(value); } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

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

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

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

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline CreateClusterRequest& AddClusterSecurityGroups(const Aws::String& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline CreateClusterRequest& AddClusterSecurityGroups(Aws::String&& value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(std::move(value)); return *this; } /** *

A list of security groups to be associated with this cluster.

Default: * The default cluster security group for Amazon Redshift.

*/ inline CreateClusterRequest& AddClusterSecurityGroups(const char* value) { m_clusterSecurityGroupsHasBeenSet = true; m_clusterSecurityGroups.push_back(value); return *this; } /** *

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

A list of Virtual Private Cloud (VPC) security groups to be associated with * the cluster.

Default: The default VPC security group is associated with * the cluster.

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

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; } /** *

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; } /** *

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; } /** *

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); } /** *

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); } /** *

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

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

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

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

The name of a cluster subnet group to be associated with this cluster.

*

If this parameter is not provided the resulting cluster will be deployed * outside virtual private cloud (VPC).

*/ inline CreateClusterRequest& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;} /** *

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The EC2 Availability Zone (AZ) in which you want Amazon Redshift to provision * the cluster. For example, if you have several EC2 instances running in a * specific Availability Zone, then you might want the cluster to be provisioned in * the same zone in order to decrease network latency.

Default: A random, * system-chosen Availability Zone in the region that is specified by the * endpoint.

Example: us-east-2d

Constraint: The * specified Availability Zone must be in the same region as the current * endpoint.

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

The weekly time range (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 (in UTC) during which automated cluster maintenance can * occur.

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

Default: A * 30-minute window selected at random from an 8-hour block of time per region, * occurring on a random day of the week. For more information about the time * blocks for each region, see Maintenance * Windows in Amazon Redshift Cluster Management Guide.

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 name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline const Aws::String& GetClusterParameterGroupName() const{ return m_clusterParameterGroupName; } /** *

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline bool ClusterParameterGroupNameHasBeenSet() const { return m_clusterParameterGroupNameHasBeenSet; } /** *

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline void SetClusterParameterGroupName(const Aws::String& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = value; } /** *

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline void SetClusterParameterGroupName(Aws::String&& value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName = std::move(value); } /** *

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline void SetClusterParameterGroupName(const char* value) { m_clusterParameterGroupNameHasBeenSet = true; m_clusterParameterGroupName.assign(value); } /** *

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

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

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

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

The name of the parameter group to be associated with this cluster.

*

Default: The default Amazon Redshift cluster parameter group. For information * about the default parameter group, go to Working * with Amazon Redshift Parameter Groups

Constraints:

  • *

    Must be 1 to 255 alphanumeric characters or hyphens.

  • First * character must be a letter.

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

*/ inline CreateClusterRequest& WithClusterParameterGroupName(const char* value) { SetClusterParameterGroupName(value); return *this;} /** *

The number of days that automated snapshots are retained. If the value is 0, * automated snapshots are disabled. Even if automated snapshots are disabled, you * can still create manual snapshots when you want with * CreateClusterSnapshot.

You can't disable automated snapshots for * RA3 node types. Set the automated retention period from 1-35 days.

*

Default: 1

Constraints: Must be a value from 0 to * 35.

*/ inline int GetAutomatedSnapshotRetentionPeriod() const{ return m_automatedSnapshotRetentionPeriod; } /** *

The number of days that automated snapshots are retained. If the value is 0, * automated snapshots are disabled. Even if automated snapshots are disabled, you * can still create manual snapshots when you want with * CreateClusterSnapshot.

You can't disable automated snapshots for * RA3 node types. Set the automated retention period from 1-35 days.

*

Default: 1

Constraints: Must be a value from 0 to * 35.

*/ inline bool AutomatedSnapshotRetentionPeriodHasBeenSet() const { return m_automatedSnapshotRetentionPeriodHasBeenSet; } /** *

The number of days that automated snapshots are retained. If the value is 0, * automated snapshots are disabled. Even if automated snapshots are disabled, you * can still create manual snapshots when you want with * CreateClusterSnapshot.

You can't disable automated snapshots for * RA3 node types. Set the automated retention period from 1-35 days.

*

Default: 1

Constraints: Must be a value from 0 to * 35.

*/ inline void SetAutomatedSnapshotRetentionPeriod(int value) { m_automatedSnapshotRetentionPeriodHasBeenSet = true; m_automatedSnapshotRetentionPeriod = value; } /** *

The number of days that automated snapshots are retained. If the value is 0, * automated snapshots are disabled. Even if automated snapshots are disabled, you * can still create manual snapshots when you want with * CreateClusterSnapshot.

You can't disable automated snapshots for * RA3 node types. Set the automated retention period from 1-35 days.

*

Default: 1

Constraints: Must be a value from 0 to * 35.

*/ inline CreateClusterRequest& WithAutomatedSnapshotRetentionPeriod(int value) { SetAutomatedSnapshotRetentionPeriod(value); return *this;} /** *

The default number of days to retain a manual snapshot. If the value is -1, * the snapshot is retained indefinitely. This setting doesn't change the retention * period of existing snapshots.

The value must be either -1 or an integer * between 1 and 3,653.

*/ inline int GetManualSnapshotRetentionPeriod() const{ return m_manualSnapshotRetentionPeriod; } /** *

The default number of days to retain a manual snapshot. If the value is -1, * the snapshot is retained indefinitely. This setting doesn't change the retention * period of existing snapshots.

The value must be either -1 or an integer * between 1 and 3,653.

*/ inline bool ManualSnapshotRetentionPeriodHasBeenSet() const { return m_manualSnapshotRetentionPeriodHasBeenSet; } /** *

The default number of days to retain a manual snapshot. If the value is -1, * the snapshot is retained indefinitely. This setting doesn't change the retention * period of existing snapshots.

The value must be either -1 or an integer * between 1 and 3,653.

*/ inline void SetManualSnapshotRetentionPeriod(int value) { m_manualSnapshotRetentionPeriodHasBeenSet = true; m_manualSnapshotRetentionPeriod = value; } /** *

The default number of days to retain a manual snapshot. If the value is -1, * the snapshot is retained indefinitely. This setting doesn't change the retention * period of existing snapshots.

The value must be either -1 or an integer * between 1 and 3,653.

*/ inline CreateClusterRequest& WithManualSnapshotRetentionPeriod(int value) { SetManualSnapshotRetentionPeriod(value); return *this;} /** *

The port number on which the cluster accepts incoming connections.

The * cluster is accessible only via the JDBC and ODBC connection strings. Part of the * connection string requires the port on which the cluster will listen for * incoming connections.

Default: 5439

Valid Values: * 1150-65535

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

The port number on which the cluster accepts incoming connections.

The * cluster is accessible only via the JDBC and ODBC connection strings. Part of the * connection string requires the port on which the cluster will listen for * incoming connections.

Default: 5439

Valid Values: * 1150-65535

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

The port number on which the cluster accepts incoming connections.

The * cluster is accessible only via the JDBC and ODBC connection strings. Part of the * connection string requires the port on which the cluster will listen for * incoming connections.

Default: 5439

Valid Values: * 1150-65535

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

The port number on which the cluster accepts incoming connections.

The * cluster is accessible only via the JDBC and ODBC connection strings. Part of the * connection string requires the port on which the cluster will listen for * incoming connections.

Default: 5439

Valid Values: * 1150-65535

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

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline const Aws::String& GetClusterVersion() const{ return m_clusterVersion; } /** *

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline bool ClusterVersionHasBeenSet() const { return m_clusterVersionHasBeenSet; } /** *

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline void SetClusterVersion(const Aws::String& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = value; } /** *

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline void SetClusterVersion(Aws::String&& value) { m_clusterVersionHasBeenSet = true; m_clusterVersion = std::move(value); } /** *

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline void SetClusterVersion(const char* value) { m_clusterVersionHasBeenSet = true; m_clusterVersion.assign(value); } /** *

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

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

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

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

The version of the Amazon Redshift engine software that you want to deploy on * the cluster.

The version selected runs on all the nodes in the * cluster.

Constraints: Only version 1.0 is currently available.

*

Example: 1.0

*/ inline CreateClusterRequest& WithClusterVersion(const char* value) { SetClusterVersion(value); return *this;} /** *

If true, major version upgrades can be applied during the * maintenance window to the Amazon Redshift engine that is running on the * cluster.

When a new major version of the Amazon Redshift engine is * released, you can request that the service automatically apply upgrades during * the maintenance window to the Amazon Redshift engine that is running on your * cluster.

Default: true

*/ inline bool GetAllowVersionUpgrade() const{ return m_allowVersionUpgrade; } /** *

If true, major version upgrades can be applied during the * maintenance window to the Amazon Redshift engine that is running on the * cluster.

When a new major version of the Amazon Redshift engine is * released, you can request that the service automatically apply upgrades during * the maintenance window to the Amazon Redshift engine that is running on your * cluster.

Default: true

*/ inline bool AllowVersionUpgradeHasBeenSet() const { return m_allowVersionUpgradeHasBeenSet; } /** *

If true, major version upgrades can be applied during the * maintenance window to the Amazon Redshift engine that is running on the * cluster.

When a new major version of the Amazon Redshift engine is * released, you can request that the service automatically apply upgrades during * the maintenance window to the Amazon Redshift engine that is running on your * cluster.

Default: true

*/ inline void SetAllowVersionUpgrade(bool value) { m_allowVersionUpgradeHasBeenSet = true; m_allowVersionUpgrade = value; } /** *

If true, major version upgrades can be applied during the * maintenance window to the Amazon Redshift engine that is running on the * cluster.

When a new major version of the Amazon Redshift engine is * released, you can request that the service automatically apply upgrades during * the maintenance window to the Amazon Redshift engine that is running on your * cluster.

Default: true

*/ inline CreateClusterRequest& WithAllowVersionUpgrade(bool value) { SetAllowVersionUpgrade(value); return *this;} /** *

The number of compute nodes in the cluster. This parameter is required when * the ClusterType parameter is specified as multi-node.

*

For information about determining how many nodes you need, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

If you don't specify this parameter, you get a single-node * cluster. When requesting a multi-node cluster, you must specify the number of * nodes that you want in the cluster.

Default: 1

*

Constraints: Value must be at least 1 and no more than 100.

*/ inline int GetNumberOfNodes() const{ return m_numberOfNodes; } /** *

The number of compute nodes in the cluster. This parameter is required when * the ClusterType parameter is specified as multi-node.

*

For information about determining how many nodes you need, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

If you don't specify this parameter, you get a single-node * cluster. When requesting a multi-node cluster, you must specify the number of * nodes that you want in the cluster.

Default: 1

*

Constraints: Value must be at least 1 and no more than 100.

*/ inline bool NumberOfNodesHasBeenSet() const { return m_numberOfNodesHasBeenSet; } /** *

The number of compute nodes in the cluster. This parameter is required when * the ClusterType parameter is specified as multi-node.

*

For information about determining how many nodes you need, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

If you don't specify this parameter, you get a single-node * cluster. When requesting a multi-node cluster, you must specify the number of * nodes that you want in the cluster.

Default: 1

*

Constraints: Value must be at least 1 and no more than 100.

*/ inline void SetNumberOfNodes(int value) { m_numberOfNodesHasBeenSet = true; m_numberOfNodes = value; } /** *

The number of compute nodes in the cluster. This parameter is required when * the ClusterType parameter is specified as multi-node.

*

For information about determining how many nodes you need, go to * Working with Clusters in the Amazon Redshift Cluster Management * Guide.

If you don't specify this parameter, you get a single-node * cluster. When requesting a multi-node cluster, you must specify the number of * nodes that you want in the cluster.

Default: 1

*

Constraints: Value must be at least 1 and no more than 100.

*/ inline CreateClusterRequest& WithNumberOfNodes(int value) { SetNumberOfNodes(value); return *this;} /** *

If true, the cluster can be accessed from a public network.

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

If true, the cluster can be accessed from a public network.

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

If true, the cluster can be accessed from a public network.

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

If true, the cluster can be accessed from a public network.

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

If true, the data in the cluster is encrypted at rest.

*

Default: false

*/ inline bool GetEncrypted() const{ return m_encrypted; } /** *

If true, the data in the cluster is encrypted at rest.

*

Default: false

*/ inline bool EncryptedHasBeenSet() const { return m_encryptedHasBeenSet; } /** *

If true, the data in the cluster is encrypted at rest.

*

Default: false

*/ inline void SetEncrypted(bool value) { m_encryptedHasBeenSet = true; m_encrypted = value; } /** *

If true, the data in the cluster is encrypted at rest.

*

Default: false

*/ inline CreateClusterRequest& WithEncrypted(bool value) { SetEncrypted(value); return *this;} /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline const Aws::String& GetHsmClientCertificateIdentifier() const{ return m_hsmClientCertificateIdentifier; } /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline bool HsmClientCertificateIdentifierHasBeenSet() const { return m_hsmClientCertificateIdentifierHasBeenSet; } /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline void SetHsmClientCertificateIdentifier(const Aws::String& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = value; } /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline void SetHsmClientCertificateIdentifier(Aws::String&& value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier = std::move(value); } /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline void SetHsmClientCertificateIdentifier(const char* value) { m_hsmClientCertificateIdentifierHasBeenSet = true; m_hsmClientCertificateIdentifier.assign(value); } /** *

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

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

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

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

Specifies the name of the HSM client certificate the Amazon Redshift cluster * uses to retrieve the data encryption keys stored in an HSM.

*/ inline CreateClusterRequest& WithHsmClientCertificateIdentifier(const char* value) { SetHsmClientCertificateIdentifier(value); return *this;} /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline const Aws::String& GetHsmConfigurationIdentifier() const{ return m_hsmConfigurationIdentifier; } /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline bool HsmConfigurationIdentifierHasBeenSet() const { return m_hsmConfigurationIdentifierHasBeenSet; } /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline void SetHsmConfigurationIdentifier(const Aws::String& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = value; } /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline void SetHsmConfigurationIdentifier(Aws::String&& value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier = std::move(value); } /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline void SetHsmConfigurationIdentifier(const char* value) { m_hsmConfigurationIdentifierHasBeenSet = true; m_hsmConfigurationIdentifier.assign(value); } /** *

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

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

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

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

Specifies the name of the HSM configuration that contains the information the * Amazon Redshift cluster can use to retrieve and store keys in an HSM.

*/ inline CreateClusterRequest& WithHsmConfigurationIdentifier(const char* value) { SetHsmConfigurationIdentifier(value); return *this;} /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline const Aws::String& GetElasticIp() const{ return m_elasticIp; } /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline bool ElasticIpHasBeenSet() const { return m_elasticIpHasBeenSet; } /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline void SetElasticIp(const Aws::String& value) { m_elasticIpHasBeenSet = true; m_elasticIp = value; } /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline void SetElasticIp(Aws::String&& value) { m_elasticIpHasBeenSet = true; m_elasticIp = std::move(value); } /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline void SetElasticIp(const char* value) { m_elasticIpHasBeenSet = true; m_elasticIp.assign(value); } /** *

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

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

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

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

The Elastic IP (EIP) address for the cluster.

Constraints: The cluster * must be provisioned in EC2-VPC and publicly-accessible through an Internet * gateway. Don't specify the Elastic IP address for a publicly accessible cluster * with availability zone relocation turned on. For more information about * provisioning clusters in EC2-VPC, go to Supported * Platforms to Launch Your Cluster in the Amazon Redshift Cluster Management * Guide.

*/ inline CreateClusterRequest& WithElasticIp(const char* value) { SetElasticIp(value); return *this;} /** *

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

A list of tag instances.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

The Key Management Service (KMS) key ID of the encryption key that you want * to use to encrypt data in the cluster.

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

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline bool GetEnhancedVpcRouting() const{ return m_enhancedVpcRouting; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline bool EnhancedVpcRoutingHasBeenSet() const { return m_enhancedVpcRoutingHasBeenSet; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline void SetEnhancedVpcRouting(bool value) { m_enhancedVpcRoutingHasBeenSet = true; m_enhancedVpcRouting = value; } /** *

An option that specifies whether to create the cluster with enhanced VPC * routing enabled. To create a cluster that uses enhanced VPC routing, the cluster * must be in a VPC. For more information, see Enhanced * VPC Routing in the Amazon Redshift Cluster Management Guide.

If this * option is true, enhanced VPC routing is enabled.

Default: * false

*/ inline CreateClusterRequest& WithEnhancedVpcRouting(bool value) { SetEnhancedVpcRouting(value); return *this;} /** *

Reserved.

*/ inline const Aws::String& GetAdditionalInfo() const{ return m_additionalInfo; } /** *

Reserved.

*/ inline bool AdditionalInfoHasBeenSet() const { return m_additionalInfoHasBeenSet; } /** *

Reserved.

*/ inline void SetAdditionalInfo(const Aws::String& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = value; } /** *

Reserved.

*/ inline void SetAdditionalInfo(Aws::String&& value) { m_additionalInfoHasBeenSet = true; m_additionalInfo = std::move(value); } /** *

Reserved.

*/ inline void SetAdditionalInfo(const char* value) { m_additionalInfoHasBeenSet = true; m_additionalInfo.assign(value); } /** *

Reserved.

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

Reserved.

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

Reserved.

*/ inline CreateClusterRequest& WithAdditionalInfo(const char* value) { SetAdditionalInfo(value); return *this;} /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline const Aws::Vector& GetIamRoles() const{ return m_iamRoles; } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline bool IamRolesHasBeenSet() const { return m_iamRolesHasBeenSet; } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline void SetIamRoles(const Aws::Vector& value) { m_iamRolesHasBeenSet = true; m_iamRoles = value; } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline void SetIamRoles(Aws::Vector&& value) { m_iamRolesHasBeenSet = true; m_iamRoles = std::move(value); } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

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

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

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

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline CreateClusterRequest& AddIamRoles(const Aws::String& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline CreateClusterRequest& AddIamRoles(Aws::String&& value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(std::move(value)); return *this; } /** *

A list of Identity and Access Management (IAM) roles that can be used by the * cluster to access other Amazon Web Services services. You must supply the IAM * roles in their Amazon Resource Name (ARN) format.

The maximum number of * IAM roles that you can associate is subject to a quota. For more information, go * to Quotas * and limits in the Amazon Redshift Cluster Management Guide.

*/ inline CreateClusterRequest& AddIamRoles(const char* value) { m_iamRolesHasBeenSet = true; m_iamRoles.push_back(value); return *this; } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline const Aws::String& GetMaintenanceTrackName() const{ return m_maintenanceTrackName; } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline bool MaintenanceTrackNameHasBeenSet() const { return m_maintenanceTrackNameHasBeenSet; } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline void SetMaintenanceTrackName(const Aws::String& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = value; } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline void SetMaintenanceTrackName(Aws::String&& value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName = std::move(value); } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline void SetMaintenanceTrackName(const char* value) { m_maintenanceTrackNameHasBeenSet = true; m_maintenanceTrackName.assign(value); } /** *

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

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

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

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

An optional parameter for the name of the maintenance track for the cluster. * If you don't provide a maintenance track name, the cluster is assigned to the * current track.

*/ inline CreateClusterRequest& WithMaintenanceTrackName(const char* value) { SetMaintenanceTrackName(value); return *this;} /** *

A unique identifier for the snapshot schedule.

*/ inline const Aws::String& GetSnapshotScheduleIdentifier() const{ return m_snapshotScheduleIdentifier; } /** *

A unique identifier for the snapshot schedule.

*/ inline bool SnapshotScheduleIdentifierHasBeenSet() const { return m_snapshotScheduleIdentifierHasBeenSet; } /** *

A unique identifier for the snapshot schedule.

*/ inline void SetSnapshotScheduleIdentifier(const Aws::String& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = value; } /** *

A unique identifier for the snapshot schedule.

*/ inline void SetSnapshotScheduleIdentifier(Aws::String&& value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier = std::move(value); } /** *

A unique identifier for the snapshot schedule.

*/ inline void SetSnapshotScheduleIdentifier(const char* value) { m_snapshotScheduleIdentifierHasBeenSet = true; m_snapshotScheduleIdentifier.assign(value); } /** *

A unique identifier for the snapshot schedule.

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

A unique identifier for the snapshot schedule.

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

A unique identifier for the snapshot schedule.

*/ inline CreateClusterRequest& WithSnapshotScheduleIdentifier(const char* value) { SetSnapshotScheduleIdentifier(value); return *this;} /** *

The option to enable relocation for an Amazon Redshift cluster between * Availability Zones after the cluster is created.

*/ inline bool GetAvailabilityZoneRelocation() const{ return m_availabilityZoneRelocation; } /** *

The option to enable relocation for an Amazon Redshift cluster between * Availability Zones after the cluster is created.

*/ inline bool AvailabilityZoneRelocationHasBeenSet() const { return m_availabilityZoneRelocationHasBeenSet; } /** *

The option to enable relocation for an Amazon Redshift cluster between * Availability Zones after the cluster is created.

*/ inline void SetAvailabilityZoneRelocation(bool value) { m_availabilityZoneRelocationHasBeenSet = true; m_availabilityZoneRelocation = value; } /** *

The option to enable relocation for an Amazon Redshift cluster between * Availability Zones after the cluster is created.

*/ inline CreateClusterRequest& WithAvailabilityZoneRelocation(bool value) { SetAvailabilityZoneRelocation(value); return *this;} /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline const AquaConfigurationStatus& GetAquaConfigurationStatus() const{ return m_aquaConfigurationStatus; } /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline bool AquaConfigurationStatusHasBeenSet() const { return m_aquaConfigurationStatusHasBeenSet; } /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline void SetAquaConfigurationStatus(const AquaConfigurationStatus& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = value; } /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline void SetAquaConfigurationStatus(AquaConfigurationStatus&& value) { m_aquaConfigurationStatusHasBeenSet = true; m_aquaConfigurationStatus = std::move(value); } /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline CreateClusterRequest& WithAquaConfigurationStatus(const AquaConfigurationStatus& value) { SetAquaConfigurationStatus(value); return *this;} /** *

This parameter is retired. It does not set the AQUA configuration status. * Amazon Redshift automatically determines whether to use AQUA (Advanced Query * Accelerator).

*/ inline CreateClusterRequest& WithAquaConfigurationStatus(AquaConfigurationStatus&& value) { SetAquaConfigurationStatus(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline const Aws::String& GetDefaultIamRoleArn() const{ return m_defaultIamRoleArn; } /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline bool DefaultIamRoleArnHasBeenSet() const { return m_defaultIamRoleArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline void SetDefaultIamRoleArn(const Aws::String& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = value; } /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline void SetDefaultIamRoleArn(Aws::String&& value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline void SetDefaultIamRoleArn(const char* value) { m_defaultIamRoleArnHasBeenSet = true; m_defaultIamRoleArn.assign(value); } /** *

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

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

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

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

The Amazon Resource Name (ARN) for the IAM role that was set as default for * the cluster when the cluster was created.

*/ inline CreateClusterRequest& WithDefaultIamRoleArn(const char* value) { SetDefaultIamRoleArn(value); return *this;} /** *

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline const Aws::String& GetLoadSampleData() const{ return m_loadSampleData; } /** *

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline bool LoadSampleDataHasBeenSet() const { return m_loadSampleDataHasBeenSet; } /** *

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline void SetLoadSampleData(const Aws::String& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = value; } /** *

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline void SetLoadSampleData(Aws::String&& value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData = std::move(value); } /** *

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline void SetLoadSampleData(const char* value) { m_loadSampleDataHasBeenSet = true; m_loadSampleData.assign(value); } /** *

A flag that specifies whether to load sample data once the cluster is * created.

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

A flag that specifies whether to load sample data once the cluster is * created.

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

A flag that specifies whether to load sample data once the cluster is * created.

*/ inline CreateClusterRequest& WithLoadSampleData(const char* value) { SetLoadSampleData(value); return *this;} private: Aws::String m_dBName; bool m_dBNameHasBeenSet = false; Aws::String m_clusterIdentifier; bool m_clusterIdentifierHasBeenSet = false; Aws::String m_clusterType; bool m_clusterTypeHasBeenSet = false; Aws::String m_nodeType; bool m_nodeTypeHasBeenSet = false; Aws::String m_masterUsername; bool m_masterUsernameHasBeenSet = false; Aws::String m_masterUserPassword; bool m_masterUserPasswordHasBeenSet = false; Aws::Vector m_clusterSecurityGroups; bool m_clusterSecurityGroupsHasBeenSet = false; Aws::Vector m_vpcSecurityGroupIds; bool m_vpcSecurityGroupIdsHasBeenSet = false; Aws::String m_clusterSubnetGroupName; bool m_clusterSubnetGroupNameHasBeenSet = false; Aws::String m_availabilityZone; bool m_availabilityZoneHasBeenSet = false; Aws::String m_preferredMaintenanceWindow; bool m_preferredMaintenanceWindowHasBeenSet = false; Aws::String m_clusterParameterGroupName; bool m_clusterParameterGroupNameHasBeenSet = false; int m_automatedSnapshotRetentionPeriod; bool m_automatedSnapshotRetentionPeriodHasBeenSet = false; int m_manualSnapshotRetentionPeriod; bool m_manualSnapshotRetentionPeriodHasBeenSet = false; int m_port; bool m_portHasBeenSet = false; Aws::String m_clusterVersion; bool m_clusterVersionHasBeenSet = false; bool m_allowVersionUpgrade; bool m_allowVersionUpgradeHasBeenSet = false; int m_numberOfNodes; bool m_numberOfNodesHasBeenSet = false; bool m_publiclyAccessible; bool m_publiclyAccessibleHasBeenSet = false; bool m_encrypted; bool m_encryptedHasBeenSet = false; Aws::String m_hsmClientCertificateIdentifier; bool m_hsmClientCertificateIdentifierHasBeenSet = false; Aws::String m_hsmConfigurationIdentifier; bool m_hsmConfigurationIdentifierHasBeenSet = false; Aws::String m_elasticIp; bool m_elasticIpHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; Aws::String m_kmsKeyId; bool m_kmsKeyIdHasBeenSet = false; bool m_enhancedVpcRouting; bool m_enhancedVpcRoutingHasBeenSet = false; Aws::String m_additionalInfo; bool m_additionalInfoHasBeenSet = false; Aws::Vector m_iamRoles; bool m_iamRolesHasBeenSet = false; Aws::String m_maintenanceTrackName; bool m_maintenanceTrackNameHasBeenSet = false; Aws::String m_snapshotScheduleIdentifier; bool m_snapshotScheduleIdentifierHasBeenSet = false; bool m_availabilityZoneRelocation; bool m_availabilityZoneRelocationHasBeenSet = false; AquaConfigurationStatus m_aquaConfigurationStatus; bool m_aquaConfigurationStatusHasBeenSet = false; Aws::String m_defaultIamRoleArn; bool m_defaultIamRoleArnHasBeenSet = false; Aws::String m_loadSampleData; bool m_loadSampleDataHasBeenSet = false; }; } // namespace Model } // namespace Redshift } // namespace Aws