/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about the subnet group for the database instance.See
* Also:
AWS
* API Reference
The name of the subnet group.
*/ inline const Aws::String& GetDbSubnetGroupName() const{ return m_dbSubnetGroupName; } /** *The name of the subnet group.
*/ inline bool DbSubnetGroupNameHasBeenSet() const { return m_dbSubnetGroupNameHasBeenSet; } /** *The name of the subnet group.
*/ inline void SetDbSubnetGroupName(const Aws::String& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = value; } /** *The name of the subnet group.
*/ inline void SetDbSubnetGroupName(Aws::String&& value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName = std::move(value); } /** *The name of the subnet group.
*/ inline void SetDbSubnetGroupName(const char* value) { m_dbSubnetGroupNameHasBeenSet = true; m_dbSubnetGroupName.assign(value); } /** *The name of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const Aws::String& value) { SetDbSubnetGroupName(value); return *this;} /** *The name of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(Aws::String&& value) { SetDbSubnetGroupName(std::move(value)); return *this;} /** *The name of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupName(const char* value) { SetDbSubnetGroupName(value); return *this;} /** *The description of the subnet group.
*/ inline const Aws::String& GetDbSubnetGroupDescription() const{ return m_dbSubnetGroupDescription; } /** *The description of the subnet group.
*/ inline bool DbSubnetGroupDescriptionHasBeenSet() const { return m_dbSubnetGroupDescriptionHasBeenSet; } /** *The description of the subnet group.
*/ inline void SetDbSubnetGroupDescription(const Aws::String& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = value; } /** *The description of the subnet group.
*/ inline void SetDbSubnetGroupDescription(Aws::String&& value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription = std::move(value); } /** *The description of the subnet group.
*/ inline void SetDbSubnetGroupDescription(const char* value) { m_dbSubnetGroupDescriptionHasBeenSet = true; m_dbSubnetGroupDescription.assign(value); } /** *The description of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(const Aws::String& value) { SetDbSubnetGroupDescription(value); return *this;} /** *The description of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(Aws::String&& value) { SetDbSubnetGroupDescription(std::move(value)); return *this;} /** *The description of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupDescription(const char* value) { SetDbSubnetGroupDescription(value); return *this;} /** *The VPC ID of the subnet group.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The VPC ID of the subnet group.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The VPC ID of the subnet group.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The VPC ID of the subnet group.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The VPC ID of the subnet group.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The VPC ID of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The VPC ID of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The VPC ID of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithVpcId(const char* value) { SetVpcId(value); return *this;} /** *The status of the subnet group.
*/ inline const Aws::String& GetSubnetGroupStatus() const{ return m_subnetGroupStatus; } /** *The status of the subnet group.
*/ inline bool SubnetGroupStatusHasBeenSet() const { return m_subnetGroupStatusHasBeenSet; } /** *The status of the subnet group.
*/ inline void SetSubnetGroupStatus(const Aws::String& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = value; } /** *The status of the subnet group.
*/ inline void SetSubnetGroupStatus(Aws::String&& value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus = std::move(value); } /** *The status of the subnet group.
*/ inline void SetSubnetGroupStatus(const char* value) { m_subnetGroupStatusHasBeenSet = true; m_subnetGroupStatus.assign(value); } /** *The status of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const Aws::String& value) { SetSubnetGroupStatus(value); return *this;} /** *The status of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(Aws::String&& value) { SetSubnetGroupStatus(std::move(value)); return *this;} /** *The status of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithSubnetGroupStatus(const char* value) { SetSubnetGroupStatus(value); return *this;} /** *A list of subnets in the subnet group.
*/ inline const Aws::VectorA list of subnets in the subnet group.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *A list of subnets in the subnet group.
*/ inline void SetSubnets(const Aws::VectorA list of subnets in the subnet group.
*/ inline void SetSubnets(Aws::VectorA list of subnets in the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithSubnets(const Aws::VectorA list of subnets in the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithSubnets(Aws::VectorA list of subnets in the subnet group.
*/ inline AwsRdsDbSubnetGroup& AddSubnets(const AwsRdsDbSubnetGroupSubnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *A list of subnets in the subnet group.
*/ inline AwsRdsDbSubnetGroup& AddSubnets(AwsRdsDbSubnetGroupSubnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The ARN of the subnet group.
*/ inline const Aws::String& GetDbSubnetGroupArn() const{ return m_dbSubnetGroupArn; } /** *The ARN of the subnet group.
*/ inline bool DbSubnetGroupArnHasBeenSet() const { return m_dbSubnetGroupArnHasBeenSet; } /** *The ARN of the subnet group.
*/ inline void SetDbSubnetGroupArn(const Aws::String& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = value; } /** *The ARN of the subnet group.
*/ inline void SetDbSubnetGroupArn(Aws::String&& value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn = std::move(value); } /** *The ARN of the subnet group.
*/ inline void SetDbSubnetGroupArn(const char* value) { m_dbSubnetGroupArnHasBeenSet = true; m_dbSubnetGroupArn.assign(value); } /** *The ARN of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const Aws::String& value) { SetDbSubnetGroupArn(value); return *this;} /** *The ARN of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(Aws::String&& value) { SetDbSubnetGroupArn(std::move(value)); return *this;} /** *The ARN of the subnet group.
*/ inline AwsRdsDbSubnetGroup& WithDbSubnetGroupArn(const char* value) { SetDbSubnetGroupArn(value); return *this;} private: Aws::String m_dbSubnetGroupName; bool m_dbSubnetGroupNameHasBeenSet = false; Aws::String m_dbSubnetGroupDescription; bool m_dbSubnetGroupDescriptionHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_subnetGroupStatus; bool m_subnetGroupStatusHasBeenSet = false; Aws::Vector