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

Information about the VPC peering connection.

*/ inline const VpcPeeringConnection& GetVpcPeeringConnection() const{ return m_vpcPeeringConnection; } /** *

Information about the VPC peering connection.

*/ inline void SetVpcPeeringConnection(const VpcPeeringConnection& value) { m_vpcPeeringConnection = value; } /** *

Information about the VPC peering connection.

*/ inline void SetVpcPeeringConnection(VpcPeeringConnection&& value) { m_vpcPeeringConnection = std::move(value); } /** *

Information about the VPC peering connection.

*/ inline AcceptVpcPeeringConnectionResponse& WithVpcPeeringConnection(const VpcPeeringConnection& value) { SetVpcPeeringConnection(value); return *this;} /** *

Information about the VPC peering connection.

*/ inline AcceptVpcPeeringConnectionResponse& WithVpcPeeringConnection(VpcPeeringConnection&& value) { SetVpcPeeringConnection(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 AcceptVpcPeeringConnectionResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline AcceptVpcPeeringConnectionResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: VpcPeeringConnection m_vpcPeeringConnection; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws