AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
MetricQuery.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSStreamFwd.h>
8#include <aws/rds/RDS_EXPORTS.h>
9#include <aws/rds/model/PerformanceInsightsMetricQuery.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Xml {
16class XmlNode;
17} // namespace Xml
18} // namespace Utils
19namespace RDS {
20namespace Model {
21
28 public:
29 AWS_RDS_API MetricQuery() = default;
30 AWS_RDS_API MetricQuery(const Aws::Utils::Xml::XmlNode& xmlNode);
31 AWS_RDS_API MetricQuery& operator=(const Aws::Utils::Xml::XmlNode& xmlNode);
32
33 AWS_RDS_API void OutputToStream(Aws::OStream& ostream, const char* location, unsigned index, const char* locationValue) const;
34 AWS_RDS_API void OutputToStream(Aws::OStream& oStream, const char* location) const;
35
37
41 inline const PerformanceInsightsMetricQuery& GetPerformanceInsightsMetricQuery() const { return m_performanceInsightsMetricQuery; }
42 inline bool PerformanceInsightsMetricQueryHasBeenSet() const { return m_performanceInsightsMetricQueryHasBeenSet; }
43 template <typename PerformanceInsightsMetricQueryT = PerformanceInsightsMetricQuery>
44 void SetPerformanceInsightsMetricQuery(PerformanceInsightsMetricQueryT&& value) {
45 m_performanceInsightsMetricQueryHasBeenSet = true;
46 m_performanceInsightsMetricQuery = std::forward<PerformanceInsightsMetricQueryT>(value);
47 }
48 template <typename PerformanceInsightsMetricQueryT = PerformanceInsightsMetricQuery>
49 MetricQuery& WithPerformanceInsightsMetricQuery(PerformanceInsightsMetricQueryT&& value) {
50 SetPerformanceInsightsMetricQuery(std::forward<PerformanceInsightsMetricQueryT>(value));
51 return *this;
52 }
54 private:
55 PerformanceInsightsMetricQuery m_performanceInsightsMetricQuery;
56 bool m_performanceInsightsMetricQueryHasBeenSet = false;
57};
58
59} // namespace Model
60} // namespace RDS
61} // namespace Aws
AWS_RDS_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
AWS_RDS_API MetricQuery & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetPerformanceInsightsMetricQuery(PerformanceInsightsMetricQueryT &&value)
Definition MetricQuery.h:44
AWS_RDS_API MetricQuery()=default
AWS_RDS_API void OutputToStream(Aws::OStream &oStream, const char *location) const
bool PerformanceInsightsMetricQueryHasBeenSet() const
Definition MetricQuery.h:42
MetricQuery & WithPerformanceInsightsMetricQuery(PerformanceInsightsMetricQueryT &&value)
Definition MetricQuery.h:49
const PerformanceInsightsMetricQuery & GetPerformanceInsightsMetricQuery() const
Definition MetricQuery.h:41
AWS_RDS_API MetricQuery(const Aws::Utils::Xml::XmlNode &xmlNode)
std::basic_ostream< char, std::char_traits< char > > OStream