7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/application-autoscaling/model/PredictiveScalingMode.h>
10#include <aws/application-autoscaling/model/PredictiveScalingMaxCapacityBreachBehavior.h>
11#include <aws/application-autoscaling/model/PredictiveScalingMetricSpecification.h>
24namespace ApplicationAutoScaling
54 template<
typename MetricSpecificationsT = Aws::Vector<PredictiveScalingMetricSpecification>>
55 void SetMetricSpecifications(MetricSpecificationsT&& value) { m_metricSpecificationsHasBeenSet =
true; m_metricSpecifications = std::forward<MetricSpecificationsT>(value); }
56 template<
typename MetricSpecificationsT = Aws::Vector<PredictiveScalingMetricSpecification>>
58 template<
typename MetricSpecificationsT = PredictiveScalingMetricSpecification>
81 inline void SetSchedulingBufferTime(
int value) { m_schedulingBufferTimeHasBeenSet =
true; m_schedulingBufferTime = value; }
109 inline void SetMaxCapacityBuffer(
int value) { m_maxCapacityBufferHasBeenSet =
true; m_maxCapacityBuffer = value; }
115 bool m_metricSpecificationsHasBeenSet =
false;
118 bool m_modeHasBeenSet =
false;
120 int m_schedulingBufferTime{0};
121 bool m_schedulingBufferTimeHasBeenSet =
false;
124 bool m_maxCapacityBreachBehaviorHasBeenSet =
false;
126 int m_maxCapacityBuffer{0};
127 bool m_maxCapacityBufferHasBeenSet =
false;
bool MaxCapacityBufferHasBeenSet() const
bool ModeHasBeenSet() const
const Aws::Vector< PredictiveScalingMetricSpecification > & GetMetricSpecifications() const
int GetMaxCapacityBuffer() const
bool MaxCapacityBreachBehaviorHasBeenSet() const
PredictiveScalingPolicyConfiguration & WithMode(PredictiveScalingMode value)
PredictiveScalingPolicyConfiguration & WithSchedulingBufferTime(int value)
void SetMetricSpecifications(MetricSpecificationsT &&value)
PredictiveScalingMaxCapacityBreachBehavior GetMaxCapacityBreachBehavior() const
PredictiveScalingMode GetMode() const
PredictiveScalingPolicyConfiguration & WithMetricSpecifications(MetricSpecificationsT &&value)
PredictiveScalingPolicyConfiguration & WithMaxCapacityBuffer(int value)
PredictiveScalingPolicyConfiguration & WithMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior value)
bool MetricSpecificationsHasBeenSet() const
void SetMaxCapacityBreachBehavior(PredictiveScalingMaxCapacityBreachBehavior value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingPolicyConfiguration()=default
bool SchedulingBufferTimeHasBeenSet() const
PredictiveScalingPolicyConfiguration & AddMetricSpecifications(MetricSpecificationsT &&value)
void SetMode(PredictiveScalingMode value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingPolicyConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingPolicyConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetSchedulingBufferTime() const
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
void SetMaxCapacityBuffer(int value)
void SetSchedulingBufferTime(int value)
PredictiveScalingMaxCapacityBreachBehavior
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue