/*
* 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
{
///
/// Provides a summary of the predictor properties that are used in the ListPredictors
/// operation. To get the complete set of properties, call the DescribePredictor
/// operation, and provide the listed PredictorArn
.
///
public partial class PredictorSummary
{
private DateTime? _creationTime;
private string _datasetGroupArn;
private bool? _isAutoPredictor;
private DateTime? _lastModificationTime;
private string _message;
private string _predictorArn;
private string _predictorName;
private ReferencePredictorSummary _referencePredictorSummary;
private string _status;
///
/// Gets and sets the property CreationTime.
///
/// When the model training task was created.
///
///
public DateTime CreationTime
{
get { return this._creationTime.GetValueOrDefault(); }
set { this._creationTime = value; }
}
// Check to see if CreationTime property is set
internal bool IsSetCreationTime()
{
return this._creationTime.HasValue;
}
///
/// Gets and sets the property DatasetGroupArn.
///
/// The Amazon Resource Name (ARN) of the dataset group that contains the data used to
/// train the predictor.
///
///
[AWSProperty(Max=256)]
public string DatasetGroupArn
{
get { return this._datasetGroupArn; }
set { this._datasetGroupArn = value; }
}
// Check to see if DatasetGroupArn property is set
internal bool IsSetDatasetGroupArn()
{
return this._datasetGroupArn != null;
}
///
/// Gets and sets the property IsAutoPredictor.
///
/// Whether AutoPredictor was used to create the predictor.
///
///
public bool IsAutoPredictor
{
get { return this._isAutoPredictor.GetValueOrDefault(); }
set { this._isAutoPredictor = value; }
}
// Check to see if IsAutoPredictor property is set
internal bool IsSetIsAutoPredictor()
{
return this._isAutoPredictor.HasValue;
}
///
/// Gets and sets the property LastModificationTime.
///
/// The last time the resource was modified. The timestamp depends on the status of the
/// job:
///
/// -
///
///
CREATE_PENDING
- The CreationTime
.
///
/// -
///
///
CREATE_IN_PROGRESS
- The current timestamp.
///
/// -
///
///
CREATE_STOPPING
- The current timestamp.
///
/// -
///
///
CREATE_STOPPED
- When the job stopped.
///
/// -
///
///
ACTIVE
or CREATE_FAILED
- When the job finished or failed.
///
///
///
public DateTime LastModificationTime
{
get { return this._lastModificationTime.GetValueOrDefault(); }
set { this._lastModificationTime = value; }
}
// Check to see if LastModificationTime property is set
internal bool IsSetLastModificationTime()
{
return this._lastModificationTime.HasValue;
}
///
/// Gets and sets the property Message.
///
/// If an error occurred, an informational message about the error.
///
///
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 PredictorArn.
///
/// The ARN of the predictor.
///
///
[AWSProperty(Max=256)]
public string PredictorArn
{
get { return this._predictorArn; }
set { this._predictorArn = value; }
}
// Check to see if PredictorArn property is set
internal bool IsSetPredictorArn()
{
return this._predictorArn != null;
}
///
/// Gets and sets the property PredictorName.
///
/// The name of the predictor.
///
///
[AWSProperty(Min=1, Max=63)]
public string PredictorName
{
get { return this._predictorName; }
set { this._predictorName = value; }
}
// Check to see if PredictorName property is set
internal bool IsSetPredictorName()
{
return this._predictorName != null;
}
///
/// Gets and sets the property ReferencePredictorSummary.
///
/// A summary of the reference predictor used if the predictor was retrained or upgraded.
///
///
public ReferencePredictorSummary ReferencePredictorSummary
{
get { return this._referencePredictorSummary; }
set { this._referencePredictorSummary = value; }
}
// Check to see if ReferencePredictorSummary property is set
internal bool IsSetReferencePredictorSummary()
{
return this._referencePredictorSummary != null;
}
///
/// Gets and sets the property Status.
///
/// The status of the predictor. States include:
///
/// -
///
///
ACTIVE
///
/// -
///
///
CREATE_PENDING
, CREATE_IN_PROGRESS
, CREATE_FAILED
///
///
/// -
///
///
DELETE_PENDING
, DELETE_IN_PROGRESS
, DELETE_FAILED
///
///
/// -
///
///
CREATE_STOPPING
, CREATE_STOPPED
///
///
///
/// The Status
of the predictor must be ACTIVE
before you can
/// use the predictor to create a forecast.
///
///
///
[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;
}
}
}