/*
* 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 comprehend-2017-11-27.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.Comprehend.Model
{
///
/// Describes information about a document classifier and its versions.
///
public partial class DocumentClassifierSummary
{
private string _documentClassifierName;
private DateTime? _latestVersionCreatedAt;
private string _latestVersionName;
private ModelStatus _latestVersionStatus;
private int? _numberOfVersions;
///
/// Gets and sets the property DocumentClassifierName.
///
/// The name that you assigned the document classifier.
///
///
[AWSProperty(Max=63)]
public string DocumentClassifierName
{
get { return this._documentClassifierName; }
set { this._documentClassifierName = value; }
}
// Check to see if DocumentClassifierName property is set
internal bool IsSetDocumentClassifierName()
{
return this._documentClassifierName != null;
}
///
/// Gets and sets the property LatestVersionCreatedAt.
///
/// The time that the latest document classifier version was submitted for processing.
///
///
public DateTime LatestVersionCreatedAt
{
get { return this._latestVersionCreatedAt.GetValueOrDefault(); }
set { this._latestVersionCreatedAt = value; }
}
// Check to see if LatestVersionCreatedAt property is set
internal bool IsSetLatestVersionCreatedAt()
{
return this._latestVersionCreatedAt.HasValue;
}
///
/// Gets and sets the property LatestVersionName.
///
/// The version name you assigned to the latest document classifier version.
///
///
[AWSProperty(Max=63)]
public string LatestVersionName
{
get { return this._latestVersionName; }
set { this._latestVersionName = value; }
}
// Check to see if LatestVersionName property is set
internal bool IsSetLatestVersionName()
{
return this._latestVersionName != null;
}
///
/// Gets and sets the property LatestVersionStatus.
///
/// Provides the status of the latest document classifier version.
///
///
public ModelStatus LatestVersionStatus
{
get { return this._latestVersionStatus; }
set { this._latestVersionStatus = value; }
}
// Check to see if LatestVersionStatus property is set
internal bool IsSetLatestVersionStatus()
{
return this._latestVersionStatus != null;
}
///
/// Gets and sets the property NumberOfVersions.
///
/// The number of versions you created.
///
///
public int NumberOfVersions
{
get { return this._numberOfVersions.GetValueOrDefault(); }
set { this._numberOfVersions = value; }
}
// Check to see if NumberOfVersions property is set
internal bool IsSetNumberOfVersions()
{
return this._numberOfVersions.HasValue;
}
}
}