/*
 * 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 medical-imaging-2023-07-19.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.MedicalImaging.Model
{
    /// 
    /// Properties of the import job.
    /// 
    public partial class DICOMImportJobProperties
    {
        private string _dataAccessRoleArn;
        private string _datastoreId;
        private DateTime? _endedAt;
        private string _inputs3Uri;
        private string _jobId;
        private string _jobName;
        private JobStatus _jobStatus;
        private string _message;
        private string _outputs3Uri;
        private DateTime? _submittedAt;
        /// 
        /// Gets and sets the property DataAccessRoleArn. 
        /// 
        /// The Amazon Resource Name (ARN) that grants permissions to access medical imaging resources.
        /// 
        /// 
        [AWSProperty(Required=true, 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 data store identifier.
        /// 
        /// 
        [AWSProperty(Required=true)]
        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 EndedAt. 
        /// 
        /// The timestamp for when the import job was ended.
        /// 
        /// 
        public DateTime EndedAt
        {
            get { return this._endedAt.GetValueOrDefault(); }
            set { this._endedAt = value; }
        }
        // Check to see if EndedAt property is set
        internal bool IsSetEndedAt()
        {
            return this._endedAt.HasValue; 
        }
        /// 
        /// Gets and sets the property InputS3Uri. 
        /// 
        /// The input prefix path for the S3 bucket that contains the DICOM P10 files to be imported.
        /// 
        /// 
        [AWSProperty(Required=true, Min=1, Max=1024)]
        public string InputS3Uri
        {
            get { return this._inputs3Uri; }
            set { this._inputs3Uri = value; }
        }
        // Check to see if InputS3Uri property is set
        internal bool IsSetInputS3Uri()
        {
            return this._inputs3Uri != null;
        }
        /// 
        /// Gets and sets the property JobId. 
        /// 
        /// The import job identifier.
        /// 
        /// 
        [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 import job name.
        /// 
        /// 
        [AWSProperty(Required=true, 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 filters for listing import jobs based on status.
        /// 
        /// 
        [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. 
        /// 
        /// The error message thrown if an import job fails.
        /// 
        /// 
        [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 OutputS3Uri. 
        /// 
        /// The output prefix of the S3 bucket to upload the results of the DICOM import job.
        /// 
        /// 
        [AWSProperty(Required=true, Min=1, Max=1024)]
        public string OutputS3Uri
        {
            get { return this._outputs3Uri; }
            set { this._outputs3Uri = value; }
        }
        // Check to see if OutputS3Uri property is set
        internal bool IsSetOutputS3Uri()
        {
            return this._outputs3Uri != null;
        }
        /// 
        /// Gets and sets the property SubmittedAt. 
        /// 
        /// The timestamp for when the import job was submitted.
        /// 
        /// 
        public DateTime SubmittedAt
        {
            get { return this._submittedAt.GetValueOrDefault(); }
            set { this._submittedAt = value; }
        }
        // Check to see if SubmittedAt property is set
        internal bool IsSetSubmittedAt()
        {
            return this._submittedAt.HasValue; 
        }
    }
}