AWS SDK for C++

AWS SDK for C++ Version 1.11.717

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Kafka {
20namespace Model {
21
31 public:
32 AWS_KAFKA_API OpenMonitoring() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const Prometheus& GetPrometheus() const { return m_prometheus; }
44 inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
45 template <typename PrometheusT = Prometheus>
46 void SetPrometheus(PrometheusT&& value) {
47 m_prometheusHasBeenSet = true;
48 m_prometheus = std::forward<PrometheusT>(value);
49 }
50 template <typename PrometheusT = Prometheus>
51 OpenMonitoring& WithPrometheus(PrometheusT&& value) {
52 SetPrometheus(std::forward<PrometheusT>(value));
53 return *this;
54 }
56 private:
57 Prometheus m_prometheus;
58 bool m_prometheusHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Kafka
63} // namespace Aws
OpenMonitoring & WithPrometheus(PrometheusT &&value)
AWS_KAFKA_API OpenMonitoring()=default
void SetPrometheus(PrometheusT &&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
Aws::Utils::Json::JsonValue JsonValue