AWS SDK for C++  1.9.104
AWS SDK for C++
PrometheusInfo.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 JmxExporterInfo& GetJmxExporter() const{ return m_jmxExporter; }
50 
57  inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; }
58 
65  inline void SetJmxExporter(const JmxExporterInfo& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; }
66 
73  inline void SetJmxExporter(JmxExporterInfo&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::move(value); }
74 
81  inline PrometheusInfo& WithJmxExporter(const JmxExporterInfo& value) { SetJmxExporter(value); return *this;}
82 
89  inline PrometheusInfo& WithJmxExporter(JmxExporterInfo&& value) { SetJmxExporter(std::move(value)); return *this;}
90 
91 
98  inline const NodeExporterInfo& GetNodeExporter() const{ return m_nodeExporter; }
99 
106  inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
107 
114  inline void SetNodeExporter(const NodeExporterInfo& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; }
115 
122  inline void SetNodeExporter(NodeExporterInfo&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::move(value); }
123 
130  inline PrometheusInfo& WithNodeExporter(const NodeExporterInfo& value) { SetNodeExporter(value); return *this;}
131 
138  inline PrometheusInfo& WithNodeExporter(NodeExporterInfo&& value) { SetNodeExporter(std::move(value)); return *this;}
139 
140  private:
141 
142  JmxExporterInfo m_jmxExporter;
143  bool m_jmxExporterHasBeenSet;
144 
145  NodeExporterInfo m_nodeExporter;
146  bool m_nodeExporterHasBeenSet;
147  };
148 
149 } // namespace Model
150 } // namespace Kafka
151 } // namespace Aws
Aws::Kafka::Model::PrometheusInfo::SetNodeExporter
void SetNodeExporter(NodeExporterInfo &&value)
Definition: PrometheusInfo.h:122
Aws::Kafka::Model::PrometheusInfo::WithJmxExporter
PrometheusInfo & WithJmxExporter(JmxExporterInfo &&value)
Definition: PrometheusInfo.h:89
JmxExporterInfo.h
Aws::Kafka::Model::PrometheusInfo::WithJmxExporter
PrometheusInfo & WithJmxExporter(const JmxExporterInfo &value)
Definition: PrometheusInfo.h:81
NodeExporterInfo.h
Aws::Kafka::Model::PrometheusInfo::SetJmxExporter
void SetJmxExporter(const JmxExporterInfo &value)
Definition: PrometheusInfo.h:65
Aws::Kafka::Model::PrometheusInfo
Definition: PrometheusInfo.h:35
Aws::Kafka::Model::PrometheusInfo::PrometheusInfo
PrometheusInfo()
Aws::Kafka::Model::PrometheusInfo::SetNodeExporter
void SetNodeExporter(const NodeExporterInfo &value)
Definition: PrometheusInfo.h:114
Aws::Kafka::Model::PrometheusInfo::GetNodeExporter
const NodeExporterInfo & GetNodeExporter() const
Definition: PrometheusInfo.h:98
Aws::Kafka::Model::PrometheusInfo::operator=
PrometheusInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::PrometheusInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Kafka::Model::PrometheusInfo::WithNodeExporter
PrometheusInfo & WithNodeExporter(NodeExporterInfo &&value)
Definition: PrometheusInfo.h:138
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::PrometheusInfo::JmxExporterHasBeenSet
bool JmxExporterHasBeenSet() const
Definition: PrometheusInfo.h:57
Aws::Kafka::Model::PrometheusInfo::WithNodeExporter
PrometheusInfo & WithNodeExporter(const NodeExporterInfo &value)
Definition: PrometheusInfo.h:130
Aws
Definition: AccessManagementClient.h:15
Kafka_EXPORTS.h
Aws::Kafka::Model::PrometheusInfo::SetJmxExporter
void SetJmxExporter(JmxExporterInfo &&value)
Definition: PrometheusInfo.h:73
Aws::Kafka::Model::PrometheusInfo::GetJmxExporter
const JmxExporterInfo & GetJmxExporter() const
Definition: PrometheusInfo.h:49
Aws::Kafka::Model::NodeExporterInfo
Definition: NodeExporterInfo.h:33
Aws::Kafka::Model::PrometheusInfo::NodeExporterHasBeenSet
bool NodeExporterHasBeenSet() const
Definition: PrometheusInfo.h:106
Aws::Kafka::Model::JmxExporterInfo
Definition: JmxExporterInfo.h:33
Aws::Kafka::Model::PrometheusInfo::PrometheusInfo
PrometheusInfo(Aws::Utils::Json::JsonView jsonValue)