/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the forecast-2018-06-26.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.ForecastService.Model
{
///
/// 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
///
///
public partial class MetricResult
{
private string _metricName;
private double? _metricValue;
///
/// Gets and sets the property MetricName.
///
/// The name of the metric.
///
///
[AWSProperty(Max=256)]
public string MetricName
{
get { return this._metricName; }
set { this._metricName = value; }
}
// Check to see if MetricName property is set
internal bool IsSetMetricName()
{
return this._metricName != null;
}
///
/// Gets and sets the property MetricValue.
///
/// The value for the metric.
///
///
public double MetricValue
{
get { return this._metricValue.GetValueOrDefault(); }
set { this._metricValue = value; }
}
// Check to see if MetricValue property is set
internal bool IsSetMetricValue()
{
return this._metricValue.HasValue;
}
}
}