/*
* 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 elasticloadbalancing-2012-06-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.ElasticLoadBalancing.Model
{
///
/// Container for the parameters to the DescribeLoadBalancers operation.
/// Describes the specified the load balancers. If no load balancers are specified, the
/// call describes all of your load balancers.
///
public partial class DescribeLoadBalancersRequest : AmazonElasticLoadBalancingRequest
{
private List _loadBalancerNames = new List();
private string _marker;
private int? _pageSize;
///
/// Empty constructor used to set properties independently even when a simple constructor is available
///
public DescribeLoadBalancersRequest() { }
///
/// Instantiates DescribeLoadBalancersRequest with the parameterized properties
///
/// The names of the load balancers.
public DescribeLoadBalancersRequest(List loadBalancerNames)
{
_loadBalancerNames = loadBalancerNames;
}
///
/// Gets and sets the property LoadBalancerNames.
///
/// The names of the load balancers.
///
///
public List LoadBalancerNames
{
get { return this._loadBalancerNames; }
set { this._loadBalancerNames = value; }
}
// Check to see if LoadBalancerNames property is set
internal bool IsSetLoadBalancerNames()
{
return this._loadBalancerNames != null && this._loadBalancerNames.Count > 0;
}
///
/// 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 (a number from 1 to 400). The
/// default is 400.
///
///
[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;
}
}
}