/* * 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 { /// /// The properties of a FHIR export job, including the ID, ARN, name, and the status of /// the job. /// public partial class ExportJobProperties { private string _dataAccessRoleArn; private string _datastoreId; private DateTime? _endTime; private string _jobId; private string _jobName; private JobStatus _jobStatus; private string _message; private OutputDataConfig _outputDataConfig; private DateTime? _submitTime; /// /// Gets and sets the property DataAccessRoleArn. /// /// The Amazon Resource Name used during the initiation of the job. /// /// [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 AWS generated ID for the data store from which files are being exported for an /// export job. /// /// [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 an export 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 JobId. /// /// The AWS generated ID for an export 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 export 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 JobStatus. /// /// The status of a FHIR export job. Possible statuses are SUBMITTED, IN_PROGRESS, COMPLETED, /// or 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 export 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 OutputDataConfig. /// /// The output data configuration that was supplied when the export job was created. /// /// [AWSProperty(Required=true)] 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 an export job was initiated. /// /// [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; } } }