/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the kendra-2019-02-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Kendra.Model { /// /// Container for the parameters to the BatchGetDocumentStatus operation. /// Returns the indexing status for one or more documents submitted with the /// BatchPutDocument API. /// /// /// /// When you use the BatchPutDocument API, documents are indexed asynchronously. /// You can use the BatchGetDocumentStatus API to get the current status /// of a list of documents so that you can determine if they have been successfully indexed. /// /// /// /// You can also use the BatchGetDocumentStatus API to check the status of /// the /// BatchDeleteDocument API. When a document is deleted from the index, Amazon Kendra /// returns NOT_FOUND as the status. /// /// public partial class BatchGetDocumentStatusRequest : AmazonKendraRequest { private List _documentInfoList = new List(); private string _indexId; /// /// Gets and sets the property 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. /// /// [AWSProperty(Required=true, Min=1, Max=10)] public List DocumentInfoList { get { return this._documentInfoList; } set { this._documentInfoList = value; } } // Check to see if DocumentInfoList property is set internal bool IsSetDocumentInfoList() { return this._documentInfoList != null && this._documentInfoList.Count > 0; } /// /// Gets and sets the property IndexId. /// /// The identifier of the index to add documents to. The index ID is returned by the CreateIndex /// API. /// /// [AWSProperty(Required=true, Min=36, Max=36)] public string IndexId { get { return this._indexId; } set { this._indexId = value; } } // Check to see if IndexId property is set internal bool IsSetIndexId() { return this._indexId != null; } } }