/*
* 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
{
///
/// An object containing the details about a schema version.
///
public partial class SchemaVersionListItem
{
private string _createdTime;
private string _schemaArn;
private string _schemaVersionId;
private SchemaVersionStatus _status;
private long? _versionNumber;
///
/// Gets and sets the property CreatedTime.
///
/// The date and time the schema version was created.
///
///
public string CreatedTime
{
get { return this._createdTime; }
set { this._createdTime = value; }
}
// Check to see if CreatedTime property is set
internal bool IsSetCreatedTime()
{
return this._createdTime != 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 SchemaVersionId.
///
/// The unique identifier 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 Status.
///
/// The status of the schema version.
///
///
public SchemaVersionStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != 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;
}
}
}