/*
* 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 comprehendmedical-2018-10-30.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.ComprehendMedical.Model
{
///
/// Provides information about a detection job.
///
public partial class ComprehendMedicalAsyncJobProperties
{
private string _dataAccessRoleArn;
private DateTime? _endTime;
private DateTime? _expirationTime;
private InputDataConfig _inputDataConfig;
private string _jobId;
private string _jobName;
private JobStatus _jobStatus;
private string _kmsKey;
private LanguageCode _languageCode;
private string _manifestFilePath;
private string _message;
private string _modelVersion;
private OutputDataConfig _outputDataConfig;
private DateTime? _submitTime;
///
/// Gets and sets the property DataAccessRoleArn.
///
/// The Amazon Resource Name (ARN) that gives Amazon Comprehend Medical 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 EndTime.
///
/// The time that the detection 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 ExpirationTime.
///
/// The date and time that job metadata is deleted from the server. Output files in your
/// S3 bucket will not be deleted. After the metadata is deleted, the job will no longer
/// appear in the results of the ListEntitiesDetectionV2Job
or the ListPHIDetectionJobs
/// operation.
///
///
public DateTime ExpirationTime
{
get { return this._expirationTime.GetValueOrDefault(); }
set { this._expirationTime = value; }
}
// Check to see if ExpirationTime property is set
internal bool IsSetExpirationTime()
{
return this._expirationTime.HasValue;
}
///
/// Gets and sets the property InputDataConfig.
///
/// The input data configuration that you supplied when you created the detection 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 JobId.
///
/// The identifier assigned to the detection 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 detection 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 detection 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 KMSKey.
///
/// The AWS Key Management Service key, if any, used to encrypt the output files.
///
///
[AWSProperty(Min=1, Max=2048)]
public string KMSKey
{
get { return this._kmsKey; }
set { this._kmsKey = value; }
}
// Check to see if KMSKey property is set
internal bool IsSetKMSKey()
{
return this._kmsKey != null;
}
///
/// Gets and sets the property LanguageCode.
///
/// The language code of the input documents.
///
///
public LanguageCode LanguageCode
{
get { return this._languageCode; }
set { this._languageCode = value; }
}
// Check to see if LanguageCode property is set
internal bool IsSetLanguageCode()
{
return this._languageCode != null;
}
///
/// Gets and sets the property ManifestFilePath.
///
/// The path to the file that describes the results of a batch job.
///
///
[AWSProperty(Min=1, Max=4096)]
public string ManifestFilePath
{
get { return this._manifestFilePath; }
set { this._manifestFilePath = value; }
}
// Check to see if ManifestFilePath property is set
internal bool IsSetManifestFilePath()
{
return this._manifestFilePath != null;
}
///
/// Gets and sets the property Message.
///
/// A description of the status of a 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 ModelVersion.
///
/// The version of the model used to analyze the documents. The version number looks like
/// X.X.X. You can use this information to track the model used for a particular batch
/// of documents.
///
///
public string ModelVersion
{
get { return this._modelVersion; }
set { this._modelVersion = value; }
}
// Check to see if ModelVersion property is set
internal bool IsSetModelVersion()
{
return this._modelVersion != null;
}
///
/// Gets and sets the property OutputDataConfig.
///
/// The output data configuration that you supplied when you created the detection 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 detection 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;
}
}
}