AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
OpenMonitoring.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/Prometheus.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Kafka
22{
23namespace Model
24{
25
35 {
36 public:
37 AWS_KAFKA_API OpenMonitoring();
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const Prometheus& GetPrometheus() const{ return m_prometheus; }
50 inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
51 inline void SetPrometheus(const Prometheus& value) { m_prometheusHasBeenSet = true; m_prometheus = value; }
52 inline void SetPrometheus(Prometheus&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::move(value); }
53 inline OpenMonitoring& WithPrometheus(const Prometheus& value) { SetPrometheus(value); return *this;}
54 inline OpenMonitoring& WithPrometheus(Prometheus&& value) { SetPrometheus(std::move(value)); return *this;}
56 private:
57
58 Prometheus m_prometheus;
59 bool m_prometheusHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Kafka
64} // namespace Aws
void SetPrometheus(const Prometheus &value)
OpenMonitoring & WithPrometheus(const Prometheus &value)
void SetPrometheus(Prometheus &&value)
const Prometheus & GetPrometheus() const
AWS_KAFKA_API OpenMonitoring & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API OpenMonitoring(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
OpenMonitoring & WithPrometheus(Prometheus &&value)
Aws::Utils::Json::JsonValue JsonValue