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

Prometheus settings.

See Also:

AWS * API Reference

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

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline const JmxExporter& GetJmxExporter() const{ return m_jmxExporter; } /** *

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; } /** *

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline void SetJmxExporter(const JmxExporter& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; } /** *

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline void SetJmxExporter(JmxExporter&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::move(value); } /** *

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline Prometheus& WithJmxExporter(const JmxExporter& value) { SetJmxExporter(value); return *this;} /** *

Indicates whether you want to turn on or turn off the JMX * Exporter.

*/ inline Prometheus& WithJmxExporter(JmxExporter&& value) { SetJmxExporter(std::move(value)); return *this;} /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline const NodeExporter& GetNodeExporter() const{ return m_nodeExporter; } /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; } /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline void SetNodeExporter(const NodeExporter& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; } /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline void SetNodeExporter(NodeExporter&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::move(value); } /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline Prometheus& WithNodeExporter(const NodeExporter& value) { SetNodeExporter(value); return *this;} /** *

Indicates whether you want to turn on or turn off the Node * Exporter.

*/ inline Prometheus& WithNodeExporter(NodeExporter&& value) { SetNodeExporter(std::move(value)); return *this;} private: JmxExporter m_jmxExporter; bool m_jmxExporterHasBeenSet = false; NodeExporter m_nodeExporter; bool m_nodeExporterHasBeenSet = false; }; } // namespace Model } // namespace Kafka } // namespace Aws