/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The total options for a table visual.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 TotalOptions& WithTotalsVisibility(const Visibility& value) { SetTotalsVisibility(value); return *this;} /** *The visibility configuration for the total cells.
*/ inline TotalOptions& 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 TotalOptions& WithPlacement(const TableTotalsPlacement& value) { SetPlacement(value); return *this;} /** *The placement (start, end) for the total cells.
*/ inline TotalOptions& 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 TotalOptions& WithScrollStatus(const TableTotalsScrollStatus& value) { SetScrollStatus(value); return *this;} /** *The scroll status (pinned, scrolled) for the total cells.
*/ inline TotalOptions& 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 TotalOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;} /** *The custom label string for the total cells.
*/ inline TotalOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;} /** *The custom label string for the total cells.
*/ inline TotalOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} /** *Cell styling options for the total cells.
*/ inline const TableCellStyle& GetTotalCellStyle() const{ return m_totalCellStyle; } /** *Cell styling options for the total cells.
*/ inline bool TotalCellStyleHasBeenSet() const { return m_totalCellStyleHasBeenSet; } /** *Cell styling options for the total cells.
*/ inline void SetTotalCellStyle(const TableCellStyle& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = value; } /** *Cell styling options for the total cells.
*/ inline void SetTotalCellStyle(TableCellStyle&& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = std::move(value); } /** *Cell styling options for the total cells.
*/ inline TotalOptions& WithTotalCellStyle(const TableCellStyle& value) { SetTotalCellStyle(value); return *this;} /** *Cell styling options for the total cells.
*/ inline TotalOptions& WithTotalCellStyle(TableCellStyle&& value) { SetTotalCellStyle(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; }; } // namespace Model } // namespace QuickSight } // namespace Aws