7#include <aws/crt/cbor/Cbor.h>
8#include <aws/keyspaces/Keyspaces_EXPORTS.h>
30 AWS_KEYSPACES_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
42 m_disableScaleInHasBeenSet =
true;
43 m_disableScaleIn = value;
60 m_scaleInCooldownHasBeenSet =
true;
61 m_scaleInCooldown = value;
78 m_scaleOutCooldownHasBeenSet =
true;
79 m_scaleOutCooldown = value;
99 m_targetValueHasBeenSet =
true;
100 m_targetValue = value;
108 bool m_disableScaleIn{
false};
110 int64_t m_scaleInCooldown{0};
112 int64_t m_scaleOutCooldown{0};
114 double m_targetValue{0.0};
115 bool m_disableScaleInHasBeenSet =
false;
116 bool m_scaleInCooldownHasBeenSet =
false;
117 bool m_scaleOutCooldownHasBeenSet =
false;
118 bool m_targetValueHasBeenSet =
false;
bool GetDisableScaleIn() const
int64_t GetScaleInCooldown() const
bool DisableScaleInHasBeenSet() const
TargetTrackingScalingPolicyConfiguration & WithDisableScaleIn(bool value)
double GetTargetValue() const
TargetTrackingScalingPolicyConfiguration & WithTargetValue(double value)
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetScaleOutCooldown() const
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration()=default
void SetScaleInCooldown(int64_t value)
void SetDisableScaleIn(bool value)
bool TargetValueHasBeenSet() const
void SetScaleOutCooldown(int64_t value)
TargetTrackingScalingPolicyConfiguration & WithScaleInCooldown(int64_t value)
TargetTrackingScalingPolicyConfiguration & WithScaleOutCooldown(int64_t value)
void SetTargetValue(double value)
bool ScaleOutCooldownHasBeenSet() const
bool ScaleInCooldownHasBeenSet() const
AWS_KEYSPACES_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const