7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
48 inline void SetDisableScaleIn(
bool value) { m_disableScaleInHasBeenSet =
true; m_disableScaleIn = value; }
60 inline void SetScaleInCooldown(
int value) { m_scaleInCooldownHasBeenSet =
true; m_scaleInCooldown = value; }
72 inline void SetScaleOutCooldown(
int value) { m_scaleOutCooldownHasBeenSet =
true; m_scaleOutCooldown = value; }
87 inline void SetTargetValue(
double value) { m_targetValueHasBeenSet =
true; m_targetValue = value; }
92 bool m_disableScaleIn;
93 bool m_disableScaleInHasBeenSet =
false;
95 int m_scaleInCooldown;
96 bool m_scaleInCooldownHasBeenSet =
false;
98 int m_scaleOutCooldown;
99 bool m_scaleOutCooldownHasBeenSet =
false;
101 double m_targetValue;
102 bool m_targetValueHasBeenSet =
false;
bool GetDisableScaleIn() const
void SetScaleInCooldown(int value)
TargetTrackingScalingPolicyConfiguration & WithScaleInCooldown(int value)
bool DisableScaleInHasBeenSet() const
TargetTrackingScalingPolicyConfiguration & WithDisableScaleIn(bool value)
double GetTargetValue() const
TargetTrackingScalingPolicyConfiguration & WithTargetValue(double value)
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration()
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetScaleOutCooldown() const
void SetDisableScaleIn(bool value)
bool TargetValueHasBeenSet() const
void SetScaleOutCooldown(int value)
TargetTrackingScalingPolicyConfiguration & WithScaleOutCooldown(int value)
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetTargetValue(double value)
int GetScaleInCooldown() const
bool ScaleOutCooldownHasBeenSet() const
bool ScaleInCooldownHasBeenSet() const
Aws::Utils::Json::JsonValue JsonValue