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

Information about the internet gateway.

*/ inline const InternetGateway& GetInternetGateway() const{ return m_internetGateway; } /** *

Information about the internet gateway.

*/ inline void SetInternetGateway(const InternetGateway& value) { m_internetGateway = value; } /** *

Information about the internet gateway.

*/ inline void SetInternetGateway(InternetGateway&& value) { m_internetGateway = std::move(value); } /** *

Information about the internet gateway.

*/ inline CreateInternetGatewayResponse& WithInternetGateway(const InternetGateway& value) { SetInternetGateway(value); return *this;} /** *

Information about the internet gateway.

*/ inline CreateInternetGatewayResponse& WithInternetGateway(InternetGateway&& value) { SetInternetGateway(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 CreateInternetGatewayResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateInternetGatewayResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: InternetGateway m_internetGateway; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws