/*
* 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 healthlake-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.HealthLake.Model
{
///
/// Displays the properties of the import job, including the ID, Arn, Name, and the status
/// of the data store.
///
public partial class ImportJobProperties
{
private string _dataAccessRoleArn;
private string _datastoreId;
private DateTime? _endTime;
private InputDataConfig _inputDataConfig;
private string _jobId;
private string _jobName;
private OutputDataConfig _jobOutputDataConfig;
private JobStatus _jobStatus;
private string _message;
private DateTime? _submitTime;
///
/// Gets and sets the property DataAccessRoleArn.
///
/// The Amazon Resource Name (ARN) that gives AWS HealthLake 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 DatastoreId.
///
/// The datastore id used when the Import job was created.
///
///
[AWSProperty(Required=true, Min=1, Max=32)]
public string DatastoreId
{
get { return this._datastoreId; }
set { this._datastoreId = value; }
}
// Check to see if DatastoreId property is set
internal bool IsSetDatastoreId()
{
return this._datastoreId != null;
}
///
/// Gets and sets the property EndTime.
///
/// The time that the Import job was 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 InputDataConfig.
///
/// The input data configuration that was supplied when the Import job was created.
///
///
[AWSProperty(Required=true)]
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 AWS-generated id number for the Import job.
///
///
[AWSProperty(Required=true, 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 user-generated name for an Import job.
///
///
[AWSProperty(Min=1, Max=64)]
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 JobOutputDataConfig.
///
public OutputDataConfig JobOutputDataConfig
{
get { return this._jobOutputDataConfig; }
set { this._jobOutputDataConfig = value; }
}
// Check to see if JobOutputDataConfig property is set
internal bool IsSetJobOutputDataConfig()
{
return this._jobOutputDataConfig != null;
}
///
/// Gets and sets the property JobStatus.
///
/// The job status for an Import job. Possible statuses are SUBMITTED, IN_PROGRESS, COMPLETED_WITH_ERRORS,
/// COMPLETED, FAILED.
///
///
[AWSProperty(Required=true)]
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.
///
/// An explanation of any errors that may have occurred during the FHIR import job.
///
///
[AWSProperty(Min=1, Max=2048)]
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 SubmitTime.
///
/// The time that the Import job was submitted for processing.
///
///
[AWSProperty(Required=true)]
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;
}
}
}