/** * 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 PrometheusInfo { public: AWS_KAFKA_API PrometheusInfo(); AWS_KAFKA_API PrometheusInfo(Aws::Utils::Json::JsonView jsonValue); AWS_KAFKA_API PrometheusInfo& 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 JmxExporterInfo& 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 JmxExporterInfo& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; } /** *

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

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

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

*/ inline PrometheusInfo& WithJmxExporter(const JmxExporterInfo& value) { SetJmxExporter(value); return *this;} /** *

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

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

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

*/ inline const NodeExporterInfo& 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 NodeExporterInfo& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; } /** *

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

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

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

*/ inline PrometheusInfo& WithNodeExporter(const NodeExporterInfo& value) { SetNodeExporter(value); return *this;} /** *

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

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