/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include See Also:
AWS
* API Reference
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
The name for the subnet group. Amazon Redshift stores the value as a * lowercase string.
Constraints:
Must contain no more than * 255 alphanumeric characters or hyphens.
Must not be * "Default".
Must be unique for all subnet groups that are * created by your Amazon Web Services account.
Example:
* examplesubnetgroup
A description for the subnet group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *A description for the subnet group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *A description for the subnet group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *A description for the subnet group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *A description for the subnet group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *A description for the subnet group.
*/ inline CreateClusterSubnetGroupRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *A description for the subnet group.
*/ inline CreateClusterSubnetGroupRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *A description for the subnet group.
*/ inline CreateClusterSubnetGroupRequest& WithDescription(const char* value) { SetDescription(value); return *this;} /** *An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline const Aws::VectorAn array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline bool SubnetIdsHasBeenSet() const { return m_subnetIdsHasBeenSet; } /** *An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline void SetSubnetIds(const Aws::VectorAn array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline void SetSubnetIds(Aws::VectorAn array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline CreateClusterSubnetGroupRequest& WithSubnetIds(const Aws::VectorAn array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline CreateClusterSubnetGroupRequest& WithSubnetIds(Aws::VectorAn array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline CreateClusterSubnetGroupRequest& AddSubnetIds(const Aws::String& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline CreateClusterSubnetGroupRequest& AddSubnetIds(Aws::String&& value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(std::move(value)); return *this; } /** *An array of VPC subnet IDs. A maximum of 20 subnets can be modified in a * single request.
*/ inline CreateClusterSubnetGroupRequest& AddSubnetIds(const char* value) { m_subnetIdsHasBeenSet = true; m_subnetIds.push_back(value); return *this; } /** *A list of tag instances.
*/ inline const Aws::VectorA list of tag instances.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *A list of tag instances.
*/ inline void SetTags(const Aws::VectorA list of tag instances.
*/ inline void SetTags(Aws::VectorA list of tag instances.
*/ inline CreateClusterSubnetGroupRequest& WithTags(const Aws::VectorA list of tag instances.
*/ inline CreateClusterSubnetGroupRequest& WithTags(Aws::VectorA list of tag instances.
*/ inline CreateClusterSubnetGroupRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *A list of tag instances.
*/ inline CreateClusterSubnetGroupRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } private: Aws::String m_clusterSubnetGroupName; bool m_clusterSubnetGroupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::Vector