/*
* 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 elasticloadbalancingv2-2015-12-01.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.ElasticLoadBalancingV2.Model
{
///
/// Container for the parameters to the DescribeRules operation.
/// Describes the specified rules or the rules for the specified listener. You must specify
/// either a listener or one or more rules.
///
public partial class DescribeRulesRequest : AmazonElasticLoadBalancingV2Request
{
private string _listenerArn;
private string _marker;
private int? _pageSize;
private List _ruleArns = new List();
///
/// Gets and sets the property ListenerArn.
///
/// The Amazon Resource Name (ARN) of the listener.
///
///
public string ListenerArn
{
get { return this._listenerArn; }
set { this._listenerArn = value; }
}
// Check to see if ListenerArn property is set
internal bool IsSetListenerArn()
{
return this._listenerArn != null;
}
///
/// Gets and sets the property Marker.
///
/// The marker for the next set of results. (You received this marker from a previous
/// call.)
///
///
public string Marker
{
get { return this._marker; }
set { this._marker = value; }
}
// Check to see if Marker property is set
internal bool IsSetMarker()
{
return this._marker != null;
}
///
/// Gets and sets the property PageSize.
///
/// The maximum number of results to return with this call.
///
///
[AWSProperty(Min=1, Max=400)]
public int PageSize
{
get { return this._pageSize.GetValueOrDefault(); }
set { this._pageSize = value; }
}
// Check to see if PageSize property is set
internal bool IsSetPageSize()
{
return this._pageSize.HasValue;
}
///
/// Gets and sets the property RuleArns.
///
/// The Amazon Resource Names (ARN) of the rules.
///
///
public List RuleArns
{
get { return this._ruleArns; }
set { this._ruleArns = value; }
}
// Check to see if RuleArns property is set
internal bool IsSetRuleArns()
{
return this._ruleArns != null && this._ruleArns.Count > 0;
}
}
}