/** * 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 ApiGatewayV2 { namespace Model { class AWS_APIGATEWAYV2_API GetApiMappingsResult { public: GetApiMappingsResult(); GetApiMappingsResult(const Aws::AmazonWebServiceResult& result); GetApiMappingsResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The elements from this collection.

*/ inline const Aws::Vector& GetItems() const{ return m_items; } /** *

The elements from this collection.

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

The elements from this collection.

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

The elements from this collection.

*/ inline GetApiMappingsResult& WithItems(const Aws::Vector& value) { SetItems(value); return *this;} /** *

The elements from this collection.

*/ inline GetApiMappingsResult& WithItems(Aws::Vector&& value) { SetItems(std::move(value)); return *this;} /** *

The elements from this collection.

*/ inline GetApiMappingsResult& AddItems(const ApiMapping& value) { m_items.push_back(value); return *this; } /** *

The elements from this collection.

*/ inline GetApiMappingsResult& AddItems(ApiMapping&& value) { m_items.push_back(std::move(value)); return *this; } /** *

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

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

The next page of elements from this collection. Not valid for the last * element of the collection.

*/ inline GetApiMappingsResult& WithNextToken(const char* value) { SetNextToken(value); return *this;} private: Aws::Vector m_items; Aws::String m_nextToken; }; } // namespace Model } // namespace ApiGatewayV2 } // namespace Aws