/*
* 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 table options for a pivot table visual.
///
public partial class PivotTableOptions
{
private TableCellStyle _cellStyle;
private Visibility _collapsedRowDimensionsVisibility;
private TableCellStyle _columnHeaderStyle;
private Visibility _columnNamesVisibility;
private PivotTableMetricPlacement _metricPlacement;
private RowAlternateColorOptions _rowAlternateColorOptions;
private TableCellStyle _rowFieldNamesStyle;
private TableCellStyle _rowHeaderStyle;
private Visibility _singleMetricVisibility;
private Visibility _toggleButtonsVisibility;
///
/// Gets and sets the property CellStyle.
///
/// The table cell style of cells.
///
///
public TableCellStyle CellStyle
{
get { return this._cellStyle; }
set { this._cellStyle = value; }
}
// Check to see if CellStyle property is set
internal bool IsSetCellStyle()
{
return this._cellStyle != null;
}
///
/// Gets and sets the property CollapsedRowDimensionsVisibility.
///
/// The visibility setting of a pivot table's collapsed row dimension fields. If the value
/// of this structure is HIDDEN
, all collapsed columns in a pivot table are
/// automatically hidden. The default value is VISIBLE
.
///
///
public Visibility CollapsedRowDimensionsVisibility
{
get { return this._collapsedRowDimensionsVisibility; }
set { this._collapsedRowDimensionsVisibility = value; }
}
// Check to see if CollapsedRowDimensionsVisibility property is set
internal bool IsSetCollapsedRowDimensionsVisibility()
{
return this._collapsedRowDimensionsVisibility != null;
}
///
/// Gets and sets the property ColumnHeaderStyle.
///
/// The table cell style of the column header.
///
///
public TableCellStyle ColumnHeaderStyle
{
get { return this._columnHeaderStyle; }
set { this._columnHeaderStyle = value; }
}
// Check to see if ColumnHeaderStyle property is set
internal bool IsSetColumnHeaderStyle()
{
return this._columnHeaderStyle != null;
}
///
/// Gets and sets the property ColumnNamesVisibility.
///
/// The visibility of the column names.
///
///
public Visibility ColumnNamesVisibility
{
get { return this._columnNamesVisibility; }
set { this._columnNamesVisibility = value; }
}
// Check to see if ColumnNamesVisibility property is set
internal bool IsSetColumnNamesVisibility()
{
return this._columnNamesVisibility != null;
}
///
/// Gets and sets the property MetricPlacement.
///
/// The metric placement (row, column) options.
///
///
public PivotTableMetricPlacement MetricPlacement
{
get { return this._metricPlacement; }
set { this._metricPlacement = value; }
}
// Check to see if MetricPlacement property is set
internal bool IsSetMetricPlacement()
{
return this._metricPlacement != null;
}
///
/// Gets and sets the property RowAlternateColorOptions.
///
/// The row alternate color options (widget status, row alternate colors).
///
///
public RowAlternateColorOptions RowAlternateColorOptions
{
get { return this._rowAlternateColorOptions; }
set { this._rowAlternateColorOptions = value; }
}
// Check to see if RowAlternateColorOptions property is set
internal bool IsSetRowAlternateColorOptions()
{
return this._rowAlternateColorOptions != null;
}
///
/// Gets and sets the property RowFieldNamesStyle.
///
/// The table cell style of row field names.
///
///
public TableCellStyle RowFieldNamesStyle
{
get { return this._rowFieldNamesStyle; }
set { this._rowFieldNamesStyle = value; }
}
// Check to see if RowFieldNamesStyle property is set
internal bool IsSetRowFieldNamesStyle()
{
return this._rowFieldNamesStyle != null;
}
///
/// Gets and sets the property RowHeaderStyle.
///
/// The table cell style of the row headers.
///
///
public TableCellStyle RowHeaderStyle
{
get { return this._rowHeaderStyle; }
set { this._rowHeaderStyle = value; }
}
// Check to see if RowHeaderStyle property is set
internal bool IsSetRowHeaderStyle()
{
return this._rowHeaderStyle != null;
}
///
/// Gets and sets the property SingleMetricVisibility.
///
/// The visibility of the single metric options.
///
///
public Visibility SingleMetricVisibility
{
get { return this._singleMetricVisibility; }
set { this._singleMetricVisibility = value; }
}
// Check to see if SingleMetricVisibility property is set
internal bool IsSetSingleMetricVisibility()
{
return this._singleMetricVisibility != null;
}
///
/// Gets and sets the property ToggleButtonsVisibility.
///
/// Determines the visibility of the pivot table.
///
///
public Visibility ToggleButtonsVisibility
{
get { return this._toggleButtonsVisibility; }
set { this._toggleButtonsVisibility = value; }
}
// Check to see if ToggleButtonsVisibility property is set
internal bool IsSetToggleButtonsVisibility()
{
return this._toggleButtonsVisibility != null;
}
}
}