AWS SDK for C++  1.9.106
AWS SDK for C++
OpenMonitoring.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 Prometheus& GetPrometheus() const{ return m_prometheus; }
49 
55  inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; }
56 
62  inline void SetPrometheus(const Prometheus& value) { m_prometheusHasBeenSet = true; m_prometheus = value; }
63 
69  inline void SetPrometheus(Prometheus&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::move(value); }
70 
76  inline OpenMonitoring& WithPrometheus(const Prometheus& value) { SetPrometheus(value); return *this;}
77 
83  inline OpenMonitoring& WithPrometheus(Prometheus&& value) { SetPrometheus(std::move(value)); return *this;}
84 
85  private:
86 
87  Prometheus m_prometheus;
88  bool m_prometheusHasBeenSet;
89  };
90 
91 } // namespace Model
92 } // namespace Kafka
93 } // namespace Aws
Aws::Kafka::Model::OpenMonitoring::WithPrometheus
OpenMonitoring & WithPrometheus(const Prometheus &value)
Definition: OpenMonitoring.h:76
Aws::Kafka::Model::Prometheus
Definition: Prometheus.h:35
Prometheus.h
Aws::Kafka::Model::OpenMonitoring::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::Kafka::Model::OpenMonitoring::OpenMonitoring
OpenMonitoring()
Aws::Kafka::Model::OpenMonitoring::WithPrometheus
OpenMonitoring & WithPrometheus(Prometheus &&value)
Definition: OpenMonitoring.h:83
Aws::Kafka::Model::OpenMonitoring
Definition: OpenMonitoring.h:35
Aws::Kafka::Model::OpenMonitoring::SetPrometheus
void SetPrometheus(const Prometheus &value)
Definition: OpenMonitoring.h:62
Aws::Kafka::Model::OpenMonitoring::SetPrometheus
void SetPrometheus(Prometheus &&value)
Definition: OpenMonitoring.h:69
Aws::Kafka::Model::OpenMonitoring::GetPrometheus
const Prometheus & GetPrometheus() const
Definition: OpenMonitoring.h:48
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::OpenMonitoring::operator=
OpenMonitoring & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws
Definition: AccessManagementClient.h:15
Aws::Kafka::Model::OpenMonitoring::PrometheusHasBeenSet
bool PrometheusHasBeenSet() const
Definition: OpenMonitoring.h:55
Kafka_EXPORTS.h
Aws::Kafka::Model::OpenMonitoring::OpenMonitoring
OpenMonitoring(Aws::Utils::Json::JsonView jsonValue)