/*
* 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
{
///
/// The metrics for a time range within the evaluation portion of a dataset. This object
/// is part of the EvaluationResult object.
///
///
///
/// The TestWindowStart
and TestWindowEnd
parameters are determined
/// by the BackTestWindowOffset
parameter of the EvaluationParameters
/// object.
///
///
public partial class WindowSummary
{
private EvaluationType _evaluationType;
private int? _itemCount;
private Metrics _metrics;
private DateTime? _testWindowEnd;
private DateTime? _testWindowStart;
///
/// Gets and sets the property EvaluationType.
///
/// The type of evaluation.
///
/// -
///
///
SUMMARY
- The average metrics across all windows.
///
/// -
///
///
COMPUTED
- The metrics for the specified window.
///
///
///
public EvaluationType EvaluationType
{
get { return this._evaluationType; }
set { this._evaluationType = value; }
}
// Check to see if EvaluationType property is set
internal bool IsSetEvaluationType()
{
return this._evaluationType != null;
}
///
/// Gets and sets the property ItemCount.
///
/// The number of data points within the window.
///
///
public int ItemCount
{
get { return this._itemCount.GetValueOrDefault(); }
set { this._itemCount = value; }
}
// Check to see if ItemCount property is set
internal bool IsSetItemCount()
{
return this._itemCount.HasValue;
}
///
/// Gets and sets the property Metrics.
///
/// Provides metrics used to evaluate the performance of a predictor.
///
///
public Metrics Metrics
{
get { return this._metrics; }
set { this._metrics = value; }
}
// Check to see if Metrics property is set
internal bool IsSetMetrics()
{
return this._metrics != null;
}
///
/// Gets and sets the property TestWindowEnd.
///
/// The timestamp that defines the end of the window.
///
///
public DateTime TestWindowEnd
{
get { return this._testWindowEnd.GetValueOrDefault(); }
set { this._testWindowEnd = value; }
}
// Check to see if TestWindowEnd property is set
internal bool IsSetTestWindowEnd()
{
return this._testWindowEnd.HasValue;
}
///
/// Gets and sets the property TestWindowStart.
///
/// The timestamp that defines the start of the window.
///
///
public DateTime TestWindowStart
{
get { return this._testWindowStart.GetValueOrDefault(); }
set { this._testWindowStart = value; }
}
// Check to see if TestWindowStart property is set
internal bool IsSetTestWindowStart()
{
return this._testWindowStart.HasValue;
}
}
}