/*
* 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 lookoutequipment-2020-12-15.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.LookoutEquipment.Model
{
///
/// Container for the parameters to the CreateDataset operation.
/// Creates a container for a collection of data being ingested for analysis. The dataset
/// contains the metadata describing where the data is and what the data actually looks
/// like. In other words, it contains the location of the data source, the data schema,
/// and other information. A dataset also contains any tags associated with the ingested
/// data.
///
public partial class CreateDatasetRequest : AmazonLookoutEquipmentRequest
{
private string _clientToken;
private string _datasetName;
private DatasetSchema _datasetSchema;
private string _serverSideKmsKeyId;
private List _tags = new List();
///
/// Gets and sets the property ClientToken.
///
/// A unique identifier for the request. If you do not set the client request token,
/// Amazon Lookout for Equipment generates one.
///
///
[AWSProperty(Min=1, Max=256)]
public string ClientToken
{
get { return this._clientToken; }
set { this._clientToken = value; }
}
// Check to see if ClientToken property is set
internal bool IsSetClientToken()
{
return this._clientToken != null;
}
///
/// Gets and sets the property DatasetName.
///
/// The name of the dataset being created.
///
///
[AWSProperty(Required=true, Min=1, Max=200)]
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 DatasetSchema.
///
/// A JSON description of the data that is in each time series dataset, including names,
/// column names, and data types.
///
///
public DatasetSchema DatasetSchema
{
get { return this._datasetSchema; }
set { this._datasetSchema = value; }
}
// Check to see if DatasetSchema property is set
internal bool IsSetDatasetSchema()
{
return this._datasetSchema != null;
}
///
/// Gets and sets the property ServerSideKmsKeyId.
///
/// Provides the identifier of the KMS key used to encrypt dataset data by Amazon Lookout
/// for Equipment.
///
///
[AWSProperty(Min=1, Max=2048)]
public string ServerSideKmsKeyId
{
get { return this._serverSideKmsKeyId; }
set { this._serverSideKmsKeyId = value; }
}
// Check to see if ServerSideKmsKeyId property is set
internal bool IsSetServerSideKmsKeyId()
{
return this._serverSideKmsKeyId != null;
}
///
/// Gets and sets the property Tags.
///
/// Any tags associated with the ingested data described in the dataset.
///
///
[AWSProperty(Min=0, Max=200)]
public List Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
}