/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The optional configuration of totals cells in a
* PivotTableVisual
.See Also:
AWS
* API Reference
The visibility configuration for the total cells.
*/ inline const Visibility& GetTotalsVisibility() const{ return m_totalsVisibility; } /** *The visibility configuration for the total cells.
*/ inline bool TotalsVisibilityHasBeenSet() const { return m_totalsVisibilityHasBeenSet; } /** *The visibility configuration for the total cells.
*/ inline void SetTotalsVisibility(const Visibility& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = value; } /** *The visibility configuration for the total cells.
*/ inline void SetTotalsVisibility(Visibility&& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = std::move(value); } /** *The visibility configuration for the total cells.
*/ inline PivotTotalOptions& WithTotalsVisibility(const Visibility& value) { SetTotalsVisibility(value); return *this;} /** *The visibility configuration for the total cells.
*/ inline PivotTotalOptions& WithTotalsVisibility(Visibility&& value) { SetTotalsVisibility(std::move(value)); return *this;} /** *The placement (start, end) for the total cells.
*/ inline const TableTotalsPlacement& GetPlacement() const{ return m_placement; } /** *The placement (start, end) for the total cells.
*/ inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; } /** *The placement (start, end) for the total cells.
*/ inline void SetPlacement(const TableTotalsPlacement& value) { m_placementHasBeenSet = true; m_placement = value; } /** *The placement (start, end) for the total cells.
*/ inline void SetPlacement(TableTotalsPlacement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); } /** *The placement (start, end) for the total cells.
*/ inline PivotTotalOptions& WithPlacement(const TableTotalsPlacement& value) { SetPlacement(value); return *this;} /** *The placement (start, end) for the total cells.
*/ inline PivotTotalOptions& WithPlacement(TableTotalsPlacement&& value) { SetPlacement(std::move(value)); return *this;} /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline const TableTotalsScrollStatus& GetScrollStatus() const{ return m_scrollStatus; } /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline bool ScrollStatusHasBeenSet() const { return m_scrollStatusHasBeenSet; } /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline void SetScrollStatus(const TableTotalsScrollStatus& value) { m_scrollStatusHasBeenSet = true; m_scrollStatus = value; } /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline void SetScrollStatus(TableTotalsScrollStatus&& value) { m_scrollStatusHasBeenSet = true; m_scrollStatus = std::move(value); } /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline PivotTotalOptions& WithScrollStatus(const TableTotalsScrollStatus& value) { SetScrollStatus(value); return *this;} /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline PivotTotalOptions& WithScrollStatus(TableTotalsScrollStatus&& value) { SetScrollStatus(std::move(value)); return *this;} /** *The custom label string for the total cells.
*/ inline const Aws::String& GetCustomLabel() const{ return m_customLabel; } /** *The custom label string for the total cells.
*/ inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; } /** *The custom label string for the total cells.
*/ inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; } /** *The custom label string for the total cells.
*/ inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); } /** *The custom label string for the total cells.
*/ inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); } /** *The custom label string for the total cells.
*/ inline PivotTotalOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;} /** *The custom label string for the total cells.
*/ inline PivotTotalOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;} /** *The custom label string for the total cells.
*/ inline PivotTotalOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} /** *The cell styling options for the total cells.
*/ inline const TableCellStyle& GetTotalCellStyle() const{ return m_totalCellStyle; } /** *The cell styling options for the total cells.
*/ inline bool TotalCellStyleHasBeenSet() const { return m_totalCellStyleHasBeenSet; } /** *The cell styling options for the total cells.
*/ inline void SetTotalCellStyle(const TableCellStyle& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = value; } /** *The cell styling options for the total cells.
*/ inline void SetTotalCellStyle(TableCellStyle&& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = std::move(value); } /** *The cell styling options for the total cells.
*/ inline PivotTotalOptions& WithTotalCellStyle(const TableCellStyle& value) { SetTotalCellStyle(value); return *this;} /** *The cell styling options for the total cells.
*/ inline PivotTotalOptions& WithTotalCellStyle(TableCellStyle&& value) { SetTotalCellStyle(std::move(value)); return *this;} /** *The cell styling options for the totals of value cells.
*/ inline const TableCellStyle& GetValueCellStyle() const{ return m_valueCellStyle; } /** *The cell styling options for the totals of value cells.
*/ inline bool ValueCellStyleHasBeenSet() const { return m_valueCellStyleHasBeenSet; } /** *The cell styling options for the totals of value cells.
*/ inline void SetValueCellStyle(const TableCellStyle& value) { m_valueCellStyleHasBeenSet = true; m_valueCellStyle = value; } /** *The cell styling options for the totals of value cells.
*/ inline void SetValueCellStyle(TableCellStyle&& value) { m_valueCellStyleHasBeenSet = true; m_valueCellStyle = std::move(value); } /** *The cell styling options for the totals of value cells.
*/ inline PivotTotalOptions& WithValueCellStyle(const TableCellStyle& value) { SetValueCellStyle(value); return *this;} /** *The cell styling options for the totals of value cells.
*/ inline PivotTotalOptions& WithValueCellStyle(TableCellStyle&& value) { SetValueCellStyle(std::move(value)); return *this;} /** *The cell styling options for the total of header cells.
*/ inline const TableCellStyle& GetMetricHeaderCellStyle() const{ return m_metricHeaderCellStyle; } /** *The cell styling options for the total of header cells.
*/ inline bool MetricHeaderCellStyleHasBeenSet() const { return m_metricHeaderCellStyleHasBeenSet; } /** *The cell styling options for the total of header cells.
*/ inline void SetMetricHeaderCellStyle(const TableCellStyle& value) { m_metricHeaderCellStyleHasBeenSet = true; m_metricHeaderCellStyle = value; } /** *The cell styling options for the total of header cells.
*/ inline void SetMetricHeaderCellStyle(TableCellStyle&& value) { m_metricHeaderCellStyleHasBeenSet = true; m_metricHeaderCellStyle = std::move(value); } /** *The cell styling options for the total of header cells.
*/ inline PivotTotalOptions& WithMetricHeaderCellStyle(const TableCellStyle& value) { SetMetricHeaderCellStyle(value); return *this;} /** *The cell styling options for the total of header cells.
*/ inline PivotTotalOptions& WithMetricHeaderCellStyle(TableCellStyle&& value) { SetMetricHeaderCellStyle(std::move(value)); return *this;} private: Visibility m_totalsVisibility; bool m_totalsVisibilityHasBeenSet = false; TableTotalsPlacement m_placement; bool m_placementHasBeenSet = false; TableTotalsScrollStatus m_scrollStatus; bool m_scrollStatusHasBeenSet = false; Aws::String m_customLabel; bool m_customLabelHasBeenSet = false; TableCellStyle m_totalCellStyle; bool m_totalCellStyleHasBeenSet = false; TableCellStyle m_valueCellStyle; bool m_valueCellStyleHasBeenSet = false; TableCellStyle m_metricHeaderCellStyle; bool m_metricHeaderCellStyleHasBeenSet = false; }; } // namespace Model } // namespace QuickSight } // namespace Aws