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

Information about the route.

*/ inline const LocalGatewayRoute& GetRoute() const{ return m_route; } /** *

Information about the route.

*/ inline void SetRoute(const LocalGatewayRoute& value) { m_route = value; } /** *

Information about the route.

*/ inline void SetRoute(LocalGatewayRoute&& value) { m_route = std::move(value); } /** *

Information about the route.

*/ inline DeleteLocalGatewayRouteResponse& WithRoute(const LocalGatewayRoute& value) { SetRoute(value); return *this;} /** *

Information about the route.

*/ inline DeleteLocalGatewayRouteResponse& WithRoute(LocalGatewayRoute&& value) { SetRoute(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 DeleteLocalGatewayRouteResponse& WithResponseMetadata(const ResponseMetadata& value) { SetResponseMetadata(value); return *this;} inline DeleteLocalGatewayRouteResponse& WithResponseMetadata(ResponseMetadata&& value) { SetResponseMetadata(std::move(value)); return *this;} private: LocalGatewayRoute m_route; ResponseMetadata m_responseMetadata; }; } // namespace Model } // namespace EC2 } // namespace Aws