/*
* 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
{
///
/// Part of the response to ListMultipartReadSetUploads, excluding completed and aborted
/// multipart uploads.
///
public partial class MultipartReadSetUploadListItem
{
private DateTime? _creationTime;
private string _description;
private string _generatedFrom;
private string _name;
private string _referenceArn;
private string _sampleId;
private string _sequenceStoreId;
private FileType _sourceFileType;
private string _subjectId;
private Dictionary _tags = new Dictionary();
private string _uploadId;
///
/// Gets and sets the property CreationTime.
///
/// The time stamp for when a direct upload 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 description of a read set.
///
///
[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 GeneratedFrom.
///
/// The source of an uploaded part.
///
///
[AWSProperty(Required=true, Min=1, Max=127)]
public string GeneratedFrom
{
get { return this._generatedFrom; }
set { this._generatedFrom = value; }
}
// Check to see if GeneratedFrom property is set
internal bool IsSetGeneratedFrom()
{
return this._generatedFrom != null;
}
///
/// Gets and sets the property Name.
///
/// The name of a read set.
///
///
[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 source's reference ARN.
///
///
[AWSProperty(Required=true, 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 source's sample ID.
///
///
[AWSProperty(Required=true, 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 SequenceStoreId.
///
/// The sequence store ID used for the multipart upload.
///
///
[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 SourceFileType.
///
/// The type of file the read set originated from.
///
///
[AWSProperty(Required=true)]
public FileType SourceFileType
{
get { return this._sourceFileType; }
set { this._sourceFileType = value; }
}
// Check to see if SourceFileType property is set
internal bool IsSetSourceFileType()
{
return this._sourceFileType != null;
}
///
/// Gets and sets the property SubjectId.
///
/// The read set source's subject ID.
///
///
[AWSProperty(Required=true, 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;
}
///
/// Gets and sets the property Tags.
///
/// Any tags you wish to add to a read set.
///
///
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
///
/// Gets and sets the property UploadId.
///
/// The ID for the initiated multipart upload.
///
///
[AWSProperty(Required=true, Min=10, Max=36)]
public string UploadId
{
get { return this._uploadId; }
set { this._uploadId = value; }
}
// Check to see if UploadId property is set
internal bool IsSetUploadId()
{
return this._uploadId != null;
}
}
}