/*
* 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 the CompleteReadSetUpload API, including metadata.
///
public partial class CompleteReadSetUploadPartListItem
{
private string _checksum;
private int? _partNumber;
private ReadSetPartSource _partSource;
///
/// Gets and sets the property Checksum.
///
/// A unique identifier used to confirm that parts are being added to the correct upload.
///
///
///
[AWSProperty(Required=true)]
public string Checksum
{
get { return this._checksum; }
set { this._checksum = value; }
}
// Check to see if Checksum property is set
internal bool IsSetChecksum()
{
return this._checksum != null;
}
///
/// Gets and sets the property PartNumber.
///
/// A number identifying the part in a read set upload.
///
///
[AWSProperty(Required=true, Min=1, Max=10000)]
public int PartNumber
{
get { return this._partNumber.GetValueOrDefault(); }
set { this._partNumber = value; }
}
// Check to see if PartNumber property is set
internal bool IsSetPartNumber()
{
return this._partNumber.HasValue;
}
///
/// Gets and sets the property PartSource.
///
/// The source file of the part being uploaded.
///
///
[AWSProperty(Required=true)]
public ReadSetPartSource PartSource
{
get { return this._partSource; }
set { this._partSource = value; }
}
// Check to see if PartSource property is set
internal bool IsSetPartSource()
{
return this._partSource != null;
}
}
}