/*
* 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 finspace-data-2020-07-13.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.FinSpaceData.Model
{
///
/// The definition of a column in a tabular Dataset.
///
public partial class ColumnDefinition
{
private string _columnDescription;
private string _columnName;
private ColumnDataType _dataType;
///
/// Gets and sets the property ColumnDescription.
///
/// Description for a column.
///
///
[AWSProperty(Max=512)]
public string ColumnDescription
{
get { return this._columnDescription; }
set { this._columnDescription = value; }
}
// Check to see if ColumnDescription property is set
internal bool IsSetColumnDescription()
{
return this._columnDescription != null;
}
///
/// Gets and sets the property ColumnName.
///
/// The name of a column.
///
///
[AWSProperty(Max=126)]
public string ColumnName
{
get { return this._columnName; }
set { this._columnName = value; }
}
// Check to see if ColumnName property is set
internal bool IsSetColumnName()
{
return this._columnName != null;
}
///
/// Gets and sets the property DataType.
///
/// Data type of a column.
///
/// -
///
///
STRING
– A String data type.
///
///
///
/// CHAR
– A char data type.
///
///
///
/// INTEGER
– An integer data type.
///
///
///
/// TINYINT
– A tinyint data type.
///
///
///
/// SMALLINT
– A smallint data type.
///
///
///
/// BIGINT
– A bigint data type.
///
///
///
/// FLOAT
– A float data type.
///
///
///
/// DOUBLE
– A double data type.
///
///
///
/// DATE
– A date data type.
///
///
///
/// DATETIME
– A datetime data type.
///
///
///
/// BOOLEAN
– A boolean data type.
///
///
///
/// BINARY
– A binary data type.
///
///
///
public ColumnDataType DataType
{
get { return this._dataType; }
set { this._dataType = value; }
}
// Check to see if DataType property is set
internal bool IsSetDataType()
{
return this._dataType != null;
}
}
}