/*
* 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 databrew-2017-07-25.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.GlueDataBrew.Model
{
///
/// Represents a dataset that can be processed by DataBrew.
///
public partial class Dataset
{
private string _accountId;
private DateTime? _createDate;
private string _createdBy;
private InputFormat _format;
private FormatOptions _formatOptions;
private Input _input;
private string _lastModifiedBy;
private DateTime? _lastModifiedDate;
private string _name;
private PathOptions _pathOptions;
private string _resourceArn;
private Source _source;
private Dictionary _tags = new Dictionary();
///
/// Gets and sets the property AccountId.
///
/// The ID of the Amazon Web Services account that owns the dataset.
///
///
[AWSProperty(Max=255)]
public string AccountId
{
get { return this._accountId; }
set { this._accountId = value; }
}
// Check to see if AccountId property is set
internal bool IsSetAccountId()
{
return this._accountId != null;
}
///
/// Gets and sets the property CreateDate.
///
/// The date and time that the dataset was created.
///
///
public DateTime CreateDate
{
get { return this._createDate.GetValueOrDefault(); }
set { this._createDate = value; }
}
// Check to see if CreateDate property is set
internal bool IsSetCreateDate()
{
return this._createDate.HasValue;
}
///
/// Gets and sets the property CreatedBy.
///
/// The Amazon Resource Name (ARN) of the user who created the dataset.
///
///
public string CreatedBy
{
get { return this._createdBy; }
set { this._createdBy = value; }
}
// Check to see if CreatedBy property is set
internal bool IsSetCreatedBy()
{
return this._createdBy != null;
}
///
/// Gets and sets the property Format.
///
/// The file format of a dataset that is created from an Amazon S3 file or folder.
///
///
public InputFormat Format
{
get { return this._format; }
set { this._format = value; }
}
// Check to see if Format property is set
internal bool IsSetFormat()
{
return this._format != null;
}
///
/// Gets and sets the property FormatOptions.
///
/// A set of options that define how DataBrew interprets the data in the dataset.
///
///
public FormatOptions FormatOptions
{
get { return this._formatOptions; }
set { this._formatOptions = value; }
}
// Check to see if FormatOptions property is set
internal bool IsSetFormatOptions()
{
return this._formatOptions != null;
}
///
/// Gets and sets the property Input.
///
/// Information on how DataBrew can find the dataset, in either the Glue Data Catalog
/// or Amazon S3.
///
///
[AWSProperty(Required=true)]
public Input Input
{
get { return this._input; }
set { this._input = value; }
}
// Check to see if Input property is set
internal bool IsSetInput()
{
return this._input != null;
}
///
/// Gets and sets the property LastModifiedBy.
///
/// The Amazon Resource Name (ARN) of the user who last modified the dataset.
///
///
public string LastModifiedBy
{
get { return this._lastModifiedBy; }
set { this._lastModifiedBy = value; }
}
// Check to see if LastModifiedBy property is set
internal bool IsSetLastModifiedBy()
{
return this._lastModifiedBy != null;
}
///
/// Gets and sets the property LastModifiedDate.
///
/// The last modification date and time of the dataset.
///
///
public DateTime LastModifiedDate
{
get { return this._lastModifiedDate.GetValueOrDefault(); }
set { this._lastModifiedDate = value; }
}
// Check to see if LastModifiedDate property is set
internal bool IsSetLastModifiedDate()
{
return this._lastModifiedDate.HasValue;
}
///
/// Gets and sets the property Name.
///
/// The unique name of the dataset.
///
///
[AWSProperty(Required=true, Min=1, Max=255)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
///
/// Gets and sets the property PathOptions.
///
/// A set of options that defines how DataBrew interprets an Amazon S3 path of the dataset.
///
///
public PathOptions PathOptions
{
get { return this._pathOptions; }
set { this._pathOptions = value; }
}
// Check to see if PathOptions property is set
internal bool IsSetPathOptions()
{
return this._pathOptions != null;
}
///
/// Gets and sets the property ResourceArn.
///
/// The unique Amazon Resource Name (ARN) for the dataset.
///
///
[AWSProperty(Min=20, Max=2048)]
public string ResourceArn
{
get { return this._resourceArn; }
set { this._resourceArn = value; }
}
// Check to see if ResourceArn property is set
internal bool IsSetResourceArn()
{
return this._resourceArn != null;
}
///
/// Gets and sets the property Source.
///
/// The location of the data for the dataset, either Amazon S3 or the Glue Data Catalog.
///
///
public Source Source
{
get { return this._source; }
set { this._source = value; }
}
// Check to see if Source property is set
internal bool IsSetSource()
{
return this._source != null;
}
///
/// Gets and sets the property Tags.
///
/// Metadata tags that have been applied to the dataset.
///
///
[AWSProperty(Min=1, Max=200)]
public Dictionary 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;
}
}
}