This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-kafka/include/aws/kafka/model/Prometheus.h

152 lines
3.8 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/kafka/Kafka_EXPORTS.h>
#include <aws/kafka/model/JmxExporter.h>
#include <aws/kafka/model/NodeExporter.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Kafka
{
namespace Model
{
/**
*
<p>Prometheus settings.</p>
<p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/kafka-2018-11-14/Prometheus">AWS
* API Reference</a></p>
*/
class AWS_KAFKA_API Prometheus
{
public:
Prometheus();
Prometheus(Aws::Utils::Json::JsonView jsonValue);
Prometheus& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline const JmxExporter& GetJmxExporter() const{ return m_jmxExporter; }
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline bool JmxExporterHasBeenSet() const { return m_jmxExporterHasBeenSet; }
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline void SetJmxExporter(const JmxExporter& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = value; }
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline void SetJmxExporter(JmxExporter&& value) { m_jmxExporterHasBeenSet = true; m_jmxExporter = std::move(value); }
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline Prometheus& WithJmxExporter(const JmxExporter& value) { SetJmxExporter(value); return *this;}
/**
*
<p>Indicates whether you want to enable or disable the JMX
* Exporter.</p>
*/
inline Prometheus& WithJmxExporter(JmxExporter&& value) { SetJmxExporter(std::move(value)); return *this;}
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline const NodeExporter& GetNodeExporter() const{ return m_nodeExporter; }
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline bool NodeExporterHasBeenSet() const { return m_nodeExporterHasBeenSet; }
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline void SetNodeExporter(const NodeExporter& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = value; }
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline void SetNodeExporter(NodeExporter&& value) { m_nodeExporterHasBeenSet = true; m_nodeExporter = std::move(value); }
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline Prometheus& WithNodeExporter(const NodeExporter& value) { SetNodeExporter(value); return *this;}
/**
*
<p>Indicates whether you want to enable or disable the Node
* Exporter.</p>
*/
inline Prometheus& WithNodeExporter(NodeExporter&& value) { SetNodeExporter(std::move(value)); return *this;}
private:
JmxExporter m_jmxExporter;
bool m_jmxExporterHasBeenSet;
NodeExporter m_nodeExporter;
bool m_nodeExporterHasBeenSet;
};
} // namespace Model
} // namespace Kafka
} // namespace Aws