/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Xml { class XmlDocument; } // namespace Xml } // namespace Utils namespace EC2 { namespace Model { class GetCoipPoolUsageResponse { public: AWS_EC2_API GetCoipPoolUsageResponse(); AWS_EC2_API GetCoipPoolUsageResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API GetCoipPoolUsageResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the customer-owned address pool.

*/ inline const Aws::String& GetCoipPoolId() const{ return m_coipPoolId; } /** *

The ID of the customer-owned address pool.

*/ inline void SetCoipPoolId(const Aws::String& value) { m_coipPoolId = value; } /** *

The ID of the customer-owned address pool.

*/ inline void SetCoipPoolId(Aws::String&& value) { m_coipPoolId = std::move(value); } /** *

The ID of the customer-owned address pool.

*/ inline void SetCoipPoolId(const char* value) { m_coipPoolId.assign(value); } /** *

The ID of the customer-owned address pool.

*/ inline GetCoipPoolUsageResponse& WithCoipPoolId(const Aws::String& value) { SetCoipPoolId(value); return *this;} /** *

The ID of the customer-owned address pool.

*/ inline GetCoipPoolUsageResponse& WithCoipPoolId(Aws::String&& value) { SetCoipPoolId(std::move(value)); return *this;} /** *

The ID of the customer-owned address pool.

*/ inline GetCoipPoolUsageResponse& WithCoipPoolId(const char* value) { SetCoipPoolId(value); return *this;} /** *

Information about the address usage.

*/ inline const Aws::Vector& GetCoipAddressUsages() const{ return m_coipAddressUsages; } /** *

Information about the address usage.

*/ inline void SetCoipAddressUsages(const Aws::Vector& value) { m_coipAddressUsages = value; } /** *

Information about the address usage.

*/ inline void SetCoipAddressUsages(Aws::Vector&& value) { m_coipAddressUsages = std::move(value); } /** *

Information about the address usage.

*/ inline GetCoipPoolUsageResponse& WithCoipAddressUsages(const Aws::Vector& value) { SetCoipAddressUsages(value); return *this;} /** *

Information about the address usage.

*/ inline GetCoipPoolUsageResponse& WithCoipAddressUsages(Aws::Vector&& value) { SetCoipAddressUsages(std::move(value)); return *this;} /** *

Information about the address usage.

*/ inline GetCoipPoolUsageResponse& AddCoipAddressUsages(const CoipAddressUsage& value) { m_coipAddressUsages.push_back(value); return *this; } /** *

Information about the address usage.

*/ inline GetCoipPoolUsageResponse& AddCoipAddressUsages(CoipAddressUsage&& value) { m_coipAddressUsages.push_back(std::move(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 void SetLocalGatewayRouteTableId(const Aws::String& value) { m_localGatewayRouteTableId = value; } /** *

The ID of the local gateway route table.

*/ inline void SetLocalGatewayRouteTableId(Aws::String&& value) { m_localGatewayRouteTableId = std::move(value); } /** *

The ID of the local gateway route table.

*/ inline void SetLocalGatewayRouteTableId(const char* value) { m_localGatewayRouteTableId.assign(value); } /** *

The ID of the local gateway route table.

*/ inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const Aws::String& value) { SetLocalGatewayRouteTableId(value); return *this;} /** *

The ID of the local gateway route table.

*/ inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(Aws::String&& value) { SetLocalGatewayRouteTableId(std::move(value)); return *this;} /** *

The ID of the local gateway route table.

*/ inline GetCoipPoolUsageResponse& WithLocalGatewayRouteTableId(const char* value) { SetLocalGatewayRouteTableId(value); return *this;} inline const ResponseMetadata& GetResponseMetadata() const{ return m_responseMetadata; } inline void SetResponseMetadata(const ResponseMetadata& value) { m_responseMetadata = value; } inline void SetResponseMetadata(ResponseMetadata&& value) { m_responseMetadata = std::move(value); } inline GetCoipPoolUsageResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline GetCoipPoolUsageResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_coipPoolId; Aws::Vector m_coipAddressUsages; Aws::String m_localGatewayRouteTableId; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws