AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MetricStreamStatisticsConfiguration.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/MetricStreamStatisticsMetric.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Xml
19{
20 class XmlNode;
21} // namespace Xml
22} // namespace Utils
23namespace CloudWatch
24{
25namespace Model
26{
27
40 {
41 public:
45
46 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
47 AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
48
49
51
58 inline const Aws::Vector<MetricStreamStatisticsMetric>& GetIncludeMetrics() const{ return m_includeMetrics; }
59 inline bool IncludeMetricsHasBeenSet() const { return m_includeMetricsHasBeenSet; }
60 inline void SetIncludeMetrics(const Aws::Vector<MetricStreamStatisticsMetric>& value) { m_includeMetricsHasBeenSet = true; m_includeMetrics = value; }
61 inline void SetIncludeMetrics(Aws::Vector<MetricStreamStatisticsMetric>&& value) { m_includeMetricsHasBeenSet = true; m_includeMetrics = std::move(value); }
64 inline MetricStreamStatisticsConfiguration& AddIncludeMetrics(const MetricStreamStatisticsMetric& value) { m_includeMetricsHasBeenSet = true; m_includeMetrics.push_back(value); return *this; }
65 inline MetricStreamStatisticsConfiguration& AddIncludeMetrics(MetricStreamStatisticsMetric&& value) { m_includeMetricsHasBeenSet = true; m_includeMetrics.push_back(std::move(value)); return *this; }
67
69
82 inline const Aws::Vector<Aws::String>& GetAdditionalStatistics() const{ return m_additionalStatistics; }
83 inline bool AdditionalStatisticsHasBeenSet() const { return m_additionalStatisticsHasBeenSet; }
84 inline void SetAdditionalStatistics(const Aws::Vector<Aws::String>& value) { m_additionalStatisticsHasBeenSet = true; m_additionalStatistics = value; }
85 inline void SetAdditionalStatistics(Aws::Vector<Aws::String>&& value) { m_additionalStatisticsHasBeenSet = true; m_additionalStatistics = std::move(value); }
88 inline MetricStreamStatisticsConfiguration& AddAdditionalStatistics(const Aws::String& value) { m_additionalStatisticsHasBeenSet = true; m_additionalStatistics.push_back(value); return *this; }
89 inline MetricStreamStatisticsConfiguration& AddAdditionalStatistics(Aws::String&& value) { m_additionalStatisticsHasBeenSet = true; m_additionalStatistics.push_back(std::move(value)); return *this; }
90 inline MetricStreamStatisticsConfiguration& AddAdditionalStatistics(const char* value) { m_additionalStatisticsHasBeenSet = true; m_additionalStatistics.push_back(value); return *this; }
92 private:
93
95 bool m_includeMetricsHasBeenSet = false;
96
97 Aws::Vector<Aws::String> m_additionalStatistics;
98 bool m_additionalStatisticsHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace CloudWatch
103} // namespace Aws
MetricStreamStatisticsConfiguration & AddAdditionalStatistics(Aws::String &&value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &oStream, const char *location) const
MetricStreamStatisticsConfiguration & AddAdditionalStatistics(const char *value)
AWS_CLOUDWATCH_API MetricStreamStatisticsConfiguration(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricStreamStatisticsConfiguration & AddIncludeMetrics(const MetricStreamStatisticsMetric &value)
MetricStreamStatisticsConfiguration & AddAdditionalStatistics(const Aws::String &value)
MetricStreamStatisticsConfiguration & WithIncludeMetrics(Aws::Vector< MetricStreamStatisticsMetric > &&value)
void SetIncludeMetrics(const Aws::Vector< MetricStreamStatisticsMetric > &value)
AWS_CLOUDWATCH_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
void SetIncludeMetrics(Aws::Vector< MetricStreamStatisticsMetric > &&value)
const Aws::Vector< MetricStreamStatisticsMetric > & GetIncludeMetrics() const
AWS_CLOUDWATCH_API MetricStreamStatisticsConfiguration & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
MetricStreamStatisticsConfiguration & AddIncludeMetrics(MetricStreamStatisticsMetric &&value)
MetricStreamStatisticsConfiguration & WithAdditionalStatistics(const Aws::Vector< Aws::String > &value)
MetricStreamStatisticsConfiguration & WithIncludeMetrics(const Aws::Vector< MetricStreamStatisticsMetric > &value)
MetricStreamStatisticsConfiguration & WithAdditionalStatistics(Aws::Vector< Aws::String > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream