/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a subnet group.See Also:
AWS
* API Reference
The name of the cluster subnet group.
*/ inline const Aws::String& GetClusterSubnetGroupName() const{ return m_clusterSubnetGroupName; } /** *The name of the cluster subnet group.
*/ inline bool ClusterSubnetGroupNameHasBeenSet() const { return m_clusterSubnetGroupNameHasBeenSet; } /** *The name of the cluster subnet group.
*/ inline void SetClusterSubnetGroupName(const Aws::String& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = value; } /** *The name of the cluster subnet group.
*/ inline void SetClusterSubnetGroupName(Aws::String&& value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName = std::move(value); } /** *The name of the cluster subnet group.
*/ inline void SetClusterSubnetGroupName(const char* value) { m_clusterSubnetGroupNameHasBeenSet = true; m_clusterSubnetGroupName.assign(value); } /** *The name of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithClusterSubnetGroupName(const Aws::String& value) { SetClusterSubnetGroupName(value); return *this;} /** *The name of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithClusterSubnetGroupName(Aws::String&& value) { SetClusterSubnetGroupName(std::move(value)); return *this;} /** *The name of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithClusterSubnetGroupName(const char* value) { SetClusterSubnetGroupName(value); return *this;} /** *The description of the cluster subnet group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the cluster subnet group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the cluster subnet group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the cluster subnet group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the cluster subnet group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The VPC ID of the cluster subnet group.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC ID of the cluster subnet group.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC ID of the cluster subnet group.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC ID of the cluster subnet group.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC ID of the cluster subnet group.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC ID of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC ID of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC ID of the cluster subnet group.
*/ inline ClusterSubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
The status of the cluster subnet group. Possible values are
* Complete
, Incomplete
and Invalid
.
A list of the VPC Subnet elements.
*/ inline const Aws::VectorA list of the VPC Subnet elements.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of the VPC Subnet elements.
*/ inline void SetSubnets(const Aws::VectorA list of the VPC Subnet elements.
*/ inline void SetSubnets(Aws::VectorA list of the VPC Subnet elements.
*/ inline ClusterSubnetGroup& WithSubnets(const Aws::VectorA list of the VPC Subnet elements.
*/ inline ClusterSubnetGroup& WithSubnets(Aws::VectorA list of the VPC Subnet elements.
*/ inline ClusterSubnetGroup& AddSubnets(const Subnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of the VPC Subnet elements.
*/ inline ClusterSubnetGroup& AddSubnets(Subnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The list of tags for the cluster subnet group.
*/ inline const Aws::VectorThe list of tags for the cluster subnet group.
*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *The list of tags for the cluster subnet group.
*/ inline void SetTags(const Aws::VectorThe list of tags for the cluster subnet group.
*/ inline void SetTags(Aws::VectorThe list of tags for the cluster subnet group.
*/ inline ClusterSubnetGroup& WithTags(const Aws::VectorThe list of tags for the cluster subnet group.
*/ inline ClusterSubnetGroup& WithTags(Aws::VectorThe list of tags for the cluster subnet group.
*/ inline ClusterSubnetGroup& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *The list of tags for the cluster subnet group.
*/ inline ClusterSubnetGroup& 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::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_subnetGroupStatus; bool m_subnetGroupStatusHasBeenSet = false; Aws::Vector