/*
 * 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 omics-2022-11-28.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.Omics.Model
{
    /// 
    /// A read set.
    /// 
    public partial class ReadSetListItem
    {
        private string _arn;
        private DateTime? _creationTime;
        private string _description;
        private FileType _fileType;
        private string _id;
        private string _name;
        private string _referenceArn;
        private string _sampleId;
        private SequenceInformation _sequenceInformation;
        private string _sequenceStoreId;
        private ReadSetStatus _status;
        private string _statusMessage;
        private string _subjectId;
        /// 
        /// Gets and sets the property Arn. 
        /// 
        /// The read set's ARN.
        /// 
        /// 
        [AWSProperty(Required=true, Min=1, Max=127)]
        public string Arn
        {
            get { return this._arn; }
            set { this._arn = value; }
        }
        // Check to see if Arn property is set
        internal bool IsSetArn()
        {
            return this._arn != null;
        }
        /// 
        /// Gets and sets the property CreationTime. 
        /// 
        /// When the read set was created.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public DateTime CreationTime
        {
            get { return this._creationTime.GetValueOrDefault(); }
            set { this._creationTime = value; }
        }
        // Check to see if CreationTime property is set
        internal bool IsSetCreationTime()
        {
            return this._creationTime.HasValue; 
        }
        /// 
        /// Gets and sets the property Description. 
        /// 
        /// The read set's description.
        /// 
        /// 
        [AWSProperty(Min=1, Max=255)]
        public string Description
        {
            get { return this._description; }
            set { this._description = value; }
        }
        // Check to see if Description property is set
        internal bool IsSetDescription()
        {
            return this._description != null;
        }
        /// 
        /// Gets and sets the property FileType. 
        /// 
        /// The read set's file type.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public FileType FileType
        {
            get { return this._fileType; }
            set { this._fileType = value; }
        }
        // Check to see if FileType property is set
        internal bool IsSetFileType()
        {
            return this._fileType != null;
        }
        /// 
        /// Gets and sets the property Id. 
        /// 
        /// The read set's ID.
        /// 
        /// 
        [AWSProperty(Required=true, Min=10, Max=36)]
        public string Id
        {
            get { return this._id; }
            set { this._id = value; }
        }
        // Check to see if Id property is set
        internal bool IsSetId()
        {
            return this._id != null;
        }
        /// 
        /// Gets and sets the property Name. 
        /// 
        /// The read set's name.
        /// 
        /// 
        [AWSProperty(Min=1, Max=127)]
        public string Name
        {
            get { return this._name; }
            set { this._name = value; }
        }
        // Check to see if Name property is set
        internal bool IsSetName()
        {
            return this._name != null;
        }
        /// 
        /// Gets and sets the property ReferenceArn. 
        /// 
        /// The read set's genome reference ARN.
        /// 
        /// 
        [AWSProperty(Min=1, Max=127)]
        public string ReferenceArn
        {
            get { return this._referenceArn; }
            set { this._referenceArn = value; }
        }
        // Check to see if ReferenceArn property is set
        internal bool IsSetReferenceArn()
        {
            return this._referenceArn != null;
        }
        /// 
        /// Gets and sets the property SampleId. 
        /// 
        /// The read set's sample ID.
        /// 
        /// 
        [AWSProperty(Min=1, Max=127)]
        public string SampleId
        {
            get { return this._sampleId; }
            set { this._sampleId = value; }
        }
        // Check to see if SampleId property is set
        internal bool IsSetSampleId()
        {
            return this._sampleId != null;
        }
        /// 
        /// Gets and sets the property SequenceInformation.
        /// 
        public SequenceInformation SequenceInformation
        {
            get { return this._sequenceInformation; }
            set { this._sequenceInformation = value; }
        }
        // Check to see if SequenceInformation property is set
        internal bool IsSetSequenceInformation()
        {
            return this._sequenceInformation != null;
        }
        /// 
        /// Gets and sets the property SequenceStoreId. 
        /// 
        /// The read set's sequence store ID.
        /// 
        /// 
        [AWSProperty(Required=true, Min=10, Max=36)]
        public string SequenceStoreId
        {
            get { return this._sequenceStoreId; }
            set { this._sequenceStoreId = value; }
        }
        // Check to see if SequenceStoreId property is set
        internal bool IsSetSequenceStoreId()
        {
            return this._sequenceStoreId != null;
        }
        /// 
        /// Gets and sets the property Status. 
        /// 
        /// The read set's status.
        /// 
        /// 
        [AWSProperty(Required=true)]
        public ReadSetStatus Status
        {
            get { return this._status; }
            set { this._status = value; }
        }
        // Check to see if Status property is set
        internal bool IsSetStatus()
        {
            return this._status != null;
        }
        /// 
        /// Gets and sets the property StatusMessage. 
        /// 
        ///  The status for a read set. It provides more detail as to why the read set has a status.
        /// 
        /// 
        /// 
        [AWSProperty(Min=1, Max=255)]
        public string StatusMessage
        {
            get { return this._statusMessage; }
            set { this._statusMessage = value; }
        }
        // Check to see if StatusMessage property is set
        internal bool IsSetStatusMessage()
        {
            return this._statusMessage != null;
        }
        /// 
        /// Gets and sets the property SubjectId. 
        /// 
        /// The read set's subject ID.
        /// 
        /// 
        [AWSProperty(Min=1, Max=127)]
        public string SubjectId
        {
            get { return this._subjectId; }
            set { this._subjectId = value; }
        }
        // Check to see if SubjectId property is set
        internal bool IsSetSubjectId()
        {
            return this._subjectId != null;
        }
    }
}