/*
* 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 ListTriggers operation.
/// Retrieves the names of all trigger resources in this Amazon Web Services account,
/// or the resources with the specified tag. This operation allows you to see which resources
/// are available in your account, and their names.
///
///
///
/// This operation takes the optional Tags
field, which you can use as a
/// filter on the response so that tagged resources can be retrieved as a group. If you
/// choose to use tags filtering, only resources with the tag are retrieved.
///
///
public partial class ListTriggersRequest : AmazonGlueRequest
{
private string _dependentJobName;
private int? _maxResults;
private string _nextToken;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property DependentJobName.
///
/// The name of the job for which to retrieve triggers. The trigger that can start this
/// job is returned. If there is no such trigger, all triggers are returned.
///
///
[AWSProperty(Min=1, Max=255)]
public string DependentJobName
{
get { return this._dependentJobName; }
set { this._dependentJobName = value; }
}
// Check to see if DependentJobName property is set
internal bool IsSetDependentJobName()
{
return this._dependentJobName != null;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum size of a list to return.
///
///
[AWSProperty(Min=1, Max=1000)]
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 NextToken.
///
/// A continuation token, if this is a continuation request.
///
///
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 Tags.
///
/// Specifies to return only these tagged resources.
///
///
[AWSProperty(Min=0, Max=50)]
public Dictionary Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}