/*
* 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 status, start time, and end time of a backtest, as well as a failure reason if
/// applicable.
///
public partial class TestWindowSummary
{
private string _message;
private string _status;
private DateTime? _testWindowEnd;
private DateTime? _testWindowStart;
///
/// Gets and sets the property Message.
///
/// If the test failed, the reason why it failed.
///
///
public string Message
{
get { return this._message; }
set { this._message = value; }
}
// Check to see if Message property is set
internal bool IsSetMessage()
{
return this._message != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the test. Possible status values are:
///
/// -
///
///
ACTIVE
///
/// -
///
///
CREATE_IN_PROGRESS
///
/// -
///
///
CREATE_FAILED
///
///
///
[AWSProperty(Max=256)]
public string Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
///
/// Gets and sets the property TestWindowEnd.
///
/// The time at which the test ended.
///
///
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 time at which the test began.
///
///
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;
}
}
}