/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Information about a customer-owned IP address range. See
* Also:
AWS API
* Reference
An address range in a customer-owned IP address space.
*/ inline const Aws::String& GetCidr() const{ return m_cidr; } /** *An address range in a customer-owned IP address space.
*/ inline bool CidrHasBeenSet() const { return m_cidrHasBeenSet; } /** *An address range in a customer-owned IP address space.
*/ inline void SetCidr(const Aws::String& value) { m_cidrHasBeenSet = true; m_cidr = value; } /** *An address range in a customer-owned IP address space.
*/ inline void SetCidr(Aws::String&& value) { m_cidrHasBeenSet = true; m_cidr = std::move(value); } /** *An address range in a customer-owned IP address space.
*/ inline void SetCidr(const char* value) { m_cidrHasBeenSet = true; m_cidr.assign(value); } /** *An address range in a customer-owned IP address space.
*/ inline CoipCidr& WithCidr(const Aws::String& value) { SetCidr(value); return *this;} /** *An address range in a customer-owned IP address space.
*/ inline CoipCidr& WithCidr(Aws::String&& value) { SetCidr(std::move(value)); return *this;} /** *An address range in a customer-owned IP address space.
*/ inline CoipCidr& WithCidr(const char* value) { SetCidr(value); return *this;} /** *The ID of the address pool.
*/ inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; } /** *The ID of the address pool.
*/ inline bool CoipPoolIdHasBeenSet() const { return m_coipPoolIdHasBeenSet; } /** *The ID of the address pool.
*/ inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId = value; } /** *The ID of the address pool.
*/ inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId = std::move(value); } /** *The ID of the address pool.
*/ inline void SetCoipPoolId(const char* value) { m_coipPoolIdHasBeenSet = true; m_coipPoolId.assign(value); } /** *The ID of the address pool.
*/ inline CoipCidr& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;} /** *The ID of the address pool.
*/ inline CoipCidr& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;} /** *The ID of the address pool.
*/ inline CoipCidr& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;} /** *The ID of the local gateway route table.
*/ inline const Aws::String& GetLocalGatewayRouteTableId() const{ return m_localGatewayRouteTableId; } /** *The ID of the local gateway route table.
*/ inline bool LocalGatewayRouteTableIdHasBeenSet() const { return m_localGatewayRouteTableIdHasBeenSet; } /** *The ID of the local gateway route table.
*/ inline void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = value; } /** *The ID of the local gateway route table.
*/ inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId = std::move(value); } /** *The ID of the local gateway route table.
*/ inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableIdHasBeenSet = true; m_localGatewayRouteTableId.assign(value); } /** *The ID of the local gateway route table.
*/ inline CoipCidr& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;} /** *The ID of the local gateway route table.
*/ inline CoipCidr& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;} /** *The ID of the local gateway route table.
*/ inline CoipCidr& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;} private: Aws::String m_cidr; bool m_cidrHasBeenSet = false; Aws::String m_coipPoolId; bool m_coipPoolIdHasBeenSet = false; Aws::String m_localGatewayRouteTableId; bool m_localGatewayRouteTableIdHasBeenSet = false; }; } // namespace Model } // namespace EC2 } // namespace Aws