/* * 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 glue-2017-03-31.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.Glue.Model { /// /// Contains the individual types of column statistics data. Only one data object should /// be set and indicated by the Type attribute. /// public partial class ColumnStatisticsData { private BinaryColumnStatisticsData _binaryColumnStatisticsData; private BooleanColumnStatisticsData _booleanColumnStatisticsData; private DateColumnStatisticsData _dateColumnStatisticsData; private DecimalColumnStatisticsData _decimalColumnStatisticsData; private DoubleColumnStatisticsData _doubleColumnStatisticsData; private LongColumnStatisticsData _longColumnStatisticsData; private StringColumnStatisticsData _stringColumnStatisticsData; private ColumnStatisticsType _type; /// /// Gets and sets the property BinaryColumnStatisticsData. /// /// Binary column statistics data. /// /// public BinaryColumnStatisticsData BinaryColumnStatisticsData { get { return this._binaryColumnStatisticsData; } set { this._binaryColumnStatisticsData = value; } } // Check to see if BinaryColumnStatisticsData property is set internal bool IsSetBinaryColumnStatisticsData() { return this._binaryColumnStatisticsData != null; } /// /// Gets and sets the property BooleanColumnStatisticsData. /// /// Boolean column statistics data. /// /// public BooleanColumnStatisticsData BooleanColumnStatisticsData { get { return this._booleanColumnStatisticsData; } set { this._booleanColumnStatisticsData = value; } } // Check to see if BooleanColumnStatisticsData property is set internal bool IsSetBooleanColumnStatisticsData() { return this._booleanColumnStatisticsData != null; } /// /// Gets and sets the property DateColumnStatisticsData. /// /// Date column statistics data. /// /// public DateColumnStatisticsData DateColumnStatisticsData { get { return this._dateColumnStatisticsData; } set { this._dateColumnStatisticsData = value; } } // Check to see if DateColumnStatisticsData property is set internal bool IsSetDateColumnStatisticsData() { return this._dateColumnStatisticsData != null; } /// /// Gets and sets the property DecimalColumnStatisticsData. /// /// Decimal column statistics data. UnscaledValues within are Base64-encoded binary objects /// storing big-endian, two's complement representations of the decimal's unscaled value. /// /// /// public DecimalColumnStatisticsData DecimalColumnStatisticsData { get { return this._decimalColumnStatisticsData; } set { this._decimalColumnStatisticsData = value; } } // Check to see if DecimalColumnStatisticsData property is set internal bool IsSetDecimalColumnStatisticsData() { return this._decimalColumnStatisticsData != null; } /// /// Gets and sets the property DoubleColumnStatisticsData. /// /// Double column statistics data. /// /// public DoubleColumnStatisticsData DoubleColumnStatisticsData { get { return this._doubleColumnStatisticsData; } set { this._doubleColumnStatisticsData = value; } } // Check to see if DoubleColumnStatisticsData property is set internal bool IsSetDoubleColumnStatisticsData() { return this._doubleColumnStatisticsData != null; } /// /// Gets and sets the property LongColumnStatisticsData. /// /// Long column statistics data. /// /// public LongColumnStatisticsData LongColumnStatisticsData { get { return this._longColumnStatisticsData; } set { this._longColumnStatisticsData = value; } } // Check to see if LongColumnStatisticsData property is set internal bool IsSetLongColumnStatisticsData() { return this._longColumnStatisticsData != null; } /// /// Gets and sets the property StringColumnStatisticsData. /// /// String column statistics data. /// /// public StringColumnStatisticsData StringColumnStatisticsData { get { return this._stringColumnStatisticsData; } set { this._stringColumnStatisticsData = value; } } // Check to see if StringColumnStatisticsData property is set internal bool IsSetStringColumnStatisticsData() { return this._stringColumnStatisticsData != null; } /// /// Gets and sets the property Type. /// /// The type of column statistics data. /// /// [AWSProperty(Required=true)] public ColumnStatisticsType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }