/*
* 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 application-autoscaling-2016-02-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.ApplicationAutoScaling.Model
{
///
/// Specifies whether the scaling activities for a scalable target are in a suspended
/// state.
///
public partial class SuspendedState
{
private bool? _dynamicScalingInSuspended;
private bool? _dynamicScalingOutSuspended;
private bool? _scheduledScalingSuspended;
///
/// Gets and sets the property DynamicScalingInSuspended.
///
/// Whether scale in by a target tracking scaling policy or a step scaling policy is suspended.
/// Set the value to true
if you don't want Application Auto Scaling to remove
/// capacity when a scaling policy is triggered. The default is false
.
///
///
public bool DynamicScalingInSuspended
{
get { return this._dynamicScalingInSuspended.GetValueOrDefault(); }
set { this._dynamicScalingInSuspended = value; }
}
// Check to see if DynamicScalingInSuspended property is set
internal bool IsSetDynamicScalingInSuspended()
{
return this._dynamicScalingInSuspended.HasValue;
}
///
/// Gets and sets the property DynamicScalingOutSuspended.
///
/// Whether scale out by a target tracking scaling policy or a step scaling policy is
/// suspended. Set the value to true
if you don't want Application Auto Scaling
/// to add capacity when a scaling policy is triggered. The default is false
.
///
///
///
public bool DynamicScalingOutSuspended
{
get { return this._dynamicScalingOutSuspended.GetValueOrDefault(); }
set { this._dynamicScalingOutSuspended = value; }
}
// Check to see if DynamicScalingOutSuspended property is set
internal bool IsSetDynamicScalingOutSuspended()
{
return this._dynamicScalingOutSuspended.HasValue;
}
///
/// Gets and sets the property ScheduledScalingSuspended.
///
/// Whether scheduled scaling is suspended. Set the value to true
if you
/// don't want Application Auto Scaling to add or remove capacity by initiating scheduled
/// actions. The default is false
.
///
///
public bool ScheduledScalingSuspended
{
get { return this._scheduledScalingSuspended.GetValueOrDefault(); }
set { this._scheduledScalingSuspended = value; }
}
// Check to see if ScheduledScalingSuspended property is set
internal bool IsSetScheduledScalingSuspended()
{
return this._scheduledScalingSuspended.HasValue;
}
}
}