/*
* 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 translate-2017-07-01.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.Translate.Model
{
///
/// The number of documents successfully and unsuccessfully processed during a translation
/// job.
///
public partial class JobDetails
{
private int? _documentsWithErrorsCount;
private int? _inputDocumentsCount;
private int? _translatedDocumentsCount;
///
/// Gets and sets the property DocumentsWithErrorsCount.
///
/// The number of documents that could not be processed during a translation job.
///
///
public int DocumentsWithErrorsCount
{
get { return this._documentsWithErrorsCount.GetValueOrDefault(); }
set { this._documentsWithErrorsCount = value; }
}
// Check to see if DocumentsWithErrorsCount property is set
internal bool IsSetDocumentsWithErrorsCount()
{
return this._documentsWithErrorsCount.HasValue;
}
///
/// Gets and sets the property InputDocumentsCount.
///
/// The number of documents used as input in a translation job.
///
///
public int InputDocumentsCount
{
get { return this._inputDocumentsCount.GetValueOrDefault(); }
set { this._inputDocumentsCount = value; }
}
// Check to see if InputDocumentsCount property is set
internal bool IsSetInputDocumentsCount()
{
return this._inputDocumentsCount.HasValue;
}
///
/// Gets and sets the property TranslatedDocumentsCount.
///
/// The number of documents successfully processed during a translation job.
///
///
public int TranslatedDocumentsCount
{
get { return this._translatedDocumentsCount.GetValueOrDefault(); }
set { this._translatedDocumentsCount = value; }
}
// Check to see if TranslatedDocumentsCount property is set
internal bool IsSetTranslatedDocumentsCount()
{
return this._translatedDocumentsCount.HasValue;
}
}
}