7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/PredefinedMetricSpecification.h>
10#include <aws/autoscaling/model/CustomizedMetricSpecification.h>
81 inline void SetTargetValue(
double value) { m_targetValueHasBeenSet =
true; m_targetValue = value; }
95 inline void SetDisableScaleIn(
bool value) { m_disableScaleInHasBeenSet =
true; m_disableScaleIn = value; }
101 bool m_predefinedMetricSpecificationHasBeenSet =
false;
104 bool m_customizedMetricSpecificationHasBeenSet =
false;
106 double m_targetValue;
107 bool m_targetValueHasBeenSet =
false;
109 bool m_disableScaleIn;
110 bool m_disableScaleInHasBeenSet =
false;
void SetDisableScaleIn(bool value)
AWS_AUTOSCALING_API TargetTrackingConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API TargetTrackingConfiguration()
bool PredefinedMetricSpecificationHasBeenSet() const
TargetTrackingConfiguration & WithCustomizedMetricSpecification(const CustomizedMetricSpecification &value)
void SetPredefinedMetricSpecification(const PredefinedMetricSpecification &value)
const PredefinedMetricSpecification & GetPredefinedMetricSpecification() const
const CustomizedMetricSpecification & GetCustomizedMetricSpecification() const
TargetTrackingConfiguration & WithPredefinedMetricSpecification(const PredefinedMetricSpecification &value)
void SetCustomizedMetricSpecification(CustomizedMetricSpecification &&value)
TargetTrackingConfiguration & WithCustomizedMetricSpecification(CustomizedMetricSpecification &&value)
TargetTrackingConfiguration & WithPredefinedMetricSpecification(PredefinedMetricSpecification &&value)
AWS_AUTOSCALING_API TargetTrackingConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
bool DisableScaleInHasBeenSet() const
double GetTargetValue() const
bool GetDisableScaleIn() const
bool CustomizedMetricSpecificationHasBeenSet() const
bool TargetValueHasBeenSet() const
TargetTrackingConfiguration & WithTargetValue(double value)
void SetCustomizedMetricSpecification(const CustomizedMetricSpecification &value)
TargetTrackingConfiguration & WithDisableScaleIn(bool value)
void SetPredefinedMetricSpecification(PredefinedMetricSpecification &&value)
void SetTargetValue(double value)
std::basic_ostream< char, std::char_traits< char > > OStream