7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/PredefinedLoadMetricType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
79 template<
typename ResourceLabelT = Aws::String>
80 void SetResourceLabel(ResourceLabelT&& value) { m_resourceLabelHasBeenSet =
true; m_resourceLabel = std::forward<ResourceLabelT>(value); }
81 template<
typename ResourceLabelT = Aws::String>
87 bool m_predefinedMetricTypeHasBeenSet =
false;
90 bool m_resourceLabelHasBeenSet =
false;
PredictiveScalingPredefinedLoadMetric & WithPredefinedMetricType(PredefinedLoadMetricType value)
void SetResourceLabel(ResourceLabelT &&value)
void SetPredefinedMetricType(PredefinedLoadMetricType value)
AWS_AUTOSCALING_API PredictiveScalingPredefinedLoadMetric()=default
bool PredefinedMetricTypeHasBeenSet() const
bool ResourceLabelHasBeenSet() const
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_AUTOSCALING_API PredictiveScalingPredefinedLoadMetric & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_AUTOSCALING_API PredictiveScalingPredefinedLoadMetric(const Aws::Utils::Xml::XmlNode &xmlNode)
PredefinedLoadMetricType GetPredefinedMetricType() const
PredictiveScalingPredefinedLoadMetric & WithResourceLabel(ResourceLabelT &&value)
const Aws::String & GetResourceLabel() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream