/*
* 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;
using Amazon.Runtime.Internal.Auth;
namespace Amazon.Omics.Model
{
///
/// Container for the parameters to the StartReferenceImportJob operation.
/// Starts a reference import job.
///
public partial class StartReferenceImportJobRequest : AmazonOmicsRequest
{
private string _clientToken;
private string _referenceStoreId;
private string _roleArn;
private List _sources = new List();
///
/// Gets and sets the property ClientToken.
///
/// To ensure that jobs don't run multiple times, specify a unique token for each job.
///
///
[AWSProperty(Min=1, Max=127)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property ReferenceStoreId.
///
/// The job's reference store ID.
///
///
[AWSProperty(Required=true, Min=10, Max=36)]
public string ReferenceStoreId
{
get { return this._referenceStoreId; }
set { this._referenceStoreId = value; }
}
// Check to see if ReferenceStoreId property is set
internal bool IsSetReferenceStoreId()
{
return this._referenceStoreId != null;
}
///
/// Gets and sets the property RoleArn.
///
/// A service role for the job.
///
///
[AWSProperty(Required=true, Min=20, Max=2048)]
public string RoleArn
{
get { return this._roleArn; }
set { this._roleArn = value; }
}
// Check to see if RoleArn property is set
internal bool IsSetRoleArn()
{
return this._roleArn != null;
}
///
/// Gets and sets the property Sources.
///
/// The job's source files.
///
///
[AWSProperty(Required=true, Min=1, Max=100)]
public List Sources
{
get { return this._sources; }
set { this._sources = value; }
}
// Check to see if Sources property is set
internal bool IsSetSources()
{
return this._sources != null && this._sources.Count > 0;
}
///
/// Get the signer to use for this request.
///
/// A signer for this request.
override protected AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
}
}