AWS SDK for C++

AWS SDK for C++ Version 1.11.717

Loading...
Searching...
No Matches
OpenMonitoringInfo.h
1
6#pragma once
7#include <aws/kafka/Kafka_EXPORTS.h>
8#include <aws/kafka/model/PrometheusInfo.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 OpenMonitoringInfo() = default;
35 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
43 inline const PrometheusInfo& GetPrometheus() const { return m_prometheus; }
44 inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
45 template <typename PrometheusT = PrometheusInfo>
46 void SetPrometheus(PrometheusT&& value) {
47 m_prometheusHasBeenSet = true;
48 m_prometheus = std::forward<PrometheusT>(value);
49 }
50 template <typename PrometheusT = PrometheusInfo>
51 OpenMonitoringInfo& WithPrometheus(PrometheusT&& value) {
52 SetPrometheus(std::forward<PrometheusT>(value));
53 return *this;
54 }
56 private:
57 PrometheusInfo m_prometheus;
58 bool m_prometheusHasBeenSet = false;
59};
60
61} // namespace Model
62} // namespace Kafka
63} // namespace Aws
AWS_KAFKA_API OpenMonitoringInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenMonitoringInfo & WithPrometheus(PrometheusT &&value)
const PrometheusInfo & GetPrometheus() const
void SetPrometheus(PrometheusT &&value)
AWS_KAFKA_API OpenMonitoringInfo(Aws::Utils::Json::JsonView jsonValue)
AWS_KAFKA_API OpenMonitoringInfo()=default
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue