/*
* 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
{
///
/// Maps a batch delete document request to a specific data source sync job. This is optional
/// and should only be supplied when documents are deleted by a data source connector.
///
public partial class DataSourceSyncJobMetrics
{
private string _documentsAdded;
private string _documentsDeleted;
private string _documentsFailed;
private string _documentsModified;
private string _documentsScanned;
///
/// Gets and sets the property DocumentsAdded.
///
/// The number of documents added from the data source up to now in the data source sync.
///
///
public string DocumentsAdded
{
get { return this._documentsAdded; }
set { this._documentsAdded = value; }
}
// Check to see if DocumentsAdded property is set
internal bool IsSetDocumentsAdded()
{
return this._documentsAdded != null;
}
///
/// Gets and sets the property DocumentsDeleted.
///
/// The number of documents deleted from the data source up to now in the data source
/// sync run.
///
///
public string DocumentsDeleted
{
get { return this._documentsDeleted; }
set { this._documentsDeleted = value; }
}
// Check to see if DocumentsDeleted property is set
internal bool IsSetDocumentsDeleted()
{
return this._documentsDeleted != null;
}
///
/// Gets and sets the property DocumentsFailed.
///
/// The number of documents that failed to sync from the data source up to now in the
/// data source sync run.
///
///
public string DocumentsFailed
{
get { return this._documentsFailed; }
set { this._documentsFailed = value; }
}
// Check to see if DocumentsFailed property is set
internal bool IsSetDocumentsFailed()
{
return this._documentsFailed != null;
}
///
/// Gets and sets the property DocumentsModified.
///
/// The number of documents modified in the data source up to now in the data source sync
/// run.
///
///
public string DocumentsModified
{
get { return this._documentsModified; }
set { this._documentsModified = value; }
}
// Check to see if DocumentsModified property is set
internal bool IsSetDocumentsModified()
{
return this._documentsModified != null;
}
///
/// Gets and sets the property DocumentsScanned.
///
/// The current number of documents crawled by the current sync job in the data source.
///
///
public string DocumentsScanned
{
get { return this._documentsScanned; }
set { this._documentsScanned = value; }
}
// Check to see if DocumentsScanned property is set
internal bool IsSetDocumentsScanned()
{
return this._documentsScanned != null;
}
}
}