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

Lists the place index resources that exist in your Amazon Web Services * account

*/ inline const Aws::Vector& GetEntries() const{ return m_entries; } /** *

Lists the place index resources that exist in your Amazon Web Services * account

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

Lists the place index resources that exist in your Amazon Web Services * account

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

Lists the place index resources that exist in your Amazon Web Services * account

*/ inline ListPlaceIndexesResult& WithEntries(const Aws::Vector& value) { SetEntries(value); return *this;} /** *

Lists the place index resources that exist in your Amazon Web Services * account

*/ inline ListPlaceIndexesResult& WithEntries(Aws::Vector&& value) { SetEntries(std::move(value)); return *this;} /** *

Lists the place index resources that exist in your Amazon Web Services * account

*/ inline ListPlaceIndexesResult& AddEntries(const ListPlaceIndexesResponseEntry& value) { m_entries.push_back(value); return *this; } /** *

Lists the place index resources that exist in your Amazon Web Services * account

*/ inline ListPlaceIndexesResult& AddEntries(ListPlaceIndexesResponseEntry&& value) { m_entries.push_back(std::move(value)); return *this; } /** *

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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

A pagination token indicating that there are additional pages available. You * can use the token in a new request to fetch the next page of results.

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