/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The subtotal options.See Also:
AWS
* API Reference
The visibility configuration for the subtotal cells.
*/ inline const Visibility& GetTotalsVisibility() const{ return m_totalsVisibility; } /** *The visibility configuration for the subtotal cells.
*/ inline bool TotalsVisibilityHasBeenSet() const { return m_totalsVisibilityHasBeenSet; } /** *The visibility configuration for the subtotal cells.
*/ inline void SetTotalsVisibility(const Visibility& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = value; } /** *The visibility configuration for the subtotal cells.
*/ inline void SetTotalsVisibility(Visibility&& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = std::move(value); } /** *The visibility configuration for the subtotal cells.
*/ inline SubtotalOptions& WithTotalsVisibility(const Visibility& value) { SetTotalsVisibility(value); return *this;} /** *The visibility configuration for the subtotal cells.
*/ inline SubtotalOptions& WithTotalsVisibility(Visibility&& value) { SetTotalsVisibility(std::move(value)); return *this;} /** *The custom label string for the subtotal cells.
*/ inline const Aws::String& GetCustomLabel() const{ return m_customLabel; } /** *The custom label string for the subtotal cells.
*/ inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; } /** *The custom label string for the subtotal cells.
*/ inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; } /** *The custom label string for the subtotal cells.
*/ inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); } /** *The custom label string for the subtotal cells.
*/ inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); } /** *The custom label string for the subtotal cells.
*/ inline SubtotalOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;} /** *The custom label string for the subtotal cells.
*/ inline SubtotalOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;} /** *The custom label string for the subtotal cells.
*/ inline SubtotalOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;} /** *The field level (all, custom, last) for the subtotal cells.
*/ inline const PivotTableSubtotalLevel& GetFieldLevel() const{ return m_fieldLevel; } /** *The field level (all, custom, last) for the subtotal cells.
*/ inline bool FieldLevelHasBeenSet() const { return m_fieldLevelHasBeenSet; } /** *The field level (all, custom, last) for the subtotal cells.
*/ inline void SetFieldLevel(const PivotTableSubtotalLevel& value) { m_fieldLevelHasBeenSet = true; m_fieldLevel = value; } /** *The field level (all, custom, last) for the subtotal cells.
*/ inline void SetFieldLevel(PivotTableSubtotalLevel&& value) { m_fieldLevelHasBeenSet = true; m_fieldLevel = std::move(value); } /** *The field level (all, custom, last) for the subtotal cells.
*/ inline SubtotalOptions& WithFieldLevel(const PivotTableSubtotalLevel& value) { SetFieldLevel(value); return *this;} /** *The field level (all, custom, last) for the subtotal cells.
*/ inline SubtotalOptions& WithFieldLevel(PivotTableSubtotalLevel&& value) { SetFieldLevel(std::move(value)); return *this;} /** *The optional configuration of subtotal cells.
*/ inline const Aws::VectorThe optional configuration of subtotal cells.
*/ inline bool FieldLevelOptionsHasBeenSet() const { return m_fieldLevelOptionsHasBeenSet; } /** *The optional configuration of subtotal cells.
*/ inline void SetFieldLevelOptions(const Aws::VectorThe optional configuration of subtotal cells.
*/ inline void SetFieldLevelOptions(Aws::VectorThe optional configuration of subtotal cells.
*/ inline SubtotalOptions& WithFieldLevelOptions(const Aws::VectorThe optional configuration of subtotal cells.
*/ inline SubtotalOptions& WithFieldLevelOptions(Aws::VectorThe optional configuration of subtotal cells.
*/ inline SubtotalOptions& AddFieldLevelOptions(const PivotTableFieldSubtotalOptions& value) { m_fieldLevelOptionsHasBeenSet = true; m_fieldLevelOptions.push_back(value); return *this; } /** *The optional configuration of subtotal cells.
*/ inline SubtotalOptions& AddFieldLevelOptions(PivotTableFieldSubtotalOptions&& value) { m_fieldLevelOptionsHasBeenSet = true; m_fieldLevelOptions.push_back(std::move(value)); return *this; } /** *The cell styling options for the subtotal cells.
*/ inline const TableCellStyle& GetTotalCellStyle() const{ return m_totalCellStyle; } /** *The cell styling options for the subtotal cells.
*/ inline bool TotalCellStyleHasBeenSet() const { return m_totalCellStyleHasBeenSet; } /** *The cell styling options for the subtotal cells.
*/ inline void SetTotalCellStyle(const TableCellStyle& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = value; } /** *The cell styling options for the subtotal cells.
*/ inline void SetTotalCellStyle(TableCellStyle&& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = std::move(value); } /** *The cell styling options for the subtotal cells.
*/ inline SubtotalOptions& WithTotalCellStyle(const TableCellStyle& value) { SetTotalCellStyle(value); return *this;} /** *The cell styling options for the subtotal cells.
*/ inline SubtotalOptions& WithTotalCellStyle(TableCellStyle&& value) { SetTotalCellStyle(std::move(value)); return *this;} /** *The cell styling options for the subtotals of value cells.
*/ inline const TableCellStyle& GetValueCellStyle() const{ return m_valueCellStyle; } /** *The cell styling options for the subtotals of value cells.
*/ inline bool ValueCellStyleHasBeenSet() const { return m_valueCellStyleHasBeenSet; } /** *The cell styling options for the subtotals of value cells.
*/ inline void SetValueCellStyle(const TableCellStyle& value) { m_valueCellStyleHasBeenSet = true; m_valueCellStyle = value; } /** *The cell styling options for the subtotals of value cells.
*/ inline void SetValueCellStyle(TableCellStyle&& value) { m_valueCellStyleHasBeenSet = true; m_valueCellStyle = std::move(value); } /** *The cell styling options for the subtotals of value cells.
*/ inline SubtotalOptions& WithValueCellStyle(const TableCellStyle& value) { SetValueCellStyle(value); return *this;} /** *The cell styling options for the subtotals of value cells.
*/ inline SubtotalOptions& WithValueCellStyle(TableCellStyle&& value) { SetValueCellStyle(std::move(value)); return *this;} /** *The cell styling options for the subtotals of header cells.
*/ inline const TableCellStyle& GetMetricHeaderCellStyle() const{ return m_metricHeaderCellStyle; } /** *The cell styling options for the subtotals of header cells.
*/ inline bool MetricHeaderCellStyleHasBeenSet() const { return m_metricHeaderCellStyleHasBeenSet; } /** *The cell styling options for the subtotals of header cells.
*/ inline void SetMetricHeaderCellStyle(const TableCellStyle& value) { m_metricHeaderCellStyleHasBeenSet = true; m_metricHeaderCellStyle = value; } /** *The cell styling options for the subtotals of header cells.
*/ inline void SetMetricHeaderCellStyle(TableCellStyle&& value) { m_metricHeaderCellStyleHasBeenSet = true; m_metricHeaderCellStyle = std::move(value); } /** *The cell styling options for the subtotals of header cells.
*/ inline SubtotalOptions& WithMetricHeaderCellStyle(const TableCellStyle& value) { SetMetricHeaderCellStyle(value); return *this;} /** *The cell styling options for the subtotals of header cells.
*/ inline SubtotalOptions& WithMetricHeaderCellStyle(TableCellStyle&& value) { SetMetricHeaderCellStyle(std::move(value)); return *this;} private: Visibility m_totalsVisibility; bool m_totalsVisibilityHasBeenSet = false; Aws::String m_customLabel; bool m_customLabelHasBeenSet = false; PivotTableSubtotalLevel m_fieldLevel; bool m_fieldLevelHasBeenSet = false; Aws::Vector