AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
StepAdjustment.h
1
6#pragma once
7#include <aws/application-autoscaling/ApplicationAutoScaling_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 ApplicationAutoScaling
20{
21namespace Model
22{
23
48 {
49 public:
50 AWS_APPLICATIONAUTOSCALING_API StepAdjustment();
51 AWS_APPLICATIONAUTOSCALING_API StepAdjustment(Aws::Utils::Json::JsonView jsonValue);
52 AWS_APPLICATIONAUTOSCALING_API StepAdjustment& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
65 inline double GetMetricIntervalLowerBound() const{ return m_metricIntervalLowerBound; }
66 inline bool MetricIntervalLowerBoundHasBeenSet() const { return m_metricIntervalLowerBoundHasBeenSet; }
67 inline void SetMetricIntervalLowerBound(double value) { m_metricIntervalLowerBoundHasBeenSet = true; m_metricIntervalLowerBound = value; }
68 inline StepAdjustment& WithMetricIntervalLowerBound(double value) { SetMetricIntervalLowerBound(value); return *this;}
70
72
80 inline double GetMetricIntervalUpperBound() const{ return m_metricIntervalUpperBound; }
81 inline bool MetricIntervalUpperBoundHasBeenSet() const { return m_metricIntervalUpperBoundHasBeenSet; }
82 inline void SetMetricIntervalUpperBound(double value) { m_metricIntervalUpperBoundHasBeenSet = true; m_metricIntervalUpperBound = value; }
83 inline StepAdjustment& WithMetricIntervalUpperBound(double value) { SetMetricIntervalUpperBound(value); return *this;}
85
87
93 inline int GetScalingAdjustment() const{ return m_scalingAdjustment; }
94 inline bool ScalingAdjustmentHasBeenSet() const { return m_scalingAdjustmentHasBeenSet; }
95 inline void SetScalingAdjustment(int value) { m_scalingAdjustmentHasBeenSet = true; m_scalingAdjustment = value; }
96 inline StepAdjustment& WithScalingAdjustment(int value) { SetScalingAdjustment(value); return *this;}
98 private:
99
100 double m_metricIntervalLowerBound;
101 bool m_metricIntervalLowerBoundHasBeenSet = false;
102
103 double m_metricIntervalUpperBound;
104 bool m_metricIntervalUpperBoundHasBeenSet = false;
105
106 int m_scalingAdjustment;
107 bool m_scalingAdjustmentHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace ApplicationAutoScaling
112} // namespace Aws
AWS_APPLICATIONAUTOSCALING_API StepAdjustment()
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 & operator=(Aws::Utils::Json::JsonView jsonValue)
StepAdjustment & WithMetricIntervalUpperBound(double value)
Aws::Utils::Json::JsonValue JsonValue