/** * 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 Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppMesh { namespace Model { class UpdateGatewayRouteResult { public: AWS_APPMESH_API UpdateGatewayRouteResult(); AWS_APPMESH_API UpdateGatewayRouteResult(const Aws::AmazonWebServiceResult& result); AWS_APPMESH_API UpdateGatewayRouteResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

A full description of the gateway route that was updated.

*/ inline const GatewayRouteData& GetGatewayRoute() const{ return m_gatewayRoute; } /** *

A full description of the gateway route that was updated.

*/ inline void SetGatewayRoute(const GatewayRouteData& value) { m_gatewayRoute = value; } /** *

A full description of the gateway route that was updated.

*/ inline void SetGatewayRoute(GatewayRouteData&& value) { m_gatewayRoute = std::move(value); } /** *

A full description of the gateway route that was updated.

*/ inline UpdateGatewayRouteResult& WithGatewayRoute(const GatewayRouteData& value) { SetGatewayRoute(value); return *this;} /** *

A full description of the gateway route that was updated.

*/ inline UpdateGatewayRouteResult& WithGatewayRoute(GatewayRouteData&& value) { SetGatewayRoute(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline UpdateGatewayRouteResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline UpdateGatewayRouteResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline UpdateGatewayRouteResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: GatewayRouteData m_gatewayRoute; Aws::String m_requestId; }; } // namespace Model } // namespace AppMesh } // namespace Aws