/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An individual metric Forecast calculated when monitoring predictor usage. You
* can compare the value for this metric to the metric's value in the
* Baseline to see how your predictor's performance is changing. For
* more information about metrics generated by Forecast see Evaluating
* Predictor Accuracy See Also:
AWS
* API Reference
The name of the metric.
*/ inline const Aws::String& GetMetricName() const{ return m_metricName; } /** *The name of the metric.
*/ inline bool MetricNameHasBeenSet() const { return m_metricNameHasBeenSet; } /** *The name of the metric.
*/ inline void SetMetricName(const Aws::String& value) { m_metricNameHasBeenSet = true; m_metricName = value; } /** *The name of the metric.
*/ inline void SetMetricName(Aws::String&& value) { m_metricNameHasBeenSet = true; m_metricName = std::move(value); } /** *The name of the metric.
*/ inline void SetMetricName(const char* value) { m_metricNameHasBeenSet = true; m_metricName.assign(value); } /** *The name of the metric.
*/ inline MetricResult& WithMetricName(const Aws::String& value) { SetMetricName(value); return *this;} /** *The name of the metric.
*/ inline MetricResult& WithMetricName(Aws::String&& value) { SetMetricName(std::move(value)); return *this;} /** *The name of the metric.
*/ inline MetricResult& WithMetricName(const char* value) { SetMetricName(value); return *this;} /** *The value for the metric.
*/ inline double GetMetricValue() const{ return m_metricValue; } /** *The value for the metric.
*/ inline bool MetricValueHasBeenSet() const { return m_metricValueHasBeenSet; } /** *The value for the metric.
*/ inline void SetMetricValue(double value) { m_metricValueHasBeenSet = true; m_metricValue = value; } /** *The value for the metric.
*/ inline MetricResult& WithMetricValue(double value) { SetMetricValue(value); return *this;} private: Aws::String m_metricName; bool m_metricNameHasBeenSet = false; double m_metricValue; bool m_metricValueHasBeenSet = false; }; } // namespace Model } // namespace ForecastService } // namespace Aws