7#include <aws/autoscaling-plans/AutoScalingPlans_EXPORTS.h>
8#include <aws/autoscaling-plans/model/PredefinedScalingMetricSpecification.h>
9#include <aws/autoscaling-plans/model/CustomizedScalingMetricSpecification.h>
22namespace AutoScalingPlans
77 inline void SetTargetValue(
double value) { m_targetValueHasBeenSet =
true; m_targetValue = value; }
91 inline void SetDisableScaleIn(
bool value) { m_disableScaleInHasBeenSet =
true; m_disableScaleIn = value; }
108 inline void SetScaleOutCooldown(
int value) { m_scaleOutCooldownHasBeenSet =
true; m_scaleOutCooldown = value; }
126 inline void SetScaleInCooldown(
int value) { m_scaleInCooldownHasBeenSet =
true; m_scaleInCooldown = value; }
144 bool m_predefinedScalingMetricSpecificationHasBeenSet =
false;
147 bool m_customizedScalingMetricSpecificationHasBeenSet =
false;
149 double m_targetValue;
150 bool m_targetValueHasBeenSet =
false;
152 bool m_disableScaleIn;
153 bool m_disableScaleInHasBeenSet =
false;
155 int m_scaleOutCooldown;
156 bool m_scaleOutCooldownHasBeenSet =
false;
158 int m_scaleInCooldown;
159 bool m_scaleInCooldownHasBeenSet =
false;
161 int m_estimatedInstanceWarmup;
162 bool m_estimatedInstanceWarmupHasBeenSet =
false;
int GetScaleInCooldown() const
TargetTrackingConfiguration & WithScaleInCooldown(int value)
bool TargetValueHasBeenSet() const
int GetEstimatedInstanceWarmup() const
bool GetDisableScaleIn() const
TargetTrackingConfiguration & WithCustomizedScalingMetricSpecification(const CustomizedScalingMetricSpecification &value)
double GetTargetValue() const
AWS_AUTOSCALINGPLANS_API TargetTrackingConfiguration()
bool PredefinedScalingMetricSpecificationHasBeenSet() const
TargetTrackingConfiguration & WithScaleOutCooldown(int value)
void SetScaleOutCooldown(int value)
void SetPredefinedScalingMetricSpecification(const PredefinedScalingMetricSpecification &value)
bool ScaleOutCooldownHasBeenSet() const
void SetTargetValue(double value)
TargetTrackingConfiguration & WithPredefinedScalingMetricSpecification(const PredefinedScalingMetricSpecification &value)
TargetTrackingConfiguration & WithTargetValue(double value)
bool CustomizedScalingMetricSpecificationHasBeenSet() const
void SetCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecification &&value)
TargetTrackingConfiguration & WithPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecification &&value)
AWS_AUTOSCALINGPLANS_API TargetTrackingConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_AUTOSCALINGPLANS_API Aws::Utils::Json::JsonValue Jsonize() const
const PredefinedScalingMetricSpecification & GetPredefinedScalingMetricSpecification() const
void SetCustomizedScalingMetricSpecification(const CustomizedScalingMetricSpecification &value)
TargetTrackingConfiguration & WithEstimatedInstanceWarmup(int value)
void SetEstimatedInstanceWarmup(int value)
AWS_AUTOSCALINGPLANS_API TargetTrackingConfiguration(Aws::Utils::Json::JsonView jsonValue)
TargetTrackingConfiguration & WithDisableScaleIn(bool value)
bool DisableScaleInHasBeenSet() const
void SetPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecification &&value)
const CustomizedScalingMetricSpecification & GetCustomizedScalingMetricSpecification() const
bool EstimatedInstanceWarmupHasBeenSet() const
TargetTrackingConfiguration & WithCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecification &&value)
int GetScaleOutCooldown() const
void SetDisableScaleIn(bool value)
bool ScaleInCooldownHasBeenSet() const
void SetScaleInCooldown(int value)
Aws::Utils::Json::JsonValue JsonValue