AWS SDK for C++  1.9.105
AWS SDK for C++
Prometheus.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace Utils
15 {
16 namespace Json
17 {
18  class JsonValue;
19  class JsonView;
20 } // namespace Json
21 } // namespace Utils
22 namespace Kafka
23 {
24 namespace Model
25 {
26 
35  {
36  public:
41 
42 
49  inline const JmxExporter& GetJmxExporter() const{ return m_jmxExporter; }
50 
57  inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; }
58 
65  inline void SetJmxExporter(const JmxExporter& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; }
66 
73  inline void SetJmxExporter(JmxExporter&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::move(value); }
74 
81  inline Prometheus& WithJmxExporter(const JmxExporter& value) { SetJmxExporter(value); return *this;}
82 
89  inline Prometheus& WithJmxExporter(JmxExporter&& value) { SetJmxExporter(std::move(value)); return *this;}
90 
91 
98  inline const NodeExporter& GetNodeExporter() const{ return m_nodeExporter; }
99 
106  inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
107 
114  inline void SetNodeExporter(const NodeExporter& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; }
115 
122  inline void SetNodeExporter(NodeExporter&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::move(value); }
123 
130  inline Prometheus& WithNodeExporter(const NodeExporter& value) { SetNodeExporter(value); return *this;}
131 
138  inline Prometheus& WithNodeExporter(NodeExporter&& value) { SetNodeExporter(std::move(value)); return *this;}
139 
140  private:
141 
142  JmxExporter m_jmxExporter;
143  bool m_jmxExporterHasBeenSet;
144 
145  NodeExporter m_nodeExporter;
146  bool m_nodeExporterHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace Kafka
151 } // namespace Aws
Aws::Kafka::Model::Prometheus::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::Prometheus::WithNodeExporter
Prometheus & WithNodeExporter(NodeExporter &&value)
Definition: Prometheus.h:138
Aws::Kafka::Model::Prometheus::operator=
Prometheus & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Prometheus
Definition: Prometheus.h:35
JmxExporter.h
Aws::Kafka::Model::Prometheus::WithJmxExporter
Prometheus & WithJmxExporter(const JmxExporter &value)
Definition: Prometheus.h:81
Aws::Kafka::Model::Prometheus::Prometheus
Prometheus()
Aws::Kafka::Model::Prometheus::NodeExporterHasBeenSet
bool NodeExporterHasBeenSet() const
Definition: Prometheus.h:106
Aws::Kafka::Model::Prometheus::JmxExporterHasBeenSet
bool JmxExporterHasBeenSet() const
Definition: Prometheus.h:57
Aws::Kafka::Model::Prometheus::SetNodeExporter
void SetNodeExporter(const NodeExporter &value)
Definition: Prometheus.h:114
Aws::Kafka::Model::Prometheus::WithJmxExporter
Prometheus & WithJmxExporter(JmxExporter &&value)
Definition: Prometheus.h:89
Aws::Kafka::Model::NodeExporter
Definition: NodeExporter.h:33
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::Kafka::Model::Prometheus::GetJmxExporter
const JmxExporter & GetJmxExporter() const
Definition: Prometheus.h:49
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::Prometheus::GetNodeExporter
const NodeExporter & GetNodeExporter() const
Definition: Prometheus.h:98
Aws::Kafka::Model::Prometheus::SetJmxExporter
void SetJmxExporter(const JmxExporter &value)
Definition: Prometheus.h:65
Aws::Kafka::Model::Prometheus::Prometheus
Prometheus(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::Prometheus::SetJmxExporter
void SetJmxExporter(JmxExporter &&value)
Definition: Prometheus.h:73
Aws::Kafka::Model::JmxExporter
Definition: JmxExporter.h:33
Aws
Definition: AccessManagementClient.h:15
Kafka_EXPORTS.h
NodeExporter.h
Aws::Kafka::Model::Prometheus::WithNodeExporter
Prometheus & WithNodeExporter(const NodeExporter &value)
Definition: Prometheus.h:130
Aws::Kafka::Model::Prometheus::SetNodeExporter
void SetNodeExporter(NodeExporter &&value)
Definition: Prometheus.h:122