/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Represents the output of one of the following actions:
* CreateSubnetGroup ModifySubnetGroup
See Also:
AWS API
* Reference
The name of the subnet group.
*/ inline const Aws::String& GetSubnetGroupName() const{ return m_subnetGroupName; } /** *The name of the subnet group.
*/ inline bool SubnetGroupNameHasBeenSet() const { return m_subnetGroupNameHasBeenSet; } /** *The name of the subnet group.
*/ inline void SetSubnetGroupName(const Aws::String& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = value; } /** *The name of the subnet group.
*/ inline void SetSubnetGroupName(Aws::String&& value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName = std::move(value); } /** *The name of the subnet group.
*/ inline void SetSubnetGroupName(const char* value) { m_subnetGroupNameHasBeenSet = true; m_subnetGroupName.assign(value); } /** *The name of the subnet group.
*/ inline SubnetGroup& WithSubnetGroupName(const Aws::String& value) { SetSubnetGroupName(value); return *this;} /** *The name of the subnet group.
*/ inline SubnetGroup& WithSubnetGroupName(Aws::String&& value) { SetSubnetGroupName(std::move(value)); return *this;} /** *The name of the subnet group.
*/ inline SubnetGroup& WithSubnetGroupName(const char* value) { SetSubnetGroupName(value); return *this;} /** *The description of the subnet group.
*/ inline const Aws::String& GetDescription() const{ return m_description; } /** *The description of the subnet group.
*/ inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; } /** *The description of the subnet group.
*/ inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; } /** *The description of the subnet group.
*/ inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); } /** *The description of the subnet group.
*/ inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); } /** *The description of the subnet group.
*/ inline SubnetGroup& WithDescription(const Aws::String& value) { SetDescription(value); return *this;} /** *The description of the subnet group.
*/ inline SubnetGroup& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;} /** *The description of the subnet group.
*/ inline SubnetGroup& WithDescription(const char* value) { SetDescription(value); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline SubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline SubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The Amazon Virtual Private Cloud identifier (VPC ID) of the subnet group.
*/ inline SubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *A list of subnets associated with the subnet group.
*/ inline const Aws::VectorA list of subnets associated with the subnet group.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of subnets associated with the subnet group.
*/ inline void SetSubnets(const Aws::VectorA list of subnets associated with the subnet group.
*/ inline void SetSubnets(Aws::VectorA list of subnets associated with the subnet group.
*/ inline SubnetGroup& WithSubnets(const Aws::VectorA list of subnets associated with the subnet group.
*/ inline SubnetGroup& WithSubnets(Aws::VectorA list of subnets associated with the subnet group.
*/ inline SubnetGroup& AddSubnets(const Subnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of subnets associated with the subnet group.
*/ inline SubnetGroup& AddSubnets(Subnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } private: Aws::String m_subnetGroupName; bool m_subnetGroupNameHasBeenSet = false; Aws::String m_description; bool m_descriptionHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::Vector