AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
PrometheusInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/JmxExporterInfo.h>
9#include <aws/kafka/model/NodeExporterInfo.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace Kafka
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_KAFKA_API PrometheusInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const JmxExporterInfo& GetJmxExporter() const { return m_jmxExporter; }
51 inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; }
52 template<typename JmxExporterT = JmxExporterInfo>
53 void SetJmxExporter(JmxExporterT&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::forward<JmxExporterT>(value); }
54 template<typename JmxExporterT = JmxExporterInfo>
55 PrometheusInfo& WithJmxExporter(JmxExporterT&& value) { SetJmxExporter(std::forward<JmxExporterT>(value)); return *this;}
57
59
65 inline const NodeExporterInfo& GetNodeExporter() const { return m_nodeExporter; }
66 inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
67 template<typename NodeExporterT = NodeExporterInfo>
68 void SetNodeExporter(NodeExporterT&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::forward<NodeExporterT>(value); }
69 template<typename NodeExporterT = NodeExporterInfo>
70 PrometheusInfo& WithNodeExporter(NodeExporterT&& value) { SetNodeExporter(std::forward<NodeExporterT>(value)); return *this;}
72 private:
73
74 JmxExporterInfo m_jmxExporter;
75 bool m_jmxExporterHasBeenSet = false;
76
77 NodeExporterInfo m_nodeExporter;
78 bool m_nodeExporterHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
void SetNodeExporter(NodeExporterT &&value)
PrometheusInfo & WithJmxExporter(JmxExporterT &&value)
AWS_KAFKA_API PrometheusInfo(Aws::Utils::Json::JsonView jsonValue)
const JmxExporterInfo & GetJmxExporter() const
AWS_KAFKA_API PrometheusInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJmxExporter(JmxExporterT &&value)
AWS_KAFKA_API PrometheusInfo()=default
PrometheusInfo & WithNodeExporter(NodeExporterT &&value)
const NodeExporterInfo & GetNodeExporter() const
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue