/*
* 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
{
///
/// This is the response object from the RemoveSchemaVersionMetadata operation.
///
public partial class RemoveSchemaVersionMetadataResponse : AmazonWebServiceResponse
{
private bool? _latestVersion;
private string _metadataKey;
private string _metadataValue;
private string _registryName;
private string _schemaArn;
private string _schemaName;
private string _schemaVersionId;
private long? _versionNumber;
///
/// Gets and sets the property LatestVersion.
///
/// The latest version of the schema.
///
///
public bool LatestVersion
{
get { return this._latestVersion.GetValueOrDefault(); }
set { this._latestVersion = value; }
}
// Check to see if LatestVersion property is set
internal bool IsSetLatestVersion()
{
return this._latestVersion.HasValue;
}
///
/// Gets and sets the property MetadataKey.
///
/// The metadata key.
///
///
[AWSProperty(Min=1, Max=128)]
public string MetadataKey
{
get { return this._metadataKey; }
set { this._metadataKey = value; }
}
// Check to see if MetadataKey property is set
internal bool IsSetMetadataKey()
{
return this._metadataKey != null;
}
///
/// Gets and sets the property MetadataValue.
///
/// The value of the metadata key.
///
///
[AWSProperty(Min=1, Max=256)]
public string MetadataValue
{
get { return this._metadataValue; }
set { this._metadataValue = value; }
}
// Check to see if MetadataValue property is set
internal bool IsSetMetadataValue()
{
return this._metadataValue != null;
}
///
/// Gets and sets the property RegistryName.
///
/// The name of the registry.
///
///
[AWSProperty(Min=1, Max=255)]
public string RegistryName
{
get { return this._registryName; }
set { this._registryName = value; }
}
// Check to see if RegistryName property is set
internal bool IsSetRegistryName()
{
return this._registryName != null;
}
///
/// Gets and sets the property SchemaArn.
///
/// The Amazon Resource Name (ARN) of the schema.
///
///
[AWSProperty(Min=1, Max=10240)]
public string SchemaArn
{
get { return this._schemaArn; }
set { this._schemaArn = value; }
}
// Check to see if SchemaArn property is set
internal bool IsSetSchemaArn()
{
return this._schemaArn != null;
}
///
/// Gets and sets the property SchemaName.
///
/// The name of the schema.
///
///
[AWSProperty(Min=1, Max=255)]
public string SchemaName
{
get { return this._schemaName; }
set { this._schemaName = value; }
}
// Check to see if SchemaName property is set
internal bool IsSetSchemaName()
{
return this._schemaName != null;
}
///
/// Gets and sets the property SchemaVersionId.
///
/// The version ID for 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 VersionNumber.
///
/// The version number of the schema.
///
///
[AWSProperty(Min=1, Max=100000)]
public long VersionNumber
{
get { return this._versionNumber.GetValueOrDefault(); }
set { this._versionNumber = value; }
}
// Check to see if VersionNumber property is set
internal bool IsSetVersionNumber()
{
return this._versionNumber.HasValue;
}
}
}