/* * 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 { /// <summary> /// Container for the parameters to the CreateAnnotationStore operation. /// Creates an annotation store. /// </summary> public partial class CreateAnnotationStoreRequest : AmazonOmicsRequest { private string _description; private string _name; private ReferenceItem _reference; private SseConfig _sseConfig; private StoreFormat _storeFormat; private StoreOptions _storeOptions; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Description. /// <para> /// A description for the store. /// </para> /// </summary> [AWSProperty(Min=0, Max=500)] 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; } /// <summary> /// Gets and sets the property Name. /// <para> /// A name for the store. /// </para> /// </summary> 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; } /// <summary> /// Gets and sets the property Reference. /// <para> /// The genome reference for the store's annotations. /// </para> /// </summary> public ReferenceItem Reference { get { return this._reference; } set { this._reference = value; } } // Check to see if Reference property is set internal bool IsSetReference() { return this._reference != null; } /// <summary> /// Gets and sets the property SseConfig. /// <para> /// Server-side encryption (SSE) settings for the store. /// </para> /// </summary> public SseConfig SseConfig { get { return this._sseConfig; } set { this._sseConfig = value; } } // Check to see if SseConfig property is set internal bool IsSetSseConfig() { return this._sseConfig != null; } /// <summary> /// Gets and sets the property StoreFormat. /// <para> /// The annotation file format of the store. /// </para> /// </summary> [AWSProperty(Required=true)] public StoreFormat StoreFormat { get { return this._storeFormat; } set { this._storeFormat = value; } } // Check to see if StoreFormat property is set internal bool IsSetStoreFormat() { return this._storeFormat != null; } /// <summary> /// Gets and sets the property StoreOptions. /// <para> /// File parsing options for the annotation store. /// </para> /// </summary> public StoreOptions StoreOptions { get { return this._storeOptions; } set { this._storeOptions = value; } } // Check to see if StoreOptions property is set internal bool IsSetStoreOptions() { return this._storeOptions != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Tags for the store. /// </para> /// </summary> public Dictionary<string, string> 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; } /// <summary> /// Get the signer to use for this request. /// </summary> /// <returns>A signer for this request.</returns> override protected AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } } }