/* * 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 { /// /// The detailed definition of a template. /// public partial class TemplateVersionDefinition { private AnalysisDefaults _analysisDefaults; private List _calculatedFields = new List(); private List _columnConfigurations = new List(); private List _dataSetConfigurations = new List(); private List _filterGroups = new List(); private List _parameterDeclarations = new List(); private List _sheets = new List(); /// /// Gets and sets the property AnalysisDefaults. /// public AnalysisDefaults AnalysisDefaults { get { return this._analysisDefaults; } set { this._analysisDefaults = value; } } // Check to see if AnalysisDefaults property is set internal bool IsSetAnalysisDefaults() { return this._analysisDefaults != null; } /// /// Gets and sets the property CalculatedFields. /// /// An array of calculated field definitions for the template. /// /// [AWSProperty(Max=500)] public List CalculatedFields { get { return this._calculatedFields; } set { this._calculatedFields = value; } } // Check to see if CalculatedFields property is set internal bool IsSetCalculatedFields() { return this._calculatedFields != null && this._calculatedFields.Count > 0; } /// /// Gets and sets the property ColumnConfigurations. /// /// An array of template-level column configurations. Column configurations are used /// to set default formatting for a column that's used throughout a template. /// /// [AWSProperty(Max=200)] public List ColumnConfigurations { get { return this._columnConfigurations; } set { this._columnConfigurations = value; } } // Check to see if ColumnConfigurations property is set internal bool IsSetColumnConfigurations() { return this._columnConfigurations != null && this._columnConfigurations.Count > 0; } /// /// Gets and sets the property DataSetConfigurations. /// /// An array of dataset configurations. These configurations define the required columns /// for each dataset used within a template. /// /// [AWSProperty(Required=true, Max=30)] public List DataSetConfigurations { get { return this._dataSetConfigurations; } set { this._dataSetConfigurations = value; } } // Check to see if DataSetConfigurations property is set internal bool IsSetDataSetConfigurations() { return this._dataSetConfigurations != null && this._dataSetConfigurations.Count > 0; } /// /// Gets and sets the property FilterGroups. /// /// Filter definitions for a template. /// /// /// /// For more information, see Filtering /// Data in the Amazon QuickSight User Guide. /// /// [AWSProperty(Max=2000)] public List FilterGroups { get { return this._filterGroups; } set { this._filterGroups = value; } } // Check to see if FilterGroups property is set internal bool IsSetFilterGroups() { return this._filterGroups != null && this._filterGroups.Count > 0; } /// /// Gets and sets the property ParameterDeclarations. /// /// An array of parameter declarations for a template. /// /// /// /// Parameters are named variables that can transfer a value for use by an action /// or an object. /// /// /// /// For more information, see Parameters /// in Amazon QuickSight in the Amazon QuickSight User Guide. /// /// [AWSProperty(Max=200)] public List ParameterDeclarations { get { return this._parameterDeclarations; } set { this._parameterDeclarations = value; } } // Check to see if ParameterDeclarations property is set internal bool IsSetParameterDeclarations() { return this._parameterDeclarations != null && this._parameterDeclarations.Count > 0; } /// /// Gets and sets the property Sheets. /// /// An array of sheet definitions for a template. /// /// [AWSProperty(Max=20)] public List Sheets { get { return this._sheets; } set { this._sheets = value; } } // Check to see if Sheets property is set internal bool IsSetSheets() { return this._sheets != null && this._sheets.Count > 0; } } }