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

Information about the IPAM pool created.

*/ inline const IpamPool& GetIpamPool() const{ return m_ipamPool; } /** *

Information about the IPAM pool created.

*/ inline void SetIpamPool(const IpamPool& value) { m_ipamPool = value; } /** *

Information about the IPAM pool created.

*/ inline void SetIpamPool(IpamPool&& value) { m_ipamPool = std::move(value); } /** *

Information about the IPAM pool created.

*/ inline CreateIpamPoolResponse& WithIpamPool(const IpamPool& value) { SetIpamPool(value); return *this;} /** *

Information about the IPAM pool created.

*/ inline CreateIpamPoolResponse& WithIpamPool(IpamPool&& value) { SetIpamPool(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 CreateIpamPoolResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateIpamPoolResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: IpamPool m_ipamPool; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws