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>
56 template<
typename MetricSpecificationsT = Aws::Vector<PredictiveScalingMetricSpecification>>
57 void SetMetricSpecifications(MetricSpecificationsT&& value) { m_metricSpecificationsHasBeenSet =
true; m_metricSpecifications = std::forward<MetricSpecificationsT>(value); }
58 template<
typename MetricSpecificationsT = Aws::Vector<PredictiveScalingMetricSpecification>>
60 template<
typename MetricSpecificationsT = PredictiveScalingMetricSpecification>
89 inline void SetSchedulingBufferTime(
int value) { m_schedulingBufferTimeHasBeenSet =
true; m_schedulingBufferTime = value; }
132 inline void SetMaxCapacityBuffer(
int value) { m_maxCapacityBufferHasBeenSet =
true; m_maxCapacityBuffer = value; }
138 bool m_metricSpecificationsHasBeenSet =
false;
141 bool m_modeHasBeenSet =
false;
143 int m_schedulingBufferTime{0};
144 bool m_schedulingBufferTimeHasBeenSet =
false;
147 bool m_maxCapacityBreachBehaviorHasBeenSet =
false;
149 int m_maxCapacityBuffer{0};
150 bool m_maxCapacityBufferHasBeenSet =
false;
bool MetricSpecificationsHasBeenSet() const
bool ModeHasBeenSet() const
void SetSchedulingBufferTime(int value)
AWS_AUTOSCALING_API PredictiveScalingConfiguration()=default
PredictiveScalingMode GetMode() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PredictiveScalingConfiguration & AddMetricSpecifications(MetricSpecificationsT &&value)
void SetMode(PredictiveScalingMode value)
bool MaxCapacityBreachBehaviorHasBeenSet() const
AWS_AUTOSCALING_API PredictiveScalingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetMetricSpecifications(MetricSpecificationsT &&value)
bool SchedulingBufferTimeHasBeenSet() const
PredictiveScalingConfiguration & WithSchedulingBufferTime(int value)
PredictiveScalingConfiguration & WithMetricSpecifications(MetricSpecificationsT &&value)
PredictiveScalingConfiguration & WithMaxCapacityBuffer(int value)
AWS_AUTOSCALING_API PredictiveScalingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
int GetMaxCapacityBuffer() const
PredictiveScalingMaxCapacityBreachBehavior GetMaxCapacityBreachBehavior() const
PredictiveScalingConfiguration & WithMode(PredictiveScalingMode value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PredictiveScalingConfiguration & WithMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior value)
void SetMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior value)
void SetMaxCapacityBuffer(int 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