/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include namespace Aws { namespace kendra { namespace Model { /** */ class BatchGetDocumentStatusRequest : public KendraRequest { public: AWS_KENDRA_API BatchGetDocumentStatusRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "BatchGetDocumentStatus"; } AWS_KENDRA_API Aws::String SerializePayload() const override; AWS_KENDRA_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline const Aws::String& GetIndexId() const{ return m_indexId; } /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline bool IndexIdHasBeenSet() const { return m_indexIdHasBeenSet; } /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline void SetIndexId(const Aws::String& value) { m_indexIdHasBeenSet = true; m_indexId = value; } /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline void SetIndexId(Aws::String&& value) { m_indexIdHasBeenSet = true; m_indexId = std::move(value); } /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline void SetIndexId(const char* value) { m_indexIdHasBeenSet = true; m_indexId.assign(value); } /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline BatchGetDocumentStatusRequest& WithIndexId(const Aws::String& value) { SetIndexId(value); return *this;} /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline BatchGetDocumentStatusRequest& WithIndexId(Aws::String&& value) { SetIndexId(std::move(value)); return *this;} /** *

The identifier of the index to add documents to. The index ID is returned by * the CreateIndex * API.

*/ inline BatchGetDocumentStatusRequest& WithIndexId(const char* value) { SetIndexId(value); return *this;} /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline const Aws::Vector& GetDocumentInfoList() const{ return m_documentInfoList; } /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline bool DocumentInfoListHasBeenSet() const { return m_documentInfoListHasBeenSet; } /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline void SetDocumentInfoList(const Aws::Vector& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList = value; } /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline void SetDocumentInfoList(Aws::Vector&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList = std::move(value); } /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline BatchGetDocumentStatusRequest& WithDocumentInfoList(const Aws::Vector& value) { SetDocumentInfoList(value); return *this;} /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline BatchGetDocumentStatusRequest& WithDocumentInfoList(Aws::Vector&& value) { SetDocumentInfoList(std::move(value)); return *this;} /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline BatchGetDocumentStatusRequest& AddDocumentInfoList(const DocumentInfo& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList.push_back(value); return *this; } /** *

A list of DocumentInfo objects that identify the documents for * which to get the status. You identify the documents by their document ID and * optional attributes.

*/ inline BatchGetDocumentStatusRequest& AddDocumentInfoList(DocumentInfo&& value) { m_documentInfoListHasBeenSet = true; m_documentInfoList.push_back(std::move(value)); return *this; } private: Aws::String m_indexId; bool m_indexIdHasBeenSet = false; Aws::Vector m_documentInfoList; bool m_documentInfoListHasBeenSet = false; }; } // namespace Model } // namespace kendra } // namespace Aws