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/PredictiveScalingMode.h>
11#include <aws/autoscaling/model/PredictiveScalingMaxCapacityBreachBehavior.h>
12#include <aws/autoscaling/model/PredictiveScalingMetricSpecification.h>
91 inline void SetSchedulingBufferTime(
int value) { m_schedulingBufferTimeHasBeenSet =
true; m_schedulingBufferTime = value; }
136 inline void SetMaxCapacityBuffer(
int value) { m_maxCapacityBufferHasBeenSet =
true; m_maxCapacityBuffer = value; }
142 bool m_metricSpecificationsHasBeenSet =
false;
145 bool m_modeHasBeenSet =
false;
147 int m_schedulingBufferTime;
148 bool m_schedulingBufferTimeHasBeenSet =
false;
151 bool m_maxCapacityBreachBehaviorHasBeenSet =
false;
153 int m_maxCapacityBuffer;
154 bool m_maxCapacityBufferHasBeenSet =
false;
bool MetricSpecificationsHasBeenSet() const
bool ModeHasBeenSet() const
void SetSchedulingBufferTime(int value)
PredictiveScalingConfiguration & AddMetricSpecifications(PredictiveScalingMetricSpecification &&value)
PredictiveScalingConfiguration & WithMetricSpecifications(Aws::Vector< PredictiveScalingMetricSpecification > &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetMaxCapacityBreachBehavior(const PredictiveScalingMaxCapacityBreachBehavior &value)
void SetMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior &&value)
AWS_AUTOSCALING_API PredictiveScalingConfiguration()
void SetMode(const PredictiveScalingMode &value)
void SetMode(PredictiveScalingMode &&value)
bool MaxCapacityBreachBehaviorHasBeenSet() const
AWS_AUTOSCALING_API PredictiveScalingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
bool SchedulingBufferTimeHasBeenSet() const
PredictiveScalingConfiguration & WithSchedulingBufferTime(int value)
PredictiveScalingConfiguration & WithMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior &&value)
PredictiveScalingConfiguration & WithMetricSpecifications(const Aws::Vector< PredictiveScalingMetricSpecification > &value)
const PredictiveScalingMaxCapacityBreachBehavior & GetMaxCapacityBreachBehavior() const
void SetMetricSpecifications(Aws::Vector< PredictiveScalingMetricSpecification > &&value)
PredictiveScalingConfiguration & WithMaxCapacityBuffer(int value)
AWS_AUTOSCALING_API PredictiveScalingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PredictiveScalingConfiguration & AddMetricSpecifications(const PredictiveScalingMetricSpecification &value)
PredictiveScalingConfiguration & WithMaxCapacityBreachBehavior(const PredictiveScalingMaxCapacityBreachBehavior &value)
int GetMaxCapacityBuffer() const
void SetMetricSpecifications(const Aws::Vector< PredictiveScalingMetricSpecification > &value)
const PredictiveScalingMode & GetMode() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMaxCapacityBuffer(int value)
PredictiveScalingConfiguration & WithMode(PredictiveScalingMode &&value)
PredictiveScalingConfiguration & WithMode(const PredictiveScalingMode &value)
int GetSchedulingBufferTime() const
const Aws::Vector< PredictiveScalingMetricSpecification > & GetMetricSpecifications() const
bool MaxCapacityBufferHasBeenSet() const
PredictiveScalingMaxCapacityBreachBehavior
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream