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; }
165 double m_targetValue;
166 bool m_targetValueHasBeenSet =
false;
169 bool m_predefinedMetricPairSpecificationHasBeenSet =
false;
172 bool m_predefinedScalingMetricSpecificationHasBeenSet =
false;
175 bool m_predefinedLoadMetricSpecificationHasBeenSet =
false;
178 bool m_customizedScalingMetricSpecificationHasBeenSet =
false;
181 bool m_customizedLoadMetricSpecificationHasBeenSet =
false;
184 bool m_customizedCapacityMetricSpecificationHasBeenSet =
false;
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification(const Aws::Utils::Xml::XmlNode &xmlNode)
const PredictiveScalingCustomizedScalingMetric & GetCustomizedScalingMetricSpecification() const
PredictiveScalingMetricSpecification & WithPredefinedLoadMetricSpecification(const PredictiveScalingPredefinedLoadMetric &value)
bool CustomizedLoadMetricSpecificationHasBeenSet() const
bool CustomizedCapacityMetricSpecificationHasBeenSet() const
void SetCustomizedCapacityMetricSpecification(PredictiveScalingCustomizedCapacityMetric &&value)
void SetPredefinedMetricPairSpecification(const PredictiveScalingPredefinedMetricPair &value)
PredictiveScalingMetricSpecification & WithCustomizedCapacityMetricSpecification(PredictiveScalingCustomizedCapacityMetric &&value)
PredictiveScalingMetricSpecification & WithPredefinedScalingMetricSpecification(const PredictiveScalingPredefinedScalingMetric &value)
bool CustomizedScalingMetricSpecificationHasBeenSet() const
void SetCustomizedLoadMetricSpecification(PredictiveScalingCustomizedLoadMetric &&value)
void SetCustomizedLoadMetricSpecification(const PredictiveScalingCustomizedLoadMetric &value)
void SetPredefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetric &&value)
void SetTargetValue(double value)
PredictiveScalingMetricSpecification & WithTargetValue(double value)
void SetPredefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetric &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PredefinedLoadMetricSpecificationHasBeenSet() const
bool TargetValueHasBeenSet() const
void SetPredefinedScalingMetricSpecification(const PredictiveScalingPredefinedScalingMetric &value)
void SetCustomizedScalingMetricSpecification(PredictiveScalingCustomizedScalingMetric &&value)
void SetPredefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPair &&value)
const PredictiveScalingPredefinedLoadMetric & GetPredefinedLoadMetricSpecification() const
PredictiveScalingMetricSpecification & WithPredefinedLoadMetricSpecification(PredictiveScalingPredefinedLoadMetric &&value)
bool PredefinedMetricPairSpecificationHasBeenSet() const
void SetCustomizedScalingMetricSpecification(const PredictiveScalingCustomizedScalingMetric &value)
PredictiveScalingMetricSpecification & WithCustomizedScalingMetricSpecification(PredictiveScalingCustomizedScalingMetric &&value)
bool PredefinedScalingMetricSpecificationHasBeenSet() const
double GetTargetValue() const
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PredictiveScalingMetricSpecification & WithPredefinedMetricPairSpecification(const PredictiveScalingPredefinedMetricPair &value)
const PredictiveScalingCustomizedCapacityMetric & GetCustomizedCapacityMetricSpecification() const
PredictiveScalingMetricSpecification & WithCustomizedCapacityMetricSpecification(const PredictiveScalingCustomizedCapacityMetric &value)
const PredictiveScalingPredefinedMetricPair & GetPredefinedMetricPairSpecification() const
PredictiveScalingMetricSpecification & WithPredefinedScalingMetricSpecification(PredictiveScalingPredefinedScalingMetric &&value)
PredictiveScalingMetricSpecification & WithCustomizedScalingMetricSpecification(const PredictiveScalingCustomizedScalingMetric &value)
PredictiveScalingMetricSpecification & WithCustomizedLoadMetricSpecification(const PredictiveScalingCustomizedLoadMetric &value)
AWS_AUTOSCALING_API PredictiveScalingMetricSpecification()
void SetPredefinedLoadMetricSpecification(const PredictiveScalingPredefinedLoadMetric &value)
PredictiveScalingMetricSpecification & WithCustomizedLoadMetricSpecification(PredictiveScalingCustomizedLoadMetric &&value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetCustomizedCapacityMetricSpecification(const PredictiveScalingCustomizedCapacityMetric &value)
const PredictiveScalingCustomizedLoadMetric & GetCustomizedLoadMetricSpecification() const
const PredictiveScalingPredefinedScalingMetric & GetPredefinedScalingMetricSpecification() const
PredictiveScalingMetricSpecification & WithPredefinedMetricPairSpecification(PredictiveScalingPredefinedMetricPair &&value)
std::basic_ostream< char, std::char_traits< char > > OStream