/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace AppMesh { namespace Model { class ListGatewayRoutesResult { public: AWS_APPMESH_API ListGatewayRoutesResult(); AWS_APPMESH_API ListGatewayRoutesResult(const Aws::AmazonWebServiceResult& result); AWS_APPMESH_API ListGatewayRoutesResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline const Aws::Vector& GetGatewayRoutes() const{ return m_gatewayRoutes; } /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline void SetGatewayRoutes(const Aws::Vector& value) { m_gatewayRoutes = value; } /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline void SetGatewayRoutes(Aws::Vector&& value) { m_gatewayRoutes = std::move(value); } /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline ListGatewayRoutesResult& WithGatewayRoutes(const Aws::Vector& value) { SetGatewayRoutes(value); return *this;} /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline ListGatewayRoutesResult& WithGatewayRoutes(Aws::Vector&& value) { SetGatewayRoutes(std::move(value)); return *this;} /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline ListGatewayRoutesResult& AddGatewayRoutes(const GatewayRouteRef& value) { m_gatewayRoutes.push_back(value); return *this; } /** *

The list of existing gateway routes for the specified service mesh and * virtual gateway.

*/ inline ListGatewayRoutesResult& AddGatewayRoutes(GatewayRouteRef&& value) { m_gatewayRoutes.push_back(std::move(value)); return *this; } /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline const Aws::String& GetNextToken() const{ return m_nextToken; } /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline void SetNextToken(const Aws::String& value) { m_nextToken = value; } /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); } /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline void SetNextToken(const char* value) { m_nextToken.assign(value); } /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline ListGatewayRoutesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;} /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline ListGatewayRoutesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;} /** *

The nextToken value to include in a future * ListGatewayRoutes request. When the results of a * ListGatewayRoutes request exceed limit, you can use * this value to retrieve the next page of results. This value is null * when there are no more results to return.

*/ inline ListGatewayRoutesResult& WithNextToken(const char* value) { SetNextToken(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 ListGatewayRoutesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline ListGatewayRoutesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline ListGatewayRoutesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_gatewayRoutes; Aws::String m_nextToken; Aws::String m_requestId; }; } // namespace Model } // namespace AppMesh } // namespace Aws