7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/model/AdjustmentType.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/application-autoscaling/model/MetricAggregationType.h>
11#include <aws/application-autoscaling/model/StepAdjustment.h>
24namespace ApplicationAutoScaling
70 template<
typename StepAdjustmentsT = Aws::Vector<StepAdjustment>>
71 void SetStepAdjustments(StepAdjustmentsT&& value) { m_stepAdjustmentsHasBeenSet =
true; m_stepAdjustments = std::forward<StepAdjustmentsT>(value); }
72 template<
typename StepAdjustmentsT = Aws::Vector<StepAdjustment>>
74 template<
typename StepAdjustmentsT = StepAdjustment>
104 inline void SetCooldown(
int value) { m_cooldownHasBeenSet =
true; m_cooldown = value; }
122 bool m_adjustmentTypeHasBeenSet =
false;
125 bool m_stepAdjustmentsHasBeenSet =
false;
127 int m_minAdjustmentMagnitude{0};
128 bool m_minAdjustmentMagnitudeHasBeenSet =
false;
131 bool m_cooldownHasBeenSet =
false;
134 bool m_metricAggregationTypeHasBeenSet =
false;
bool MinAdjustmentMagnitudeHasBeenSet() const
void SetMinAdjustmentMagnitude(int value)
StepScalingPolicyConfiguration & WithMetricAggregationType(MetricAggregationType value)
bool MetricAggregationTypeHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
StepScalingPolicyConfiguration & WithMinAdjustmentMagnitude(int value)
MetricAggregationType GetMetricAggregationType() const
void SetCooldown(int value)
bool CooldownHasBeenSet() const
bool AdjustmentTypeHasBeenSet() const
const Aws::Vector< StepAdjustment > & GetStepAdjustments() const
bool StepAdjustmentsHasBeenSet() const
StepScalingPolicyConfiguration & WithStepAdjustments(StepAdjustmentsT &&value)
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration()=default
void SetAdjustmentType(AdjustmentType value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
AdjustmentType GetAdjustmentType() const
void SetStepAdjustments(StepAdjustmentsT &&value)
StepScalingPolicyConfiguration & AddStepAdjustments(StepAdjustmentsT &&value)
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
StepScalingPolicyConfiguration & WithAdjustmentType(AdjustmentType value)
int GetMinAdjustmentMagnitude() const
StepScalingPolicyConfiguration & WithCooldown(int value)
void SetMetricAggregationType(MetricAggregationType value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue