/*
* 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 PutSchemaVersionMetadata operation.
/// Puts the metadata key value pair for a specified schema version ID. A maximum of 10
/// key value pairs will be allowed per schema version. They can be added over one or
/// more calls.
///
public partial class PutSchemaVersionMetadataRequest : AmazonGlueRequest
{
private MetadataKeyValuePair _metadataKeyValue;
private SchemaId _schemaId;
private string _schemaVersionId;
private SchemaVersionNumber _schemaVersionNumber;
///
/// Gets and sets the property MetadataKeyValue.
///
/// The metadata key's corresponding value.
///
///
[AWSProperty(Required=true)]
public MetadataKeyValuePair MetadataKeyValue
{
get { return this._metadataKeyValue; }
set { this._metadataKeyValue = value; }
}
// Check to see if MetadataKeyValue property is set
internal bool IsSetMetadataKeyValue()
{
return this._metadataKeyValue != null;
}
///
/// Gets and sets the property SchemaId.
///
/// The unique ID for the schema.
///
///
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 unique version ID of the schema version.
///
///
[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;
}
}
}