7#include <aws/opsworks/OpsWorks_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetInstanceCount(
int value) { m_instanceCountHasBeenSet =
true; m_instanceCount = value; }
61 inline void SetThresholdsWaitTime(
int value) { m_thresholdsWaitTimeHasBeenSet =
true; m_thresholdsWaitTime = value; }
78 inline void SetIgnoreMetricsTime(
int value) { m_ignoreMetricsTimeHasBeenSet =
true; m_ignoreMetricsTime = value; }
89 inline void SetCpuThreshold(
double value) { m_cpuThresholdHasBeenSet =
true; m_cpuThreshold = value; }
100 inline void SetMemoryThreshold(
double value) { m_memoryThresholdHasBeenSet =
true; m_memoryThreshold = value; }
113 inline void SetLoadThreshold(
double value) { m_loadThresholdHasBeenSet =
true; m_loadThreshold = value; }
141 bool m_instanceCountHasBeenSet =
false;
143 int m_thresholdsWaitTime;
144 bool m_thresholdsWaitTimeHasBeenSet =
false;
146 int m_ignoreMetricsTime;
147 bool m_ignoreMetricsTimeHasBeenSet =
false;
149 double m_cpuThreshold;
150 bool m_cpuThresholdHasBeenSet =
false;
152 double m_memoryThreshold;
153 bool m_memoryThresholdHasBeenSet =
false;
155 double m_loadThreshold;
156 bool m_loadThresholdHasBeenSet =
false;
159 bool m_alarmsHasBeenSet =
false;
void SetThresholdsWaitTime(int value)
AutoScalingThresholds & WithCpuThreshold(double value)
bool InstanceCountHasBeenSet() const
void SetAlarms(const Aws::Vector< Aws::String > &value)
AWS_OPSWORKS_API AutoScalingThresholds(Aws::Utils::Json::JsonView jsonValue)
int GetThresholdsWaitTime() const
AWS_OPSWORKS_API AutoScalingThresholds()
AutoScalingThresholds & WithIgnoreMetricsTime(int value)
int GetIgnoreMetricsTime() const
bool ThresholdsWaitTimeHasBeenSet() const
AWS_OPSWORKS_API AutoScalingThresholds & operator=(Aws::Utils::Json::JsonView jsonValue)
double GetCpuThreshold() const
void SetMemoryThreshold(double value)
bool AlarmsHasBeenSet() const
AutoScalingThresholds & WithAlarms(const Aws::Vector< Aws::String > &value)
bool IgnoreMetricsTimeHasBeenSet() const
AWS_OPSWORKS_API Aws::Utils::Json::JsonValue Jsonize() const
AutoScalingThresholds & AddAlarms(const Aws::String &value)
void SetLoadThreshold(double value)
void SetInstanceCount(int value)
bool CpuThresholdHasBeenSet() const
bool LoadThresholdHasBeenSet() const
AutoScalingThresholds & WithMemoryThreshold(double value)
double GetLoadThreshold() const
AutoScalingThresholds & WithInstanceCount(int value)
int GetInstanceCount() const
double GetMemoryThreshold() const
AutoScalingThresholds & AddAlarms(const char *value)
const Aws::Vector< Aws::String > & GetAlarms() const
void SetAlarms(Aws::Vector< Aws::String > &&value)
AutoScalingThresholds & AddAlarms(Aws::String &&value)
AutoScalingThresholds & WithAlarms(Aws::Vector< Aws::String > &&value)
AutoScalingThresholds & WithThresholdsWaitTime(int value)
AutoScalingThresholds & WithLoadThreshold(double value)
bool MemoryThresholdHasBeenSet() const
void SetCpuThreshold(double value)
void SetIgnoreMetricsTime(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue