/* * 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 forecast properties used in the ListForecasts operation. /// To get the complete set of properties, call the DescribeForecast operation, /// and provide the ForecastArn that is listed in the summary. /// public partial class ForecastSummary { private bool? _createdUsingAutoPredictor; private DateTime? _creationTime; private string _datasetGroupArn; private string _forecastArn; private string _forecastName; private DateTime? _lastModificationTime; private string _message; private string _predictorArn; private string _status; /// /// Gets and sets the property CreatedUsingAutoPredictor. /// /// Whether the Forecast was created from an AutoPredictor. /// /// public bool CreatedUsingAutoPredictor { get { return this._createdUsingAutoPredictor.GetValueOrDefault(); } set { this._createdUsingAutoPredictor = value; } } // Check to see if CreatedUsingAutoPredictor property is set internal bool IsSetCreatedUsingAutoPredictor() { return this._createdUsingAutoPredictor.HasValue; } /// /// Gets and sets the property CreationTime. /// /// When the forecast creation 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 provided 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 ForecastArn. /// /// The ARN of the forecast. /// /// [AWSProperty(Max=256)] public string ForecastArn { get { return this._forecastArn; } set { this._forecastArn = value; } } // Check to see if ForecastArn property is set internal bool IsSetForecastArn() { return this._forecastArn != null; } /// /// Gets and sets the property ForecastName. /// /// The name of the forecast. /// /// [AWSProperty(Min=1, Max=63)] public string ForecastName { get { return this._forecastName; } set { this._forecastName = value; } } // Check to see if ForecastName property is set internal bool IsSetForecastName() { return this._forecastName != null; } /// /// Gets and sets the property LastModificationTime. /// /// The last time the resource was modified. The timestamp depends on the status of the /// job: /// /// /// 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 used to generate the forecast. /// /// [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 Status. /// /// The status of the forecast. States include: /// /// /// /// The Status of the forecast must be ACTIVE before you can /// query or export the 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; } } }