AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PredictiveScalingCustomizedCapacityMetric.h
1
6#pragma once
7#include <aws/autoscaling/AutoScaling_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/autoscaling/model/MetricDataQuery.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
34 {
35 public:
39
40 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
41 AWS_AUTOSCALING_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
42
43
45
50 inline const Aws::Vector<MetricDataQuery>& GetMetricDataQueries() const{ return m_metricDataQueries; }
51 inline bool MetricDataQueriesHasBeenSet() const { return m_metricDataQueriesHasBeenSet; }
52 inline void SetMetricDataQueries(const Aws::Vector<MetricDataQuery>& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries = value; }
53 inline void SetMetricDataQueries(Aws::Vector<MetricDataQuery>&& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries = std::move(value); }
56 inline PredictiveScalingCustomizedCapacityMetric& AddMetricDataQueries(const MetricDataQuery& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries.push_back(value); return *this; }
57 inline PredictiveScalingCustomizedCapacityMetric& AddMetricDataQueries(MetricDataQuery&& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries.push_back(std::move(value)); return *this; }
59 private:
60
61 Aws::Vector<MetricDataQuery> m_metricDataQueries;
62 bool m_metricDataQueriesHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace AutoScaling
67} // namespace Aws
AWS_AUTOSCALING_API PredictiveScalingCustomizedCapacityMetric & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PredictiveScalingCustomizedCapacityMetric & WithMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &oStream, const char *location) const
PredictiveScalingCustomizedCapacityMetric & AddMetricDataQueries(MetricDataQuery &&value)
PredictiveScalingCustomizedCapacityMetric & WithMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
AWS_AUTOSCALING_API PredictiveScalingCustomizedCapacityMetric(const Aws::Utils::Xml::XmlNode &xmlNode)
AWS_AUTOSCALING_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
PredictiveScalingCustomizedCapacityMetric & AddMetricDataQueries(const MetricDataQuery &value)
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream