/* * 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 glue-2017-03-31.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.Glue.Model { /// /// Container for the parameters to the GetSchemaVersion operation. /// Get the specified schema by its unique ID assigned when a version of the schema is /// created or registered. Schema versions in Deleted status will not be included in the /// results. /// public partial class GetSchemaVersionRequest : AmazonGlueRequest { private SchemaId _schemaId; private string _schemaVersionId; private SchemaVersionNumber _schemaVersionNumber; /// /// Gets and sets the property SchemaId. /// /// This is a wrapper structure to contain schema identity fields. The structure contains: /// /// /// public SchemaId SchemaId { get { return this._schemaId; } set { this._schemaId = value; } } // Check to see if SchemaId property is set internal bool IsSetSchemaId() { return this._schemaId != null; } /// /// Gets and sets the property SchemaVersionId. /// /// The SchemaVersionId of the schema version. This field is required for /// fetching by schema ID. Either this or the SchemaId wrapper has to be /// provided. /// /// [AWSProperty(Min=36, Max=36)] public string SchemaVersionId { get { return this._schemaVersionId; } set { this._schemaVersionId = value; } } // Check to see if SchemaVersionId property is set internal bool IsSetSchemaVersionId() { return this._schemaVersionId != null; } /// /// Gets and sets the property SchemaVersionNumber. /// /// The version number of the schema. /// /// public SchemaVersionNumber SchemaVersionNumber { get { return this._schemaVersionNumber; } set { this._schemaVersionNumber = value; } } // Check to see if SchemaVersionNumber property is set internal bool IsSetSchemaVersionNumber() { return this._schemaVersionNumber != null; } } }