AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StepAdjustment.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8
9namespace Aws {
10namespace Utils {
11namespace Json {
12class JsonValue;
13class JsonView;
14} // namespace Json
15} // namespace Utils
16namespace ApplicationAutoScaling {
17namespace Model {
18
43 public:
44 AWS_APPLICATIONAUTOSCALING_API StepAdjustment() = default;
45 AWS_APPLICATIONAUTOSCALING_API StepAdjustment(Aws::Utils::Json::JsonView jsonValue);
46 AWS_APPLICATIONAUTOSCALING_API StepAdjustment& operator=(Aws::Utils::Json::JsonView jsonValue);
47 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
48
50
58 inline double GetMetricIntervalLowerBound() const { return m_metricIntervalLowerBound; }
59 inline bool MetricIntervalLowerBoundHasBeenSet() const { return m_metricIntervalLowerBoundHasBeenSet; }
60 inline void SetMetricIntervalLowerBound(double value) {
61 m_metricIntervalLowerBoundHasBeenSet = true;
62 m_metricIntervalLowerBound = value;
63 }
66 return *this;
67 }
69
71
79 inline double GetMetricIntervalUpperBound() const { return m_metricIntervalUpperBound; }
80 inline bool MetricIntervalUpperBoundHasBeenSet() const { return m_metricIntervalUpperBoundHasBeenSet; }
81 inline void SetMetricIntervalUpperBound(double value) {
82 m_metricIntervalUpperBoundHasBeenSet = true;
83 m_metricIntervalUpperBound = value;
84 }
87 return *this;
88 }
90
92
98 inline int GetScalingAdjustment() const { return m_scalingAdjustment; }
99 inline bool ScalingAdjustmentHasBeenSet() const { return m_scalingAdjustmentHasBeenSet; }
100 inline void SetScalingAdjustment(int value) {
101 m_scalingAdjustmentHasBeenSet = true;
102 m_scalingAdjustment = value;
103 }
106 return *this;
107 }
109 private:
110 double m_metricIntervalLowerBound{0.0};
111
112 double m_metricIntervalUpperBound{0.0};
113
114 int m_scalingAdjustment{0};
115 bool m_metricIntervalLowerBoundHasBeenSet = false;
116 bool m_metricIntervalUpperBoundHasBeenSet = false;
117 bool m_scalingAdjustmentHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace ApplicationAutoScaling
122} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API StepAdjustment(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
StepAdjustment & WithMetricIntervalLowerBound(double value)
AWS_APPLICATIONAUTOSCALING_API StepAdjustment()=default
AWS_APPLICATIONAUTOSCALING_API StepAdjustment & operator=(Aws::Utils::Json::JsonView jsonValue)
StepAdjustment & WithMetricIntervalUpperBound(double value)
Aws::Utils::Json::JsonValue JsonValue