/*
* 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
{
///
/// Identifies a document for which to retrieve status information
///
public partial class DocumentInfo
{
private List _attributes = new List();
private string _documentId;
///
/// Gets and sets the property Attributes.
///
/// Attributes that identify a specific version of a document to check.
///
///
///
/// The only valid attributes are:
///
/// -
///
/// version
///
///
-
///
/// datasourceId
///
///
-
///
/// jobExecutionId
///
///
///
/// The attributes follow these rules:
///
/// -
///
///
dataSourceId
and jobExecutionId
must be used together.
///
/// -
///
///
version
is ignored if dataSourceId
and jobExecutionId
/// are not provided.
///
/// -
///
/// If
dataSourceId
and jobExecutionId
are provided, but version
/// is not, the version defaults to "0".
///
///
///
public List Attributes
{
get { return this._attributes; }
set { this._attributes = value; }
}
// Check to see if Attributes property is set
internal bool IsSetAttributes()
{
return this._attributes != null && this._attributes.Count > 0;
}
///
/// Gets and sets the property DocumentId.
///
/// The identifier of the document.
///
///
[AWSProperty(Required=true, Min=1, Max=2048)]
public string DocumentId
{
get { return this._documentId; }
set { this._documentId = value; }
}
// Check to see if DocumentId property is set
internal bool IsSetDocumentId()
{
return this._documentId != null;
}
}
}