/** * 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 UnassignPrivateNatGatewayAddressResponse { public: AWS_EC2_API UnassignPrivateNatGatewayAddressResponse(); AWS_EC2_API UnassignPrivateNatGatewayAddressResponse(const Aws::AmazonWebServiceResult& result); AWS_EC2_API UnassignPrivateNatGatewayAddressResponse& operator=(const Aws::AmazonWebServiceResult& result); /** *

The ID of the NAT gateway.

*/ inline const Aws::String& GetNatGatewayId() const{ return m_natGatewayId; } /** *

The ID of the NAT gateway.

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

The ID of the NAT gateway.

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

The ID of the NAT gateway.

*/ inline void SetNatGatewayId(const char* value) { m_natGatewayId.assign(value); } /** *

The ID of the NAT gateway.

*/ inline UnassignPrivateNatGatewayAddressResponse& WithNatGatewayId(const Aws::String& value) { SetNatGatewayId(value); return *this;} /** *

The ID of the NAT gateway.

*/ inline UnassignPrivateNatGatewayAddressResponse& WithNatGatewayId(Aws::String&& value) { SetNatGatewayId(std::move(value)); return *this;} /** *

The ID of the NAT gateway.

*/ inline UnassignPrivateNatGatewayAddressResponse& WithNatGatewayId(const char* value) { SetNatGatewayId(value); return *this;} /** *

Information about the NAT gateway IP addresses.

*/ inline const Aws::Vector& GetNatGatewayAddresses() const{ return m_natGatewayAddresses; } /** *

Information about the NAT gateway IP addresses.

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

Information about the NAT gateway IP addresses.

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

Information about the NAT gateway IP addresses.

*/ inline UnassignPrivateNatGatewayAddressResponse& WithNatGatewayAddresses(const Aws::Vector& value) { SetNatGatewayAddresses(value); return *this;} /** *

Information about the NAT gateway IP addresses.

*/ inline UnassignPrivateNatGatewayAddressResponse& WithNatGatewayAddresses(Aws::Vector&& value) { SetNatGatewayAddresses(std::move(value)); return *this;} /** *

Information about the NAT gateway IP addresses.

*/ inline UnassignPrivateNatGatewayAddressResponse& AddNatGatewayAddresses(const NatGatewayAddress& value) { m_natGatewayAddresses.push_back(value); return *this; } /** *

Information about the NAT gateway IP addresses.

*/ inline UnassignPrivateNatGatewayAddressResponse& AddNatGatewayAddresses(NatGatewayAddress&& value) { m_natGatewayAddresses.push_back(std::move(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 UnassignPrivateNatGatewayAddressResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline UnassignPrivateNatGatewayAddressResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: Aws::String m_natGatewayId; Aws::Vector m_natGatewayAddresses; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws