AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
Prometheus.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/JmxExporter.h>
9#include <aws/kafka/model/NodeExporter.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 Prometheus() = default;
38 AWS_KAFKA_API Prometheus(Aws::Utils::Json::JsonView jsonValue);
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const JmxExporter& GetJmxExporter() const { return m_jmxExporter; }
51 inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; }
52 template<typename JmxExporterT = JmxExporter>
53 void SetJmxExporter(JmxExporterT&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::forward<JmxExporterT>(value); }
54 template<typename JmxExporterT = JmxExporter>
55 Prometheus& WithJmxExporter(JmxExporterT&& value) { SetJmxExporter(std::forward<JmxExporterT>(value)); return *this;}
57
59
65 inline const NodeExporter& GetNodeExporter() const { return m_nodeExporter; }
66 inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
67 template<typename NodeExporterT = NodeExporter>
68 void SetNodeExporter(NodeExporterT&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::forward<NodeExporterT>(value); }
69 template<typename NodeExporterT = NodeExporter>
70 Prometheus& WithNodeExporter(NodeExporterT&& value) { SetNodeExporter(std::forward<NodeExporterT>(value)); return *this;}
72 private:
73
74 JmxExporter m_jmxExporter;
75 bool m_jmxExporterHasBeenSet = false;
76
77 NodeExporter m_nodeExporter;
78 bool m_nodeExporterHasBeenSet = false;
79 };
80
81} // namespace Model
82} // namespace Kafka
83} // namespace Aws
void SetNodeExporter(NodeExporterT &&value)
Definition Prometheus.h:68
const JmxExporter & GetJmxExporter() const
Definition Prometheus.h:50
Prometheus & WithJmxExporter(JmxExporterT &&value)
Definition Prometheus.h:55
AWS_KAFKA_API Prometheus & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Prometheus()=default
bool JmxExporterHasBeenSet() const
Definition Prometheus.h:51
const NodeExporter & GetNodeExporter() const
Definition Prometheus.h:65
Prometheus & WithNodeExporter(NodeExporterT &&value)
Definition Prometheus.h:70
bool NodeExporterHasBeenSet() const
Definition Prometheus.h:66
void SetJmxExporter(JmxExporterT &&value)
Definition Prometheus.h:53
AWS_KAFKA_API Prometheus(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue