/*
* 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 autoscaling-plans-2018-01-06.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.AutoScalingPlans.Model
{
///
/// Container for the parameters to the DescribeScalingPlans operation.
/// Describes one or more of your scaling plans.
///
public partial class DescribeScalingPlansRequest : AmazonAutoScalingPlansRequest
{
private List _applicationSources = new List();
private int? _maxResults;
private string _nextToken;
private List _scalingPlanNames = new List();
private long? _scalingPlanVersion;
///
/// Gets and sets the property ApplicationSources.
///
/// The sources for the applications (up to 10). If you specify scaling plan names, you
/// cannot specify application sources.
///
///
public List ApplicationSources
{
get { return this._applicationSources; }
set { this._applicationSources = value; }
}
// Check to see if ApplicationSources property is set
internal bool IsSetApplicationSources()
{
return this._applicationSources != null && this._applicationSources.Count > 0;
}
///
/// Gets and sets the property MaxResults.
///
/// The maximum number of scalable resources to return. This value can be between 1 and
/// 50. The default value is 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 NextToken.
///
/// The token for the next set of results.
///
///
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 ScalingPlanNames.
///
/// The names of the scaling plans (up to 10). If you specify application sources, you
/// cannot specify scaling plan names.
///
///
public List ScalingPlanNames
{
get { return this._scalingPlanNames; }
set { this._scalingPlanNames = value; }
}
// Check to see if ScalingPlanNames property is set
internal bool IsSetScalingPlanNames()
{
return this._scalingPlanNames != null && this._scalingPlanNames.Count > 0;
}
///
/// Gets and sets the property ScalingPlanVersion.
///
/// The version number of the scaling plan. Currently, the only valid value is 1
.
///
///
///
/// If you specify a scaling plan version, you must also specify a scaling plan name.
///
///
///
public long ScalingPlanVersion
{
get { return this._scalingPlanVersion.GetValueOrDefault(); }
set { this._scalingPlanVersion = value; }
}
// Check to see if ScalingPlanVersion property is set
internal bool IsSetScalingPlanVersion()
{
return this._scalingPlanVersion.HasValue;
}
}
}