AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TargetTrackingScalingPolicyConfiguration.h
1
6#pragma once
7#include <aws/keyspaces/Keyspaces_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Keyspaces
20{
21namespace Model
22{
23
31 {
32 public:
36 AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
46 inline bool GetDisableScaleIn() const{ return m_disableScaleIn; }
47 inline bool DisableScaleInHasBeenSet() const { return m_disableScaleInHasBeenSet; }
48 inline void SetDisableScaleIn(bool value) { m_disableScaleInHasBeenSet = true; m_disableScaleIn = value; }
51
53
58 inline int GetScaleInCooldown() const{ return m_scaleInCooldown; }
59 inline bool ScaleInCooldownHasBeenSet() const { return m_scaleInCooldownHasBeenSet; }
60 inline void SetScaleInCooldown(int value) { m_scaleInCooldownHasBeenSet = true; m_scaleInCooldown = value; }
63
65
70 inline int GetScaleOutCooldown() const{ return m_scaleOutCooldown; }
71 inline bool ScaleOutCooldownHasBeenSet() const { return m_scaleOutCooldownHasBeenSet; }
72 inline void SetScaleOutCooldown(int value) { m_scaleOutCooldownHasBeenSet = true; m_scaleOutCooldown = value; }
75
77
85 inline double GetTargetValue() const{ return m_targetValue; }
86 inline bool TargetValueHasBeenSet() const { return m_targetValueHasBeenSet; }
87 inline void SetTargetValue(double value) { m_targetValueHasBeenSet = true; m_targetValue = value; }
88 inline TargetTrackingScalingPolicyConfiguration& WithTargetValue(double value) { SetTargetValue(value); return *this;}
90 private:
91
92 bool m_disableScaleIn;
93 bool m_disableScaleInHasBeenSet = false;
94
95 int m_scaleInCooldown;
96 bool m_scaleInCooldownHasBeenSet = false;
97
98 int m_scaleOutCooldown;
99 bool m_scaleOutCooldownHasBeenSet = false;
100
101 double m_targetValue;
102 bool m_targetValueHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace Keyspaces
107} // namespace Aws
AWS_KEYSPACES_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KEYSPACES_API TargetTrackingScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue