/*
* 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 QuerySchemaVersionMetadata operation.
/// Queries for the schema version metadata information.
///
public partial class QuerySchemaVersionMetadataRequest : AmazonGlueRequest
{
private int? _maxResults;
private List _metadataList = new List();
private string _nextToken;
private SchemaId _schemaId;
private string _schemaVersionId;
private SchemaVersionNumber _schemaVersionNumber;
///
/// Gets and sets the property MaxResults.
///
/// Maximum number of results required per page. If the value is not supplied, this will
/// be defaulted to 25 per page.
///
///
[AWSProperty(Min=1, Max=50)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
///
/// Gets and sets the property MetadataList.
///
/// Search key-value pairs for metadata, if they are not provided all the metadata information
/// will be fetched.
///
///
public List MetadataList
{
get { return this._metadataList; }
set { this._metadataList = value; }
}
// Check to see if MetadataList property is set
internal bool IsSetMetadataList()
{
return this._metadataList != null && this._metadataList.Count > 0;
}
///
/// Gets and sets the property NextToken.
///
/// A continuation token, if this is a continuation call.
///
///
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
///
/// Gets and sets the property SchemaId.
///
/// A wrapper structure that may contain the schema name and Amazon Resource Name (ARN).
///
///
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;
}
}
}