AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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