/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Contains the data for a real-time metric.See Also:
AWS
* API Reference
Information about the metric.
*/ inline const CurrentMetric& GetMetric() const{ return m_metric; } /** *Information about the metric.
*/ inline bool MetricHasBeenSet() const { return m_metricHasBeenSet; } /** *Information about the metric.
*/ inline void SetMetric(const CurrentMetric& value) { m_metricHasBeenSet = true; m_metric = value; } /** *Information about the metric.
*/ inline void SetMetric(CurrentMetric&& value) { m_metricHasBeenSet = true; m_metric = std::move(value); } /** *Information about the metric.
*/ inline CurrentMetricData& WithMetric(const CurrentMetric& value) { SetMetric(value); return *this;} /** *Information about the metric.
*/ inline CurrentMetricData& WithMetric(CurrentMetric&& value) { SetMetric(std::move(value)); return *this;} /** *The value of the metric.
*/ inline double GetValue() const{ return m_value; } /** *The value of the metric.
*/ inline bool ValueHasBeenSet() const { return m_valueHasBeenSet; } /** *The value of the metric.
*/ inline void SetValue(double value) { m_valueHasBeenSet = true; m_value = value; } /** *The value of the metric.
*/ inline CurrentMetricData& WithValue(double value) { SetValue(value); return *this;} private: CurrentMetric m_metric; bool m_metricHasBeenSet = false; double m_value; bool m_valueHasBeenSet = false; }; } // namespace Model } // namespace Connect } // namespace Aws