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
106 inline void SetCooldown(
int value) { m_cooldownHasBeenSet =
true; m_cooldown = value; }
126 bool m_adjustmentTypeHasBeenSet =
false;
129 bool m_stepAdjustmentsHasBeenSet =
false;
131 int m_minAdjustmentMagnitude;
132 bool m_minAdjustmentMagnitudeHasBeenSet =
false;
135 bool m_cooldownHasBeenSet =
false;
138 bool m_metricAggregationTypeHasBeenSet =
false;
bool MinAdjustmentMagnitudeHasBeenSet() const
void SetMinAdjustmentMagnitude(int value)
void SetMetricAggregationType(const MetricAggregationType &value)
bool MetricAggregationTypeHasBeenSet() const
StepScalingPolicyConfiguration & WithAdjustmentType(const AdjustmentType &value)
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
StepScalingPolicyConfiguration & WithStepAdjustments(Aws::Vector< StepAdjustment > &&value)
StepScalingPolicyConfiguration & AddStepAdjustments(StepAdjustment &&value)
StepScalingPolicyConfiguration & WithMinAdjustmentMagnitude(int value)
void SetStepAdjustments(Aws::Vector< StepAdjustment > &&value)
void SetCooldown(int value)
bool CooldownHasBeenSet() const
bool AdjustmentTypeHasBeenSet() const
const Aws::Vector< StepAdjustment > & GetStepAdjustments() const
bool StepAdjustmentsHasBeenSet() const
void SetAdjustmentType(AdjustmentType &&value)
void SetAdjustmentType(const AdjustmentType &value)
const MetricAggregationType & GetMetricAggregationType() const
const AdjustmentType & GetAdjustmentType() const
StepScalingPolicyConfiguration & WithAdjustmentType(AdjustmentType &&value)
StepScalingPolicyConfiguration & AddStepAdjustments(const StepAdjustment &value)
void SetStepAdjustments(const Aws::Vector< StepAdjustment > &value)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMetricAggregationType(MetricAggregationType &&value)
StepScalingPolicyConfiguration & WithMetricAggregationType(MetricAggregationType &&value)
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetMinAdjustmentMagnitude() const
StepScalingPolicyConfiguration & WithCooldown(int value)
AWS_APPLICATIONAUTOSCALING_API StepScalingPolicyConfiguration()
StepScalingPolicyConfiguration & WithMetricAggregationType(const MetricAggregationType &value)
StepScalingPolicyConfiguration & WithStepAdjustments(const Aws::Vector< StepAdjustment > &value)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue