/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Kafka { namespace Model { /** *

JMX and Node monitoring for the MSK cluster.

*

See Also:

AWS * API Reference

*/ class OpenMonitoring { public: AWS_KAFKA_API OpenMonitoring(); AWS_KAFKA_API OpenMonitoring(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API OpenMonitoring& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Prometheus settings.

*/ inline const Prometheus& GetPrometheus() const{ return m_prometheus; } /** *

Prometheus settings.

*/ inline bool PrometheusHasBeenSet() const { return m_prometheusHasBeenSet; } /** *

Prometheus settings.

*/ inline void SetPrometheus(const Prometheus& value) { m_prometheusHasBeenSet = true; m_prometheus = value; } /** *

Prometheus settings.

*/ inline void SetPrometheus(Prometheus&& value) { m_prometheusHasBeenSet = true; m_prometheus = std::move(value); } /** *

Prometheus settings.

*/ inline OpenMonitoring& WithPrometheus(const Prometheus& value) { SetPrometheus(value); return *this;} /** *

Prometheus settings.

*/ inline OpenMonitoring& WithPrometheus(Prometheus&& value) { SetPrometheus(std::move(value)); return *this;} private: Prometheus m_prometheus; bool m_prometheusHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws