AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetPrometheus(const PrometheusInfo& value) { m_prometheusHasBeenSet = true; m_prometheus = value; }
52 inline void SetPrometheus(PrometheusInfo&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::move(value); }
53 inline OpenMonitoringInfo& WithPrometheus(const PrometheusInfo& value) { SetPrometheus(value); return *this;}
54 inline OpenMonitoringInfo& WithPrometheus(PrometheusInfo&& value) { SetPrometheus(std::move(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
OpenMonitoringInfo & WithPrometheus(const PrometheusInfo &value)
AWS_KAFKA_API OpenMonitoringInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
OpenMonitoringInfo & WithPrometheus(PrometheusInfo &&value)
const PrometheusInfo & GetPrometheus() const
void SetPrometheus(PrometheusInfo &&value)
AWS_KAFKA_API OpenMonitoringInfo(Aws::Utils::Json::JsonView jsonValue)
void SetPrometheus(const PrometheusInfo &value)
AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue