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

Information about the network ACL.

*/ inline const NetworkAcl& GetNetworkAcl() const{ return m_networkAcl; } /** *

Information about the network ACL.

*/ inline void SetNetworkAcl(const NetworkAcl& value) { m_networkAcl = value; } /** *

Information about the network ACL.

*/ inline void SetNetworkAcl(NetworkAcl&& value) { m_networkAcl = std::move(value); } /** *

Information about the network ACL.

*/ inline CreateNetworkAclResponse& WithNetworkAcl(const NetworkAcl& value) { SetNetworkAcl(value); return *this;} /** *

Information about the network ACL.

*/ inline CreateNetworkAclResponse& WithNetworkAcl(NetworkAcl&& value) { SetNetworkAcl(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 CreateNetworkAclResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline CreateNetworkAclResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: NetworkAcl m_networkAcl; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws