7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/autoscaling/model/PredefinedLoadMetricType.h>
9#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
20namespace AutoScaling {
47 m_predefinedMetricTypeHasBeenSet =
true;
48 m_predefinedMetricType = value;
79 template <
typename ResourceLabelT = Aws::String>
81 m_resourceLabelHasBeenSet =
true;
82 m_resourceLabel = std::forward<ResourceLabelT>(value);
84 template <
typename ResourceLabelT = Aws::String>
94 bool m_predefinedMetricTypeHasBeenSet =
false;
95 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