AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetJmxExporter(const JmxExporter& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; }
53 inline void SetJmxExporter(JmxExporter&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::move(value); }
54 inline Prometheus& WithJmxExporter(const JmxExporter& value) { SetJmxExporter(value); return *this;}
55 inline Prometheus& WithJmxExporter(JmxExporter&& value) { SetJmxExporter(std::move(value)); return *this;}
57
59
65 inline const NodeExporter& GetNodeExporter() const{ return m_nodeExporter; }
66 inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
67 inline void SetNodeExporter(const NodeExporter& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; }
68 inline void SetNodeExporter(NodeExporter&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::move(value); }
69 inline Prometheus& WithNodeExporter(const NodeExporter& value) { SetNodeExporter(value); return *this;}
70 inline Prometheus& WithNodeExporter(NodeExporter&& value) { SetNodeExporter(std::move(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
const JmxExporter & GetJmxExporter() const
Definition Prometheus.h:50
AWS_KAFKA_API Prometheus & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJmxExporter(JmxExporter &&value)
Definition Prometheus.h:53
Prometheus & WithNodeExporter(const NodeExporter &value)
Definition Prometheus.h:69
void SetNodeExporter(NodeExporter &&value)
Definition Prometheus.h:68
Prometheus & WithJmxExporter(JmxExporter &&value)
Definition Prometheus.h:55
void SetJmxExporter(const JmxExporter &value)
Definition Prometheus.h:52
Prometheus & WithJmxExporter(const JmxExporter &value)
Definition Prometheus.h:54
bool JmxExporterHasBeenSet() const
Definition Prometheus.h:51
Prometheus & WithNodeExporter(NodeExporter &&value)
Definition Prometheus.h:70
const NodeExporter & GetNodeExporter() const
Definition Prometheus.h:65
void SetNodeExporter(const NodeExporter &value)
Definition Prometheus.h:67
bool NodeExporterHasBeenSet() const
Definition Prometheus.h:66
AWS_KAFKA_API Prometheus(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue