7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/autoscaling/model/ScaleInProtectedInstances.h>
11#include <aws/autoscaling/model/StandbyInstances.h>
12#include <aws/autoscaling/model/AlarmSpecification.h>
57 inline void SetMinHealthyPercentage(
int value) { m_minHealthyPercentageHasBeenSet =
true; m_minHealthyPercentage = value; }
77 inline void SetInstanceWarmup(
int value) { m_instanceWarmupHasBeenSet =
true; m_instanceWarmup = value; }
111 inline void SetCheckpointDelay(
int value) { m_checkpointDelayHasBeenSet =
true; m_checkpointDelay = value; }
129 inline void SetSkipMatching(
bool value) { m_skipMatchingHasBeenSet =
true; m_skipMatching = value; }
151 inline void SetAutoRollback(
bool value) { m_autoRollbackHasBeenSet =
true; m_autoRollback = value; }
233 inline void SetBakeTime(
int value) { m_bakeTimeHasBeenSet =
true; m_bakeTime = value; }
238 int m_minHealthyPercentage;
239 bool m_minHealthyPercentageHasBeenSet =
false;
241 int m_instanceWarmup;
242 bool m_instanceWarmupHasBeenSet =
false;
245 bool m_checkpointPercentagesHasBeenSet =
false;
247 int m_checkpointDelay;
248 bool m_checkpointDelayHasBeenSet =
false;
251 bool m_skipMatchingHasBeenSet =
false;
254 bool m_autoRollbackHasBeenSet =
false;
257 bool m_scaleInProtectedInstancesHasBeenSet =
false;
260 bool m_standbyInstancesHasBeenSet =
false;
263 bool m_alarmSpecificationHasBeenSet =
false;
265 int m_maxHealthyPercentage;
266 bool m_maxHealthyPercentageHasBeenSet =
false;
269 bool m_bakeTimeHasBeenSet =
false;
void SetAlarmSpecification(AlarmSpecification &&value)
RefreshPreferences & WithMinHealthyPercentage(int value)
bool SkipMatchingHasBeenSet() const
bool CheckpointDelayHasBeenSet() const
RefreshPreferences & WithStandbyInstances(const StandbyInstances &value)
void SetAlarmSpecification(const AlarmSpecification &value)
void SetMinHealthyPercentage(int value)
void SetCheckpointPercentages(const Aws::Vector< int > &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetInstanceWarmup(int value)
void SetAutoRollback(bool value)
RefreshPreferences & WithMaxHealthyPercentage(int value)
int GetCheckpointDelay() const
AWS_AUTOSCALING_API RefreshPreferences & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetStandbyInstances(StandbyInstances &&value)
const ScaleInProtectedInstances & GetScaleInProtectedInstances() const
RefreshPreferences & WithAutoRollback(bool value)
RefreshPreferences & WithCheckpointPercentages(const Aws::Vector< int > &value)
RefreshPreferences & WithStandbyInstances(StandbyInstances &&value)
bool MinHealthyPercentageHasBeenSet() const
bool InstanceWarmupHasBeenSet() const
void SetScaleInProtectedInstances(ScaleInProtectedInstances &&value)
bool ScaleInProtectedInstancesHasBeenSet() const
bool CheckpointPercentagesHasBeenSet() const
bool BakeTimeHasBeenSet() const
RefreshPreferences & WithScaleInProtectedInstances(const ScaleInProtectedInstances &value)
void SetCheckpointDelay(int value)
void SetSkipMatching(bool value)
RefreshPreferences & WithBakeTime(int value)
RefreshPreferences & WithAlarmSpecification(AlarmSpecification &&value)
int GetMinHealthyPercentage() const
bool MaxHealthyPercentageHasBeenSet() const
void SetStandbyInstances(const StandbyInstances &value)
bool GetSkipMatching() const
RefreshPreferences & WithAlarmSpecification(const AlarmSpecification &value)
AWS_AUTOSCALING_API RefreshPreferences()
int GetMaxHealthyPercentage() const
RefreshPreferences & WithScaleInProtectedInstances(ScaleInProtectedInstances &&value)
const AlarmSpecification & GetAlarmSpecification() const
RefreshPreferences & WithInstanceWarmup(int value)
RefreshPreferences & AddCheckpointPercentages(int value)
const Aws::Vector< int > & GetCheckpointPercentages() const
RefreshPreferences & WithCheckpointPercentages(Aws::Vector< int > &&value)
void SetMaxHealthyPercentage(int value)
bool StandbyInstancesHasBeenSet() const
void SetCheckpointPercentages(Aws::Vector< int > &&value)
RefreshPreferences & WithSkipMatching(bool value)
RefreshPreferences & WithCheckpointDelay(int value)
AWS_AUTOSCALING_API RefreshPreferences(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AlarmSpecificationHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetScaleInProtectedInstances(const ScaleInProtectedInstances &value)
int GetInstanceWarmup() const
void SetBakeTime(int value)
bool GetAutoRollback() const
bool AutoRollbackHasBeenSet() const
const StandbyInstances & GetStandbyInstances() const
ScaleInProtectedInstances
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream