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