/* * 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 quicksight-2018-04-01.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.QuickSight.Model { /// /// Represents a column in a dataset. /// public partial class TopicColumn { private DefaultAggregation _aggregation; private List _allowedAggregations = new List(); private List _cellValueSynonyms = new List(); private ColumnDataRole _columnDataRole; private string _columnDescription; private string _columnFriendlyName; private string _columnName; private List _columnSynonyms = new List(); private ComparativeOrder _comparativeOrder; private DefaultFormatting _defaultFormatting; private bool? _disableIndexing; private bool? _isIncludedInTopic; private bool? _neverAggregateInFilter; private List _notAllowedAggregations = new List(); private SemanticType _semanticType; private TopicTimeGranularity _timeGranularity; /// /// Gets and sets the property Aggregation. /// /// The type of aggregation that is performed on the column data when it's queried. Valid /// values for this structure are SUM, MAX, MIN, /// COUNT, DISTINCT_COUNT, and AVERAGE. /// /// public DefaultAggregation Aggregation { get { return this._aggregation; } set { this._aggregation = value; } } // Check to see if Aggregation property is set internal bool IsSetAggregation() { return this._aggregation != null; } /// /// Gets and sets the property AllowedAggregations. /// /// The list of aggregation types that are allowed for the column. Valid values for this /// structure are COUNT, DISTINCT_COUNT, MIN, MAX, /// MEDIAN, SUM, AVERAGE, STDEV, STDEVP, /// VAR, VARP, and PERCENTILE. /// /// public List AllowedAggregations { get { return this._allowedAggregations; } set { this._allowedAggregations = value; } } // Check to see if AllowedAggregations property is set internal bool IsSetAllowedAggregations() { return this._allowedAggregations != null && this._allowedAggregations.Count > 0; } /// /// Gets and sets the property CellValueSynonyms. /// /// The other names or aliases for the column cell value. /// /// public List CellValueSynonyms { get { return this._cellValueSynonyms; } set { this._cellValueSynonyms = value; } } // Check to see if CellValueSynonyms property is set internal bool IsSetCellValueSynonyms() { return this._cellValueSynonyms != null && this._cellValueSynonyms.Count > 0; } /// /// Gets and sets the property ColumnDataRole. /// /// The role of the column in the data. Valid values are DIMENSION and MEASURE. /// /// public ColumnDataRole ColumnDataRole { get { return this._columnDataRole; } set { this._columnDataRole = value; } } // Check to see if ColumnDataRole property is set internal bool IsSetColumnDataRole() { return this._columnDataRole != null; } /// /// Gets and sets the property ColumnDescription. /// /// A description of the column and its contents. /// /// [AWSProperty(Max=256)] 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 ColumnFriendlyName. /// /// A user-friendly name for the column. /// /// [AWSProperty(Max=256)] public string ColumnFriendlyName { get { return this._columnFriendlyName; } set { this._columnFriendlyName = value; } } // Check to see if ColumnFriendlyName property is set internal bool IsSetColumnFriendlyName() { return this._columnFriendlyName != null; } /// /// Gets and sets the property ColumnName. /// /// The name of the column. /// /// [AWSProperty(Required=true, Max=256)] 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 ColumnSynonyms. /// /// The other names or aliases for the column. /// /// public List ColumnSynonyms { get { return this._columnSynonyms; } set { this._columnSynonyms = value; } } // Check to see if ColumnSynonyms property is set internal bool IsSetColumnSynonyms() { return this._columnSynonyms != null && this._columnSynonyms.Count > 0; } /// /// Gets and sets the property ComparativeOrder. /// /// The order in which data is displayed for the column when it's used in a comparative /// context. /// /// public ComparativeOrder ComparativeOrder { get { return this._comparativeOrder; } set { this._comparativeOrder = value; } } // Check to see if ComparativeOrder property is set internal bool IsSetComparativeOrder() { return this._comparativeOrder != null; } /// /// Gets and sets the property DefaultFormatting. /// /// The default formatting used for values in the column. /// /// public DefaultFormatting DefaultFormatting { get { return this._defaultFormatting; } set { this._defaultFormatting = value; } } // Check to see if DefaultFormatting property is set internal bool IsSetDefaultFormatting() { return this._defaultFormatting != null; } /// /// Gets and sets the property DisableIndexing. /// /// A Boolean value that indicates whether the column shows in the autocomplete functionality. /// /// public bool DisableIndexing { get { return this._disableIndexing.GetValueOrDefault(); } set { this._disableIndexing = value; } } // Check to see if DisableIndexing property is set internal bool IsSetDisableIndexing() { return this._disableIndexing.HasValue; } /// /// Gets and sets the property IsIncludedInTopic. /// /// A Boolean value that indicates whether the column is included in the query results. /// /// public bool IsIncludedInTopic { get { return this._isIncludedInTopic.GetValueOrDefault(); } set { this._isIncludedInTopic = value; } } // Check to see if IsIncludedInTopic property is set internal bool IsSetIsIncludedInTopic() { return this._isIncludedInTopic.HasValue; } /// /// Gets and sets the property NeverAggregateInFilter. /// /// A Boolean value that indicates whether to aggregate the column data when it's used /// in a filter context. /// /// public bool NeverAggregateInFilter { get { return this._neverAggregateInFilter.GetValueOrDefault(); } set { this._neverAggregateInFilter = value; } } // Check to see if NeverAggregateInFilter property is set internal bool IsSetNeverAggregateInFilter() { return this._neverAggregateInFilter.HasValue; } /// /// Gets and sets the property NotAllowedAggregations. /// /// The list of aggregation types that are not allowed for the column. Valid values for /// this structure are COUNT, DISTINCT_COUNT, MIN, /// MAX, MEDIAN, SUM, AVERAGE, STDEV, /// STDEVP, VAR, VARP, and PERCENTILE. /// /// public List NotAllowedAggregations { get { return this._notAllowedAggregations; } set { this._notAllowedAggregations = value; } } // Check to see if NotAllowedAggregations property is set internal bool IsSetNotAllowedAggregations() { return this._notAllowedAggregations != null && this._notAllowedAggregations.Count > 0; } /// /// Gets and sets the property SemanticType. /// /// The semantic type of data contained in the column. /// /// public SemanticType SemanticType { get { return this._semanticType; } set { this._semanticType = value; } } // Check to see if SemanticType property is set internal bool IsSetSemanticType() { return this._semanticType != null; } /// /// Gets and sets the property TimeGranularity. /// /// The level of time precision that is used to aggregate DateTime values. /// /// public TopicTimeGranularity TimeGranularity { get { return this._timeGranularity; } set { this._timeGranularity = value; } } // Check to see if TimeGranularity property is set internal bool IsSetTimeGranularity() { return this._timeGranularity != null; } } }