47 void OutputToStream(
Aws::OStream& ostream,
const char* location,
unsigned index,
const char* locationValue)
const;
48 void OutputToStream(
Aws::OStream& oStream,
const char* location)
const;
68 inline void SetAutoScalingGroupName(
const char* value) { m_autoScalingGroupNameHasBeenSet =
true; m_autoScalingGroupName.assign(value); }
103 inline void SetPolicyName(
const char* value) { m_policyNameHasBeenSet =
true; m_policyName.assign(value); }
138 inline void SetPolicyARN(
const char* value) { m_policyARNHasBeenSet =
true; m_policyARN.assign(value); }
177 inline void SetPolicyType(
const char* value) { m_policyTypeHasBeenSet =
true; m_policyType.assign(value); }
223 inline void SetAdjustmentType(
const char* value) { m_adjustmentTypeHasBeenSet =
true; m_adjustmentType.assign(value); }
256 inline void SetMinAdjustmentStep(
int value) { m_minAdjustmentStepHasBeenSet =
true; m_minAdjustmentStep = value; }
303 inline void SetScalingAdjustment(
int value) { m_scalingAdjustmentHasBeenSet =
true; m_scalingAdjustment = value; }
322 inline void SetCooldown(
int value) { m_cooldownHasBeenSet =
true; m_cooldown = value; }
394 inline void SetMetricAggregationType(
const char* value) { m_metricAggregationTypeHasBeenSet =
true; m_metricAggregationType.assign(value); }
469 bool m_autoScalingGroupNameHasBeenSet;
471 bool m_policyNameHasBeenSet;
473 bool m_policyARNHasBeenSet;
475 bool m_policyTypeHasBeenSet;
477 bool m_adjustmentTypeHasBeenSet;
478 int m_minAdjustmentStep;
479 bool m_minAdjustmentStepHasBeenSet;
480 int m_minAdjustmentMagnitude;
481 bool m_minAdjustmentMagnitudeHasBeenSet;
482 int m_scalingAdjustment;
483 bool m_scalingAdjustmentHasBeenSet;
485 bool m_cooldownHasBeenSet;
487 bool m_stepAdjustmentsHasBeenSet;
489 bool m_metricAggregationTypeHasBeenSet;
490 int m_estimatedInstanceWarmup;
491 bool m_estimatedInstanceWarmupHasBeenSet;
493 bool m_alarmsHasBeenSet;
void SetPolicyARN(const char *value)
ScalingPolicy & WithScalingAdjustment(int value)
ScalingPolicy & WithPolicyName(const char *value)
ScalingPolicy & WithAdjustmentType(Aws::String &&value)
void SetAdjustmentType(Aws::String &&value)
ScalingPolicy & WithPolicyType(const char *value)
void SetPolicyType(const char *value)
ScalingPolicy & WithMinAdjustmentStep(int value)
ScalingPolicy & WithCooldown(int value)
const Aws::String & GetAutoScalingGroupName() const
ScalingPolicy & WithAlarms(const Aws::Vector< Alarm > &value)
ScalingPolicy & WithAutoScalingGroupName(const Aws::String &value)
void SetMinAdjustmentMagnitude(int value)
const Aws::String & GetPolicyARN() const
ScalingPolicy & WithPolicyARN(const char *value)
void SetMetricAggregationType(Aws::String &&value)
ScalingPolicy & WithMetricAggregationType(Aws::String &&value)
void SetMetricAggregationType(const Aws::String &value)
ScalingPolicy & WithMetricAggregationType(const Aws::String &value)
int GetMinAdjustmentMagnitude() const
void SetStepAdjustments(const Aws::Vector< StepAdjustment > &value)
const Aws::String & GetAdjustmentType() const
std::vector< T, Aws::Allocator< T > > Vector
void SetMinAdjustmentStep(int value)
ScalingPolicy & WithMetricAggregationType(const char *value)
ScalingPolicy & WithStepAdjustments(Aws::Vector< StepAdjustment > &&value)
void SetCooldown(int value)
void SetStepAdjustments(Aws::Vector< StepAdjustment > &&value)
ScalingPolicy & WithAdjustmentType(const Aws::String &value)
void SetAdjustmentType(const char *value)
void SetAutoScalingGroupName(const Aws::String &value)
ScalingPolicy & WithStepAdjustments(const Aws::Vector< StepAdjustment > &value)
const Aws::Vector< Alarm > & GetAlarms() const
int GetEstimatedInstanceWarmup() const
ScalingPolicy & WithAdjustmentType(const char *value)
ScalingPolicy & AddStepAdjustments(const StepAdjustment &value)
ScalingPolicy & WithAutoScalingGroupName(Aws::String &&value)
void SetMetricAggregationType(const char *value)
std::basic_ostream< char, std::char_traits< char > > OStream
void SetPolicyName(Aws::String &&value)
void SetPolicyType(const Aws::String &value)
void SetEstimatedInstanceWarmup(int value)
void SetAlarms(const Aws::Vector< Alarm > &value)
ScalingPolicy & WithAlarms(Aws::Vector< Alarm > &&value)
ScalingPolicy & WithPolicyType(Aws::String &&value)
ScalingPolicy & WithAutoScalingGroupName(const char *value)
const Aws::String & GetMetricAggregationType() const
void SetPolicyName(const char *value)
ScalingPolicy & WithEstimatedInstanceWarmup(int value)
const Aws::String & GetPolicyType() const
void SetScalingAdjustment(int value)
const Aws::String & GetPolicyName() const
ScalingPolicy & WithPolicyName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
void SetPolicyARN(Aws::String &&value)
void SetPolicyName(const Aws::String &value)
void SetAlarms(Aws::Vector< Alarm > &&value)
ScalingPolicy & WithPolicyType(const Aws::String &value)
ScalingPolicy & AddStepAdjustments(StepAdjustment &&value)
ScalingPolicy & AddAlarms(Alarm &&value)
void SetAdjustmentType(const Aws::String &value)
void SetAutoScalingGroupName(Aws::String &&value)
void SetPolicyARN(const Aws::String &value)
ScalingPolicy & WithMinAdjustmentMagnitude(int value)
int GetMinAdjustmentStep() const
ScalingPolicy & WithPolicyARN(const Aws::String &value)
ScalingPolicy & WithPolicyARN(Aws::String &&value)
#define AWS_AUTOSCALING_API
void SetAutoScalingGroupName(const char *value)
ScalingPolicy & AddAlarms(const Alarm &value)
int GetScalingAdjustment() const
ScalingPolicy & WithPolicyName(Aws::String &&value)
const Aws::Vector< StepAdjustment > & GetStepAdjustments() const
void SetPolicyType(Aws::String &&value)
JSON (JavaScript Object Notation).