/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes a subnet group in response to a request by the
* DescribeReplicationSubnetGroups
operation.See Also:
* AWS
* API Reference
The identifier of the replication instance subnet group.
*/ inline const Aws::String& GetReplicationSubnetGroupIdentifier() const{ return m_replicationSubnetGroupIdentifier; } /** *The identifier of the replication instance subnet group.
*/ inline bool ReplicationSubnetGroupIdentifierHasBeenSet() const { return m_replicationSubnetGroupIdentifierHasBeenSet; } /** *The identifier of the replication instance subnet group.
*/ inline void SetReplicationSubnetGroupIdentifier(const Aws::String& value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier = value; } /** *The identifier of the replication instance subnet group.
*/ inline void SetReplicationSubnetGroupIdentifier(Aws::String&& value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier = std::move(value); } /** *The identifier of the replication instance subnet group.
*/ inline void SetReplicationSubnetGroupIdentifier(const char* value) { m_replicationSubnetGroupIdentifierHasBeenSet = true; m_replicationSubnetGroupIdentifier.assign(value); } /** *The identifier of the replication instance subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupIdentifier(const Aws::String& value) { SetReplicationSubnetGroupIdentifier(value); return *this;} /** *The identifier of the replication instance subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupIdentifier(Aws::String&& value) { SetReplicationSubnetGroupIdentifier(std::move(value)); return *this;} /** *The identifier of the replication instance subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupIdentifier(const char* value) { SetReplicationSubnetGroupIdentifier(value); return *this;} /** *A description for the replication subnet group.
*/ inline const Aws::String& GetReplicationSubnetGroupDescription() const{ return m_replicationSubnetGroupDescription; } /** *A description for the replication subnet group.
*/ inline bool ReplicationSubnetGroupDescriptionHasBeenSet() const { return m_replicationSubnetGroupDescriptionHasBeenSet; } /** *A description for the replication subnet group.
*/ inline void SetReplicationSubnetGroupDescription(const Aws::String& value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription = value; } /** *A description for the replication subnet group.
*/ inline void SetReplicationSubnetGroupDescription(Aws::String&& value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription = std::move(value); } /** *A description for the replication subnet group.
*/ inline void SetReplicationSubnetGroupDescription(const char* value) { m_replicationSubnetGroupDescriptionHasBeenSet = true; m_replicationSubnetGroupDescription.assign(value); } /** *A description for the replication subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupDescription(const Aws::String& value) { SetReplicationSubnetGroupDescription(value); return *this;} /** *A description for the replication subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupDescription(Aws::String&& value) { SetReplicationSubnetGroupDescription(std::move(value)); return *this;} /** *A description for the replication subnet group.
*/ inline ReplicationSubnetGroup& WithReplicationSubnetGroupDescription(const char* value) { SetReplicationSubnetGroupDescription(value); return *this;} /** *The ID of the VPC.
*/ inline const Aws::String& GetVpcId() const{ return m_vpcId; } /** *The ID of the VPC.
*/ inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; } /** *The ID of the VPC.
*/ inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; } /** *The ID of the VPC.
*/ inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); } /** *The ID of the VPC.
*/ inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); } /** *The ID of the VPC.
*/ inline ReplicationSubnetGroup& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;} /** *The ID of the VPC.
*/ inline ReplicationSubnetGroup& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;} /** *The ID of the VPC.
*/ inline ReplicationSubnetGroup& 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 ReplicationSubnetGroup& WithSubnetGroupStatus(const Aws::String& value) { SetSubnetGroupStatus(value); return *this;} /** *The status of the subnet group.
*/ inline ReplicationSubnetGroup& WithSubnetGroupStatus(Aws::String&& value) { SetSubnetGroupStatus(std::move(value)); return *this;} /** *The status of the subnet group.
*/ inline ReplicationSubnetGroup& WithSubnetGroupStatus(const char* value) { SetSubnetGroupStatus(value); return *this;} /** *The subnets that are in the subnet group.
*/ inline const Aws::VectorThe subnets that are in the subnet group.
*/ inline bool SubnetsHasBeenSet() const { return m_subnetsHasBeenSet; } /** *The subnets that are in the subnet group.
*/ inline void SetSubnets(const Aws::VectorThe subnets that are in the subnet group.
*/ inline void SetSubnets(Aws::VectorThe subnets that are in the subnet group.
*/ inline ReplicationSubnetGroup& WithSubnets(const Aws::VectorThe subnets that are in the subnet group.
*/ inline ReplicationSubnetGroup& WithSubnets(Aws::VectorThe subnets that are in the subnet group.
*/ inline ReplicationSubnetGroup& AddSubnets(const Subnet& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(value); return *this; } /** *The subnets that are in the subnet group.
*/ inline ReplicationSubnetGroup& AddSubnets(Subnet&& value) { m_subnetsHasBeenSet = true; m_subnets.push_back(std::move(value)); return *this; } /** *The IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline const Aws::VectorThe IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline bool SupportedNetworkTypesHasBeenSet() const { return m_supportedNetworkTypesHasBeenSet; } /** *The IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline void SetSupportedNetworkTypes(const Aws::VectorThe IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline void SetSupportedNetworkTypes(Aws::VectorThe IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline ReplicationSubnetGroup& WithSupportedNetworkTypes(const Aws::VectorThe IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline ReplicationSubnetGroup& WithSupportedNetworkTypes(Aws::VectorThe IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline ReplicationSubnetGroup& AddSupportedNetworkTypes(const Aws::String& value) { m_supportedNetworkTypesHasBeenSet = true; m_supportedNetworkTypes.push_back(value); return *this; } /** *The IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline ReplicationSubnetGroup& AddSupportedNetworkTypes(Aws::String&& value) { m_supportedNetworkTypesHasBeenSet = true; m_supportedNetworkTypes.push_back(std::move(value)); return *this; } /** *The IP addressing protocol supported by the subnet group. This is used by a * replication instance with values such as IPv4 only or Dual-stack that supports * both IPv4 and IPv6 addressing. IPv6 only is not yet supported.
*/ inline ReplicationSubnetGroup& AddSupportedNetworkTypes(const char* value) { m_supportedNetworkTypesHasBeenSet = true; m_supportedNetworkTypes.push_back(value); return *this; } private: Aws::String m_replicationSubnetGroupIdentifier; bool m_replicationSubnetGroupIdentifierHasBeenSet = false; Aws::String m_replicationSubnetGroupDescription; bool m_replicationSubnetGroupDescriptionHasBeenSet = false; Aws::String m_vpcId; bool m_vpcIdHasBeenSet = false; Aws::String m_subnetGroupStatus; bool m_subnetGroupStatusHasBeenSet = false; Aws::Vector