AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricMathAnomalyDetector.h
1
6#pragma once
7#include <aws/monitoring/CloudWatch_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/monitoring/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 CloudWatch
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_CLOUDWATCH_API MetricMathAnomalyDetector();
38 AWS_CLOUDWATCH_API MetricMathAnomalyDetector(const Aws::Utils::Xml::XmlNode& xmlNode);
40
41 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
42 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
43
44
46
57 inline const Aws::Vector<MetricDataQuery>& GetMetricDataQueries() const{ return m_metricDataQueries; }
58 inline bool MetricDataQueriesHasBeenSet() const { return m_metricDataQueriesHasBeenSet; }
59 inline void SetMetricDataQueries(const Aws::Vector<MetricDataQuery>& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries = value; }
60 inline void SetMetricDataQueries(Aws::Vector<MetricDataQuery>&& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries = std::move(value); }
63 inline MetricMathAnomalyDetector& AddMetricDataQueries(const MetricDataQuery& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries.push_back(value); return *this; }
64 inline MetricMathAnomalyDetector& AddMetricDataQueries(MetricDataQuery&& value) { m_metricDataQueriesHasBeenSet = true; m_metricDataQueries.push_back(std::move(value)); return *this; }
66 private:
67
68 Aws::Vector<MetricDataQuery> m_metricDataQueries;
69 bool m_metricDataQueriesHasBeenSet = false;
70 };
71
72} // namespace Model
73} // namespace CloudWatch
74} // namespace Aws
MetricMathAnomalyDetector & AddMetricDataQueries(MetricDataQuery &&value)
MetricMathAnomalyDetector & WithMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
AWS_CLOUDWATCH_API MetricMathAnomalyDetector & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricMathAnomalyDetector & AddMetricDataQueries(const MetricDataQuery &value)
void SetMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
MetricMathAnomalyDetector & WithMetricDataQueries(const Aws::Vector< MetricDataQuery > &value)
AWS_CLOUDWATCH_API MetricMathAnomalyDetector(const Aws::Utils::Xml::XmlNode &xmlNode)
const Aws::Vector< MetricDataQuery > & GetMetricDataQueries() const
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetMetricDataQueries(Aws::Vector< MetricDataQuery > &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream