/* * 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 { /// /// This is the response object from the DescribeDataset operation. /// public partial class DescribeDatasetResponse : AmazonWebServiceResponse { private DateTime? _creationTime; private string _dataFrequency; private string _datasetArn; private string _datasetName; private DatasetType _datasetType; private Domain _domain; private EncryptionConfig _encryptionConfig; private DateTime? _lastModificationTime; private Schema _schema; private string _status; /// /// Gets and sets the property CreationTime. /// /// When the dataset 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 DataFrequency. /// /// The frequency of data collection. /// /// /// /// Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), /// 15min (15 minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For /// example, "M" indicates every month and "30min" indicates every 30 minutes. /// /// [AWSProperty(Min=1, Max=5)] public string DataFrequency { get { return this._dataFrequency; } set { this._dataFrequency = value; } } // Check to see if DataFrequency property is set internal bool IsSetDataFrequency() { return this._dataFrequency != null; } /// /// Gets and sets the property DatasetArn. /// /// The Amazon Resource Name (ARN) of the dataset. /// /// [AWSProperty(Max=256)] public string DatasetArn { get { return this._datasetArn; } set { this._datasetArn = value; } } // Check to see if DatasetArn property is set internal bool IsSetDatasetArn() { return this._datasetArn != null; } /// /// Gets and sets the property DatasetName. /// /// The name of the dataset. /// /// [AWSProperty(Min=1, Max=63)] public string DatasetName { get { return this._datasetName; } set { this._datasetName = value; } } // Check to see if DatasetName property is set internal bool IsSetDatasetName() { return this._datasetName != null; } /// /// Gets and sets the property DatasetType. /// /// The dataset type. /// /// public DatasetType DatasetType { get { return this._datasetType; } set { this._datasetType = value; } } // Check to see if DatasetType property is set internal bool IsSetDatasetType() { return this._datasetType != null; } /// /// Gets and sets the property Domain. /// /// The domain associated with the dataset. /// /// public Domain Domain { get { return this._domain; } set { this._domain = value; } } // Check to see if Domain property is set internal bool IsSetDomain() { return this._domain != null; } /// /// Gets and sets the property EncryptionConfig. /// /// The Key Management Service (KMS) key and the Identity and Access Management (IAM) /// role that Amazon Forecast can assume to access the key. /// /// public EncryptionConfig EncryptionConfig { get { return this._encryptionConfig; } set { this._encryptionConfig = value; } } // Check to see if EncryptionConfig property is set internal bool IsSetEncryptionConfig() { return this._encryptionConfig != null; } /// /// Gets and sets the property LastModificationTime. /// /// When you create a dataset, LastModificationTime is the same as CreationTime. /// While data is being imported to the dataset, LastModificationTime is /// the current time of the DescribeDataset call. After a CreateDatasetImportJob /// operation has finished, LastModificationTime is when the import job completed /// 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 Schema. /// /// An array of SchemaAttribute objects that specify the dataset fields. /// Each SchemaAttribute specifies the name and data type of a field. /// /// public Schema Schema { get { return this._schema; } set { this._schema = value; } } // Check to see if Schema property is set internal bool IsSetSchema() { return this._schema != null; } /// /// Gets and sets the property Status. /// /// The status of the dataset. States include: /// /// /// /// The UPDATE states apply while data is imported to the dataset from a /// call to the CreateDatasetImportJob /// operation and reflect the status of the dataset import job. For example, when the /// import job status is CREATE_IN_PROGRESS, the status of the dataset is /// UPDATE_IN_PROGRESS. /// /// /// /// The Status of the dataset must be ACTIVE before you can /// import training data. /// /// /// [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; } } }