7#include <aws/application-autoscaling/ApplicationAutoScaling_EXPORTS.h>
8#include <aws/application-autoscaling/model/PredictiveScalingPredefinedMetricPairSpecification.h>
9#include <aws/application-autoscaling/model/PredictiveScalingPredefinedScalingMetricSpecification.h>
10#include <aws/application-autoscaling/model/PredictiveScalingPredefinedLoadMetricSpecification.h>
11#include <aws/application-autoscaling/model/PredictiveScalingCustomizedMetricSpecification.h>
24namespace ApplicationAutoScaling
55 inline void SetTargetValue(
double value) { m_targetValueHasBeenSet =
true; m_targetValue = value; }
66 template<
typename PredefinedMetricPairSpecificationT = PredictiveScalingPredefinedMetricPairSpecification>
67 void SetPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT&& value) { m_predefinedMetricPairSpecificationHasBeenSet =
true; m_predefinedMetricPairSpecification = std::forward<PredefinedMetricPairSpecificationT>(value); }
68 template<
typename PredefinedMetricPairSpecificationT = PredictiveScalingPredefinedMetricPairSpecification>
78 template<
typename PredefinedScalingMetricSpecificationT = PredictiveScalingPredefinedScalingMetricSpecification>
79 void SetPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT&& value) { m_predefinedScalingMetricSpecificationHasBeenSet =
true; m_predefinedScalingMetricSpecification = std::forward<PredefinedScalingMetricSpecificationT>(value); }
80 template<
typename PredefinedScalingMetricSpecificationT = PredictiveScalingPredefinedScalingMetricSpecification>
90 template<
typename PredefinedLoadMetricSpecificationT = PredictiveScalingPredefinedLoadMetricSpecification>
91 void SetPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT&& value) { m_predefinedLoadMetricSpecificationHasBeenSet =
true; m_predefinedLoadMetricSpecification = std::forward<PredefinedLoadMetricSpecificationT>(value); }
92 template<
typename PredefinedLoadMetricSpecificationT = PredictiveScalingPredefinedLoadMetricSpecification>
102 template<
typename CustomizedScalingMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
103 void SetCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT&& value) { m_customizedScalingMetricSpecificationHasBeenSet =
true; m_customizedScalingMetricSpecification = std::forward<CustomizedScalingMetricSpecificationT>(value); }
104 template<
typename CustomizedScalingMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
114 template<
typename CustomizedLoadMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
115 void SetCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT&& value) { m_customizedLoadMetricSpecificationHasBeenSet =
true; m_customizedLoadMetricSpecification = std::forward<CustomizedLoadMetricSpecificationT>(value); }
116 template<
typename CustomizedLoadMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
126 template<
typename CustomizedCapacityMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
127 void SetCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT&& value) { m_customizedCapacityMetricSpecificationHasBeenSet =
true; m_customizedCapacityMetricSpecification = std::forward<CustomizedCapacityMetricSpecificationT>(value); }
128 template<
typename CustomizedCapacityMetricSpecificationT = PredictiveScalingCustomizedMetricSpecification>
133 double m_targetValue{0.0};
134 bool m_targetValueHasBeenSet =
false;
136 PredictiveScalingPredefinedMetricPairSpecification m_predefinedMetricPairSpecification;
137 bool m_predefinedMetricPairSpecificationHasBeenSet =
false;
139 PredictiveScalingPredefinedScalingMetricSpecification m_predefinedScalingMetricSpecification;
140 bool m_predefinedScalingMetricSpecificationHasBeenSet =
false;
142 PredictiveScalingPredefinedLoadMetricSpecification m_predefinedLoadMetricSpecification;
143 bool m_predefinedLoadMetricSpecificationHasBeenSet =
false;
145 PredictiveScalingCustomizedMetricSpecification m_customizedScalingMetricSpecification;
146 bool m_customizedScalingMetricSpecificationHasBeenSet =
false;
148 PredictiveScalingCustomizedMetricSpecification m_customizedLoadMetricSpecification;
149 bool m_customizedLoadMetricSpecificationHasBeenSet =
false;
151 PredictiveScalingCustomizedMetricSpecification m_customizedCapacityMetricSpecification;
152 bool m_customizedCapacityMetricSpecificationHasBeenSet =
false;
bool PredefinedMetricPairSpecificationHasBeenSet() const
const PredictiveScalingCustomizedMetricSpecification & GetCustomizedLoadMetricSpecification() const
void SetCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT &&value)
void SetPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT &&value)
void SetPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT &&value)
bool CustomizedLoadMetricSpecificationHasBeenSet() const
bool PredefinedScalingMetricSpecificationHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API Aws::Utils::Json::JsonValue Jsonize() const
PredictiveScalingMetricSpecification & WithCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT &&value)
bool PredefinedLoadMetricSpecificationHasBeenSet() const
const PredictiveScalingCustomizedMetricSpecification & GetCustomizedScalingMetricSpecification() const
void SetPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT &&value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
PredictiveScalingMetricSpecification & WithCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT &&value)
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricSpecification(Aws::Utils::Json::JsonView jsonValue)
bool CustomizedScalingMetricSpecificationHasBeenSet() const
PredictiveScalingMetricSpecification & WithTargetValue(double value)
void SetTargetValue(double value)
bool CustomizedCapacityMetricSpecificationHasBeenSet() const
AWS_APPLICATIONAUTOSCALING_API PredictiveScalingMetricSpecification()=default
const PredictiveScalingCustomizedMetricSpecification & GetCustomizedCapacityMetricSpecification() const
PredictiveScalingMetricSpecification & WithPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT &&value)
PredictiveScalingMetricSpecification & WithPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT &&value)
double GetTargetValue() const
const PredictiveScalingPredefinedLoadMetricSpecification & GetPredefinedLoadMetricSpecification() const
void SetCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT &&value)
PredictiveScalingMetricSpecification & WithCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT &&value)
bool TargetValueHasBeenSet() const
const PredictiveScalingPredefinedMetricPairSpecification & GetPredefinedMetricPairSpecification() const
const PredictiveScalingPredefinedScalingMetricSpecification & GetPredefinedScalingMetricSpecification() const
void SetCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT &&value)
PredictiveScalingMetricSpecification & WithPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT &&value)
Aws::Utils::Json::JsonValue JsonValue