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/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9
10namespace Aws
11{
12namespace Utils
13{
14namespace Xml
15{
16 class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace AutoScaling
20{
21namespace Model
22{
23
48 {
49 public:
50 AWS_AUTOSCALING_API StepAdjustment();
51 AWS_AUTOSCALING_API StepAdjustment(const Aws::Utils::Xml::XmlNode& xmlNode);
52 AWS_AUTOSCALING_API StepAdjustment& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
53
54 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
55 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
56
57
59
67 inline double GetMetricIntervalLowerBound() const{ return m_metricIntervalLowerBound; }
68 inline bool MetricIntervalLowerBoundHasBeenSet() const { return m_metricIntervalLowerBoundHasBeenSet; }
69 inline void SetMetricIntervalLowerBound(double value) { m_metricIntervalLowerBoundHasBeenSet = true; m_metricIntervalLowerBound = value; }
70 inline StepAdjustment& WithMetricIntervalLowerBound(double value) { SetMetricIntervalLowerBound(value); return *this;}
72
74
82 inline double GetMetricIntervalUpperBound() const{ return m_metricIntervalUpperBound; }
83 inline bool MetricIntervalUpperBoundHasBeenSet() const { return m_metricIntervalUpperBoundHasBeenSet; }
84 inline void SetMetricIntervalUpperBound(double value) { m_metricIntervalUpperBoundHasBeenSet = true; m_metricIntervalUpperBound = value; }
85 inline StepAdjustment& WithMetricIntervalUpperBound(double value) { SetMetricIntervalUpperBound(value); return *this;}
87
89
95 inline int GetScalingAdjustment() const{ return m_scalingAdjustment; }
96 inline bool ScalingAdjustmentHasBeenSet() const { return m_scalingAdjustmentHasBeenSet; }
97 inline void SetScalingAdjustment(int value) { m_scalingAdjustmentHasBeenSet = true; m_scalingAdjustment = value; }
98 inline StepAdjustment& WithScalingAdjustment(int value) { SetScalingAdjustment(value); return *this;}
100 private:
101
102 double m_metricIntervalLowerBound;
103 bool m_metricIntervalLowerBoundHasBeenSet = false;
104
105 double m_metricIntervalUpperBound;
106 bool m_metricIntervalUpperBoundHasBeenSet = false;
107
108 int m_scalingAdjustment;
109 bool m_scalingAdjustmentHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace AutoScaling
114} // namespace Aws
StepAdjustment & WithScalingAdjustment(int value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API StepAdjustment & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API StepAdjustment(const Aws::Utils::Xml::XmlNode &xmlNode)
StepAdjustment & WithMetricIntervalUpperBound(double value)
StepAdjustment & WithMetricIntervalLowerBound(double value)
std::basic_ostream< char, std::char_traits< char > > OStream