AWS SDK for C++  1.9.104
AWS SDK for C++
OpenMonitoringInfo.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace Kafka
22 {
23 namespace Model
24 {
25 
35  {
36  public:
41 
42 
48  inline const PrometheusInfo& GetPrometheus() const{ return m_prometheus; }
49 
55  inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
56 
62  inline void SetPrometheus(const PrometheusInfo& value) { m_prometheusHasBeenSet = true; m_prometheus = value; }
63 
69  inline void SetPrometheus(PrometheusInfo&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::move(value); }
70 
76  inline OpenMonitoringInfo& WithPrometheus(const PrometheusInfo& value) { SetPrometheus(value); return *this;}
77 
83  inline OpenMonitoringInfo& WithPrometheus(PrometheusInfo&& value) { SetPrometheus(std::move(value)); return *this;}
84 
85  private:
86 
87  PrometheusInfo m_prometheus;
88  bool m_prometheusHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace Kafka
93 } // namespace Aws
Aws::Kafka::Model::OpenMonitoringInfo::PrometheusHasBeenSet
bool PrometheusHasBeenSet() const
Definition: OpenMonitoringInfo.h:55
Aws::Kafka::Model::OpenMonitoringInfo::operator=
OpenMonitoringInfo & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Kafka::Model::OpenMonitoringInfo::SetPrometheus
void SetPrometheus(const PrometheusInfo &value)
Definition: OpenMonitoringInfo.h:62
Aws::Kafka::Model::PrometheusInfo
Definition: PrometheusInfo.h:35
Aws::Kafka::Model::OpenMonitoringInfo::GetPrometheus
const PrometheusInfo & GetPrometheus() const
Definition: OpenMonitoringInfo.h:48
Aws::Kafka::Model::OpenMonitoringInfo::OpenMonitoringInfo
OpenMonitoringInfo()
PrometheusInfo.h
Aws::Kafka::Model::OpenMonitoringInfo::OpenMonitoringInfo
OpenMonitoringInfo(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
AWS_KAFKA_API
#define AWS_KAFKA_API
Definition: Kafka_EXPORTS.h:28
Aws::Kafka::Model::OpenMonitoringInfo
Definition: OpenMonitoringInfo.h:35
Aws::Kafka::Model::OpenMonitoringInfo::WithPrometheus
OpenMonitoringInfo & WithPrometheus(PrometheusInfo &&value)
Definition: OpenMonitoringInfo.h:83
Aws::Kafka::Model::OpenMonitoringInfo::WithPrometheus
OpenMonitoringInfo & WithPrometheus(const PrometheusInfo &value)
Definition: OpenMonitoringInfo.h:76
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::OpenMonitoringInfo::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Kafka_EXPORTS.h
Aws::Kafka::Model::OpenMonitoringInfo::SetPrometheus
void SetPrometheus(PrometheusInfo &&value)
Definition: OpenMonitoringInfo.h:69