/** * 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 OpenMonitoringInfo { public: AWS_KAFKA_API OpenMonitoringInfo(); AWS_KAFKA_API OpenMonitoringInfo(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API OpenMonitoringInfo& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

Prometheus settings.

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

Prometheus settings.

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

Prometheus settings.

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

Prometheus settings.

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

Prometheus settings.

*/ inline OpenMonitoringInfo& WithPrometheus(const PrometheusInfo& value) { SetPrometheus(value); return *this;} /** *

Prometheus settings.

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