/*
* 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 iotanalytics-2017-11-27.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.IoTAnalytics.Model
{
///
/// A summary of information about a dataset.
///
public partial class DatasetSummary
{
private List _actions = new List();
private DateTime? _creationTime;
private string _datasetName;
private DateTime? _lastUpdateTime;
private DatasetStatus _status;
private List _triggers = new List();
///
/// Gets and sets the property Actions.
///
/// A list of DataActionSummary
objects.
///
///
[AWSProperty(Min=1, Max=1)]
public List Actions
{
get { return this._actions; }
set { this._actions = value; }
}
// Check to see if Actions property is set
internal bool IsSetActions()
{
return this._actions != null && this._actions.Count > 0;
}
///
/// Gets and sets the property CreationTime.
///
/// The time 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 DatasetName.
///
/// The name of the dataset.
///
///
[AWSProperty(Min=1, Max=128)]
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 LastUpdateTime.
///
/// The last time the dataset was updated.
///
///
public DateTime LastUpdateTime
{
get { return this._lastUpdateTime.GetValueOrDefault(); }
set { this._lastUpdateTime = value; }
}
// Check to see if LastUpdateTime property is set
internal bool IsSetLastUpdateTime()
{
return this._lastUpdateTime.HasValue;
}
///
/// Gets and sets the property Status.
///
/// The status of the dataset.
///
///
public DatasetStatus 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 Triggers.
///
/// A list of triggers. A trigger causes dataset content to be populated at a specified
/// time interval or when another dataset is populated. The list of triggers can be empty
/// or contain up to five DataSetTrigger
objects
///
///
[AWSProperty(Min=0, Max=5)]
public List Triggers
{
get { return this._triggers; }
set { this._triggers = value; }
}
// Check to see if Triggers property is set
internal bool IsSetTriggers()
{
return this._triggers != null && this._triggers.Count > 0;
}
}
}