/* * 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 configuration that determines what the type of layout will be used on a sheet. /// /// /// /// This is a union type structure. For this structure to be valid, only one of the attributes /// can be defined. /// /// public partial class LayoutConfiguration { private FreeFormLayoutConfiguration _freeFormLayout; private GridLayoutConfiguration _gridLayout; private SectionBasedLayoutConfiguration _sectionBasedLayout; /// /// Gets and sets the property FreeFormLayout. /// /// A free-form is optimized for a fixed width and has more control over the exact placement /// of layout elements. /// /// public FreeFormLayoutConfiguration FreeFormLayout { get { return this._freeFormLayout; } set { this._freeFormLayout = value; } } // Check to see if FreeFormLayout property is set internal bool IsSetFreeFormLayout() { return this._freeFormLayout != null; } /// /// Gets and sets the property GridLayout. /// /// A type of layout that can be used on a sheet. In a grid layout, visuals snap to a /// grid with standard spacing and alignment. Dashboards are displayed as designed, with /// options to fit to screen or view at actual size. A grid layout can be configured to /// behave in one of two ways when the viewport is resized: FIXED or RESPONSIVE. /// /// public GridLayoutConfiguration GridLayout { get { return this._gridLayout; } set { this._gridLayout = value; } } // Check to see if GridLayout property is set internal bool IsSetGridLayout() { return this._gridLayout != null; } /// /// Gets and sets the property SectionBasedLayout. /// /// A section based layout organizes visuals into multiple sections and has customized /// header, footer and page break. /// /// public SectionBasedLayoutConfiguration SectionBasedLayout { get { return this._sectionBasedLayout; } set { this._sectionBasedLayout = value; } } // Check to see if SectionBasedLayout property is set internal bool IsSetSectionBasedLayout() { return this._sectionBasedLayout != null; } } }