7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/PredictiveScalingPredefinedMetricPair.h>
10#include <aws/autoscaling/model/PredictiveScalingPredefinedScalingMetric.h>
11#include <aws/autoscaling/model/PredictiveScalingPredefinedLoadMetric.h>
12#include <aws/autoscaling/model/PredictiveScalingCustomizedScalingMetric.h>
13#include <aws/autoscaling/model/PredictiveScalingCustomizedLoadMetric.h>
14#include <aws/autoscaling/model/PredictiveScalingCustomizedCapacityMetric.h>
87 inline void SetTargetValue(
double value) { m_targetValueHasBeenSet =
true; m_targetValue = value; }
98 template<
typename PredefinedMetricPairSpecificationT = PredictiveScalingPredefinedMetricPair>
99 void SetPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT&& value) { m_predefinedMetricPairSpecificationHasBeenSet =
true; m_predefinedMetricPairSpecification = std::forward<PredefinedMetricPairSpecificationT>(value); }
100 template<
typename PredefinedMetricPairSpecificationT = PredictiveScalingPredefinedMetricPair>
110 template<
typename PredefinedScalingMetricSpecificationT = PredictiveScalingPredefinedScalingMetric>
111 void SetPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT&& value) { m_predefinedScalingMetricSpecificationHasBeenSet =
true; m_predefinedScalingMetricSpecification = std::forward<PredefinedScalingMetricSpecificationT>(value); }
112 template<
typename PredefinedScalingMetricSpecificationT = PredictiveScalingPredefinedScalingMetric>
122 template<
typename PredefinedLoadMetricSpecificationT = PredictiveScalingPredefinedLoadMetric>
123 void SetPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT&& value) { m_predefinedLoadMetricSpecificationHasBeenSet =
true; m_predefinedLoadMetricSpecification = std::forward<PredefinedLoadMetricSpecificationT>(value); }
124 template<
typename PredefinedLoadMetricSpecificationT = PredictiveScalingPredefinedLoadMetric>
134 template<
typename CustomizedScalingMetricSpecificationT = PredictiveScalingCustomizedScalingMetric>
135 void SetCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT&& value) { m_customizedScalingMetricSpecificationHasBeenSet =
true; m_customizedScalingMetricSpecification = std::forward<CustomizedScalingMetricSpecificationT>(value); }
136 template<
typename CustomizedScalingMetricSpecificationT = PredictiveScalingCustomizedScalingMetric>
146 template<
typename CustomizedLoadMetricSpecificationT = PredictiveScalingCustomizedLoadMetric>
147 void SetCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT&& value) { m_customizedLoadMetricSpecificationHasBeenSet =
true; m_customizedLoadMetricSpecification = std::forward<CustomizedLoadMetricSpecificationT>(value); }
148 template<
typename CustomizedLoadMetricSpecificationT = PredictiveScalingCustomizedLoadMetric>
158 template<
typename CustomizedCapacityMetricSpecificationT = PredictiveScalingCustomizedCapacityMetric>
159 void SetCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT&& value) { m_customizedCapacityMetricSpecificationHasBeenSet =
true; m_customizedCapacityMetricSpecification = std::forward<CustomizedCapacityMetricSpecificationT>(value); }
160 template<
typename CustomizedCapacityMetricSpecificationT = PredictiveScalingCustomizedCapacityMetric>
165 double m_targetValue{0.0};
166 bool m_targetValueHasBeenSet =
false;
168 PredictiveScalingPredefinedMetricPair m_predefinedMetricPairSpecification;
169 bool m_predefinedMetricPairSpecificationHasBeenSet =
false;
171 PredictiveScalingPredefinedScalingMetric m_predefinedScalingMetricSpecification;
172 bool m_predefinedScalingMetricSpecificationHasBeenSet =
false;
174 PredictiveScalingPredefinedLoadMetric m_predefinedLoadMetricSpecification;
175 bool m_predefinedLoadMetricSpecificationHasBeenSet =
false;
177 PredictiveScalingCustomizedScalingMetric m_customizedScalingMetricSpecification;
178 bool m_customizedScalingMetricSpecificationHasBeenSet =
false;
180 PredictiveScalingCustomizedLoadMetric m_customizedLoadMetricSpecification;
181 bool m_customizedLoadMetricSpecificationHasBeenSet =
false;
183 PredictiveScalingCustomizedCapacityMetric m_customizedCapacityMetricSpecification;
184 bool m_customizedCapacityMetricSpecificationHasBeenSet =
false;
PredictiveScalingMetricSpecification & WithCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT &&value)
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
PredictiveScalingMetricSpecification & WithPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT &&value)
PredictiveScalingMetricSpecification & WithPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT &&value)
const PredictiveScalingCustomizedScalingMetric & GetCustomizedScalingMetricSpecification() const
bool CustomizedLoadMetricSpecificationHasBeenSet() const
bool CustomizedCapacityMetricSpecificationHasBeenSet() const
void SetCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT &&value)
PredictiveScalingMetricSpecification & WithPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT &&value)
bool CustomizedScalingMetricSpecificationHasBeenSet() const
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification()=default
void SetTargetValue(double value)
void SetPredefinedLoadMetricSpecification(PredefinedLoadMetricSpecificationT &&value)
PredictiveScalingMetricSpecification & WithTargetValue(double value)
void SetPredefinedMetricPairSpecification(PredefinedMetricPairSpecificationT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PredefinedLoadMetricSpecificationHasBeenSet() const
bool TargetValueHasBeenSet() const
void SetPredefinedScalingMetricSpecification(PredefinedScalingMetricSpecificationT &&value)
const PredictiveScalingPredefinedLoadMetric & GetPredefinedLoadMetricSpecification() const
bool PredefinedMetricPairSpecificationHasBeenSet() const
bool PredefinedScalingMetricSpecificationHasBeenSet() const
double GetTargetValue() const
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PredictiveScalingMetricSpecification & WithCustomizedCapacityMetricSpecification(CustomizedCapacityMetricSpecificationT &&value)
const PredictiveScalingCustomizedCapacityMetric & GetCustomizedCapacityMetricSpecification() const
const PredictiveScalingPredefinedMetricPair & GetPredefinedMetricPairSpecification() const
void SetCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT &&value)
void SetCustomizedLoadMetricSpecification(CustomizedLoadMetricSpecificationT &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PredictiveScalingMetricSpecification & WithCustomizedScalingMetricSpecification(CustomizedScalingMetricSpecificationT &&value)
const PredictiveScalingCustomizedLoadMetric & GetCustomizedLoadMetricSpecification() const
const PredictiveScalingPredefinedScalingMetric & GetPredefinedScalingMetricSpecification() const
std::basic_ostream< char, std::char_traits< char > > OStream