7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/AlarmSpecification.h>
9#include <aws/autoscaling/model/ScaleInProtectedInstances.h>
10#include <aws/autoscaling/model/StandbyInstances.h>
11#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace AutoScaling {
52 m_minHealthyPercentageHasBeenSet =
true;
53 m_minHealthyPercentage = value;
78 m_instanceWarmupHasBeenSet =
true;
79 m_instanceWarmup = value;
99 template <
typename Checkpo
intPercentagesT = Aws::Vector<
int>>
101 m_checkpointPercentagesHasBeenSet =
true;
102 m_checkpointPercentages = std::forward<CheckpointPercentagesT>(value);
104 template <
typename Checkpo
intPercentagesT = Aws::Vector<
int>>
110 m_checkpointPercentagesHasBeenSet =
true;
111 m_checkpointPercentages.push_back(value);
128 m_checkpointDelayHasBeenSet =
true;
129 m_checkpointDelay = value;
152 m_skipMatchingHasBeenSet =
true;
153 m_skipMatching = value;
180 m_autoRollbackHasBeenSet =
true;
181 m_autoRollback = value;
203 m_scaleInProtectedInstancesHasBeenSet =
true;
204 m_scaleInProtectedInstances = value;
227 m_standbyInstancesHasBeenSet =
true;
228 m_standbyInstances = value;
243 template <
typename AlarmSpecificationT = AlarmSpecification>
245 m_alarmSpecificationHasBeenSet =
true;
246 m_alarmSpecification = std::forward<AlarmSpecificationT>(value);
248 template <
typename AlarmSpecificationT = AlarmSpecification>
271 m_maxHealthyPercentageHasBeenSet =
true;
272 m_maxHealthyPercentage = value;
288 m_bakeTimeHasBeenSet =
true;
297 int m_minHealthyPercentage{0};
299 int m_instanceWarmup{0};
303 int m_checkpointDelay{0};
305 bool m_skipMatching{
false};
307 bool m_autoRollback{
false};
313 AlarmSpecification m_alarmSpecification;
315 int m_maxHealthyPercentage{0};
318 bool m_minHealthyPercentageHasBeenSet =
false;
319 bool m_instanceWarmupHasBeenSet =
false;
320 bool m_checkpointPercentagesHasBeenSet =
false;
321 bool m_checkpointDelayHasBeenSet =
false;
322 bool m_skipMatchingHasBeenSet =
false;
323 bool m_autoRollbackHasBeenSet =
false;
324 bool m_scaleInProtectedInstancesHasBeenSet =
false;
325 bool m_standbyInstancesHasBeenSet =
false;
326 bool m_alarmSpecificationHasBeenSet =
false;
327 bool m_maxHealthyPercentageHasBeenSet =
false;
328 bool m_bakeTimeHasBeenSet =
false;
RefreshPreferences & WithMinHealthyPercentage(int value)
bool SkipMatchingHasBeenSet() const
bool CheckpointDelayHasBeenSet() const
ScaleInProtectedInstances GetScaleInProtectedInstances() const
void SetMinHealthyPercentage(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)
RefreshPreferences & WithAutoRollback(bool value)
RefreshPreferences & WithCheckpointPercentages(CheckpointPercentagesT &&value)
bool MinHealthyPercentageHasBeenSet() const
bool InstanceWarmupHasBeenSet() const
bool ScaleInProtectedInstancesHasBeenSet() const
RefreshPreferences & WithAlarmSpecification(AlarmSpecificationT &&value)
bool CheckpointPercentagesHasBeenSet() const
bool BakeTimeHasBeenSet() const
void SetCheckpointDelay(int value)
void SetSkipMatching(bool value)
RefreshPreferences & WithBakeTime(int value)
void SetScaleInProtectedInstances(ScaleInProtectedInstances value)
StandbyInstances GetStandbyInstances() const
int GetMinHealthyPercentage() const
bool MaxHealthyPercentageHasBeenSet() const
bool GetSkipMatching() const
int GetMaxHealthyPercentage() const
const AlarmSpecification & GetAlarmSpecification() const
RefreshPreferences & WithInstanceWarmup(int value)
void SetAlarmSpecification(AlarmSpecificationT &&value)
RefreshPreferences & AddCheckpointPercentages(int value)
RefreshPreferences & WithScaleInProtectedInstances(ScaleInProtectedInstances value)
const Aws::Vector< int > & GetCheckpointPercentages() const
AWS_AUTOSCALING_API RefreshPreferences()=default
void SetCheckpointPercentages(CheckpointPercentagesT &&value)
void SetMaxHealthyPercentage(int value)
bool StandbyInstancesHasBeenSet() const
RefreshPreferences & WithStandbyInstances(StandbyInstances value)
RefreshPreferences & WithSkipMatching(bool value)
RefreshPreferences & WithCheckpointDelay(int value)
AWS_AUTOSCALING_API RefreshPreferences(const Aws::Utils::Xml::XmlNode &xmlNode)
bool AlarmSpecificationHasBeenSet() const
void SetStandbyInstances(StandbyInstances value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
int GetInstanceWarmup() const
void SetBakeTime(int value)
bool GetAutoRollback() const
bool AutoRollbackHasBeenSet() const
ScaleInProtectedInstances
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream