/* * 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 StartAnnotationImportJob operation. /// Starts an annotation import job. /// public partial class StartAnnotationImportJobRequest : AmazonOmicsRequest { private Dictionary _annotationFields = new Dictionary(); private string _destinationName; private FormatOptions _formatOptions; private List _items = new List(); private string _roleArn; private bool? _runLeftNormalization; /// /// Gets and sets the property AnnotationFields. /// /// The annotation schema generated by the parsed annotation data. /// /// public Dictionary AnnotationFields { get { return this._annotationFields; } set { this._annotationFields = value; } } // Check to see if AnnotationFields property is set internal bool IsSetAnnotationFields() { return this._annotationFields != null && this._annotationFields.Count > 0; } /// /// Gets and sets the property DestinationName. /// /// A destination annotation store for the job. /// /// [AWSProperty(Required=true, Min=3, Max=255)] public string DestinationName { get { return this._destinationName; } set { this._destinationName = value; } } // Check to see if DestinationName property is set internal bool IsSetDestinationName() { return this._destinationName != null; } /// /// Gets and sets the property FormatOptions. /// /// Formatting options for the annotation file. /// /// public FormatOptions FormatOptions { get { return this._formatOptions; } set { this._formatOptions = value; } } // Check to see if FormatOptions property is set internal bool IsSetFormatOptions() { return this._formatOptions != null; } /// /// Gets and sets the property Items. /// /// Items to import. /// /// [AWSProperty(Required=true, Min=1)] public List Items { get { return this._items; } set { this._items = value; } } // Check to see if Items property is set internal bool IsSetItems() { return this._items != null && this._items.Count > 0; } /// /// 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 RunLeftNormalization. /// /// The job's left normalization setting. /// /// public bool RunLeftNormalization { get { return this._runLeftNormalization.GetValueOrDefault(); } set { this._runLeftNormalization = value; } } // Check to see if RunLeftNormalization property is set internal bool IsSetRunLeftNormalization() { return this._runLeftNormalization.HasValue; } /// /// Get the signer to use for this request. /// /// A signer for this request. override protected AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } } }