/*
* 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
{
///
/// Provides information about a document classification job.
///
public partial class DocumentClassificationJobProperties
{
private string _dataAccessRoleArn;
private string _documentClassifierArn;
private DateTime? _endTime;
private string _flywheelArn;
private InputDataConfig _inputDataConfig;
private string _jobArn;
private string _jobId;
private string _jobName;
private JobStatus _jobStatus;
private string _message;
private OutputDataConfig _outputDataConfig;
private DateTime? _submitTime;
private string _volumeKmsKeyId;
private VpcConfig _vpcConfig;
///
/// Gets and sets the property DataAccessRoleArn.
///
/// The Amazon Resource Name (ARN) of the IAM role that grants Amazon Comprehend read
/// access to your input data.
///
///
[AWSProperty(Min=20, Max=2048)]
public string DataAccessRoleArn
{
get { return this._dataAccessRoleArn; }
set { this._dataAccessRoleArn = value; }
}
// Check to see if DataAccessRoleArn property is set
internal bool IsSetDataAccessRoleArn()
{
return this._dataAccessRoleArn != null;
}
///
/// Gets and sets the property DocumentClassifierArn.
///
/// The Amazon Resource Name (ARN) that identifies the document classifier.
///
///
[AWSProperty(Max=256)]
public string DocumentClassifierArn
{
get { return this._documentClassifierArn; }
set { this._documentClassifierArn = value; }
}
// Check to see if DocumentClassifierArn property is set
internal bool IsSetDocumentClassifierArn()
{
return this._documentClassifierArn != null;
}
///
/// Gets and sets the property EndTime.
///
/// The time that the document classification job completed.
///
///
public DateTime EndTime
{
get { return this._endTime.GetValueOrDefault(); }
set { this._endTime = value; }
}
// Check to see if EndTime property is set
internal bool IsSetEndTime()
{
return this._endTime.HasValue;
}
///
/// Gets and sets the property FlywheelArn.
///
/// The Amazon Resource Number (ARN) of the flywheel
///
///
[AWSProperty(Max=256)]
public string FlywheelArn
{
get { return this._flywheelArn; }
set { this._flywheelArn = value; }
}
// Check to see if FlywheelArn property is set
internal bool IsSetFlywheelArn()
{
return this._flywheelArn != null;
}
///
/// Gets and sets the property InputDataConfig.
///
/// The input data configuration that you supplied when you created the document classification
/// job.
///
///
public InputDataConfig InputDataConfig
{
get { return this._inputDataConfig; }
set { this._inputDataConfig = value; }
}
// Check to see if InputDataConfig property is set
internal bool IsSetInputDataConfig()
{
return this._inputDataConfig != null;
}
///
/// Gets and sets the property JobArn.
///
/// The Amazon Resource Name (ARN) of the document classification job. It is a unique,
/// fully qualified identifier for the job. It includes the Amazon Web Services account,
/// Amazon Web Services Region, and the job ID. The format of the ARN is as follows:
///
///
///
/// arn:<partition>:comprehend:<region>:<account-id>:document-classification-job/<job-id>
///
///
///
///
/// The following is an example job ARN:
///
///
///
/// arn:aws:comprehend:us-west-2:111122223333:document-classification-job/1234abcd12ab34cd56ef1234567890ab
///
///
///
[AWSProperty(Max=256)]
public string JobArn
{
get { return this._jobArn; }
set { this._jobArn = value; }
}
// Check to see if JobArn property is set
internal bool IsSetJobArn()
{
return this._jobArn != null;
}
///
/// Gets and sets the property JobId.
///
/// The identifier assigned to the document classification job.
///
///
[AWSProperty(Min=1, Max=32)]
public string JobId
{
get { return this._jobId; }
set { this._jobId = value; }
}
// Check to see if JobId property is set
internal bool IsSetJobId()
{
return this._jobId != null;
}
///
/// Gets and sets the property JobName.
///
/// The name that you assigned to the document classification job.
///
///
[AWSProperty(Min=1, Max=256)]
public string JobName
{
get { return this._jobName; }
set { this._jobName = value; }
}
// Check to see if JobName property is set
internal bool IsSetJobName()
{
return this._jobName != null;
}
///
/// Gets and sets the property JobStatus.
///
/// The current status of the document classification job. If the status is FAILED
,
/// the Message
field shows the reason for the failure.
///
///
public JobStatus JobStatus
{
get { return this._jobStatus; }
set { this._jobStatus = value; }
}
// Check to see if JobStatus property is set
internal bool IsSetJobStatus()
{
return this._jobStatus != null;
}
///
/// Gets and sets the property Message.
///
/// A description of the status of the job.
///
///
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
///
/// Gets and sets the property OutputDataConfig.
///
/// The output data configuration that you supplied when you created the document classification
/// job.
///
///
public OutputDataConfig OutputDataConfig
{
get { return this._outputDataConfig; }
set { this._outputDataConfig = value; }
}
// Check to see if OutputDataConfig property is set
internal bool IsSetOutputDataConfig()
{
return this._outputDataConfig != null;
}
///
/// Gets and sets the property SubmitTime.
///
/// The time that the document classification job was submitted for processing.
///
///
public DateTime SubmitTime
{
get { return this._submitTime.GetValueOrDefault(); }
set { this._submitTime = value; }
}
// Check to see if SubmitTime property is set
internal bool IsSetSubmitTime()
{
return this._submitTime.HasValue;
}
///
/// Gets and sets the property VolumeKmsKeyId.
///
/// ID for the Amazon Web Services Key Management Service (KMS) key that Amazon Comprehend
/// uses to encrypt data on the storage volume attached to the ML compute instance(s)
/// that process the analysis job. The VolumeKmsKeyId can be either of the following formats:
///
/// -
///
/// KMS Key ID:
"1234abcd-12ab-34cd-56ef-1234567890ab"
///
/// -
///
/// Amazon Resource Name (ARN) of a KMS Key:
"arn:aws:kms:us-west-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
///
///
///
///
[AWSProperty(Max=2048)]
public string VolumeKmsKeyId
{
get { return this._volumeKmsKeyId; }
set { this._volumeKmsKeyId = value; }
}
// Check to see if VolumeKmsKeyId property is set
internal bool IsSetVolumeKmsKeyId()
{
return this._volumeKmsKeyId != null;
}
///
/// Gets and sets the property VpcConfig.
///
/// Configuration parameters for a private Virtual Private Cloud (VPC) containing the
/// resources you are using for your document classification job. For more information,
/// see Amazon
/// VPC.
///
///
public VpcConfig VpcConfig
{
get { return this._vpcConfig; }
set { this._vpcConfig = value; }
}
// Check to see if VpcConfig property is set
internal bool IsSetVpcConfig()
{
return this._vpcConfig != null;
}
}
}