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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

List of Documents, Folders, Comments, and Document Versions matching the * query.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline const Aws::String& GetMarker() const{ return m_marker; } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

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

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline void SetMarker(const char* value) { m_marker.assign(value); } /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline SearchResourcesResult& WithMarker(const Aws::String& value) { SetMarker(value); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline SearchResourcesResult& WithMarker(Aws::String&& value) { SetMarker(std::move(value)); return *this;} /** *

The marker to use when requesting the next set of results. If there are no * additional results, the string is empty.

*/ inline SearchResourcesResult& WithMarker(const char* value) { SetMarker(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 SearchResourcesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline SearchResourcesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline SearchResourcesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::Vector m_items; Aws::String m_marker; Aws::String m_requestId; }; } // namespace Model } // namespace WorkDocs } // namespace Aws