AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PerformanceInsightsMetricQuery.h
1
6#pragma once
7#include <aws/rds/RDS_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
9#include <aws/rds/model/PerformanceInsightsMetricDimensionGroup.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 RDS
23{
24namespace Model
25{
26
39 {
40 public:
44
45 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
46 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
47
48
50
57 inline const PerformanceInsightsMetricDimensionGroup& GetGroupBy() const{ return m_groupBy; }
58 inline bool GroupByHasBeenSet() const { return m_groupByHasBeenSet; }
59 inline void SetGroupBy(const PerformanceInsightsMetricDimensionGroup& value) { m_groupByHasBeenSet = true; m_groupBy = value; }
60 inline void SetGroupBy(PerformanceInsightsMetricDimensionGroup&& value) { m_groupByHasBeenSet = true; m_groupBy = std::move(value); }
64
66
83 inline const Aws::String& GetMetric() const{ return m_metric; }
84 inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; }
85 inline void SetMetric(const Aws::String& value) { m_metricHasBeenSet = true; m_metric = value; }
86 inline void SetMetric(Aws::String&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); }
87 inline void SetMetric(const char* value) { m_metricHasBeenSet = true; m_metric.assign(value); }
88 inline PerformanceInsightsMetricQuery& WithMetric(const Aws::String& value) { SetMetric(value); return *this;}
89 inline PerformanceInsightsMetricQuery& WithMetric(Aws::String&& value) { SetMetric(std::move(value)); return *this;}
90 inline PerformanceInsightsMetricQuery& WithMetric(const char* value) { SetMetric(value); return *this;}
92 private:
93
95 bool m_groupByHasBeenSet = false;
96
97 Aws::String m_metric;
98 bool m_metricHasBeenSet = false;
99 };
100
101} // namespace Model
102} // namespace RDS
103} // namespace Aws
void SetGroupBy(PerformanceInsightsMetricDimensionGroup &&value)
PerformanceInsightsMetricQuery & WithGroupBy(const PerformanceInsightsMetricDimensionGroup &value)
AWS_RDS_API PerformanceInsightsMetricQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
PerformanceInsightsMetricQuery & WithMetric(const char *value)
PerformanceInsightsMetricQuery & WithMetric(Aws::String &&value)
void SetGroupBy(const PerformanceInsightsMetricDimensionGroup &value)
PerformanceInsightsMetricQuery & WithGroupBy(PerformanceInsightsMetricDimensionGroup &&value)
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const PerformanceInsightsMetricDimensionGroup & GetGroupBy() const
PerformanceInsightsMetricQuery & WithMetric(const Aws::String &value)
AWS_RDS_API PerformanceInsightsMetricQuery(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