AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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#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 OpenMonitoringInfo() = default;
40 AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
49 inline const PrometheusInfo& GetPrometheus() const { return m_prometheus; }
50 inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
51 template<typename PrometheusT = PrometheusInfo>
52 void SetPrometheus(PrometheusT&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::forward<PrometheusT>(value); }
53 template<typename PrometheusT = PrometheusInfo>
54 OpenMonitoringInfo& WithPrometheus(PrometheusT&& value) { SetPrometheus(std::forward<PrometheusT>(value)); return *this;}
56 private:
57
58 PrometheusInfo m_prometheus;
59 bool m_prometheusHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace Kafka
64} // 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