AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictiveScalingPredefinedScalingMetric.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/autoscaling/model/PredefinedScalingMetricType.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Xml
18{
19 class XmlNode;
20} // namespace Xml
21} // namespace Utils
22namespace AutoScaling
23{
24namespace Model
25{
26
36 {
37 public:
41
42 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
43 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
44
45
47
50 inline const PredefinedScalingMetricType& GetPredefinedMetricType() const{ return m_predefinedMetricType; }
51 inline bool PredefinedMetricTypeHasBeenSet() const { return m_predefinedMetricTypeHasBeenSet; }
52 inline void SetPredefinedMetricType(const PredefinedScalingMetricType& value) { m_predefinedMetricTypeHasBeenSet = true; m_predefinedMetricType = value; }
53 inline void SetPredefinedMetricType(PredefinedScalingMetricType&& value) { m_predefinedMetricTypeHasBeenSet = true; m_predefinedMetricType = std::move(value); }
57
59
79 inline const Aws::String& GetResourceLabel() const{ return m_resourceLabel; }
80 inline bool ResourceLabelHasBeenSet() const { return m_resourceLabelHasBeenSet; }
81 inline void SetResourceLabel(const Aws::String& value) { m_resourceLabelHasBeenSet = true; m_resourceLabel = value; }
82 inline void SetResourceLabel(Aws::String&& value) { m_resourceLabelHasBeenSet = true; m_resourceLabel = std::move(value); }
83 inline void SetResourceLabel(const char* value) { m_resourceLabelHasBeenSet = true; m_resourceLabel.assign(value); }
86 inline PredictiveScalingPredefinedScalingMetric& WithResourceLabel(const char* value) { SetResourceLabel(value); return *this;}
88 private:
89
90 PredefinedScalingMetricType m_predefinedMetricType;
91 bool m_predefinedMetricTypeHasBeenSet = false;
92
93 Aws::String m_resourceLabel;
94 bool m_resourceLabelHasBeenSet = false;
95 };
96
97} // namespace Model
98} // namespace AutoScaling
99} // namespace Aws
PredictiveScalingPredefinedScalingMetric & WithResourceLabel(const Aws::String &value)
PredictiveScalingPredefinedScalingMetric & WithResourceLabel(Aws::String &&value)
AWS_AUTOSCALING_API PredictiveScalingPredefinedScalingMetric & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PredictiveScalingPredefinedScalingMetric & WithResourceLabel(const char *value)
AWS_AUTOSCALING_API PredictiveScalingPredefinedScalingMetric(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PredictiveScalingPredefinedScalingMetric & WithPredefinedMetricType(PredefinedScalingMetricType &&value)
PredictiveScalingPredefinedScalingMetric & WithPredefinedMetricType(const PredefinedScalingMetricType &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::basic_ostream< char, std::char_traits< char > > OStream