7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/TableTotalsPlacement.h>
10#include <aws/quicksight/model/TableTotalsScrollStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/quicksight/model/TableCellStyle.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/TotalAggregationOption.h>
83 template<
typename CustomLabelT = Aws::String>
84 void SetCustomLabel(CustomLabelT&& value) { m_customLabelHasBeenSet =
true; m_customLabel = std::forward<CustomLabelT>(value); }
85 template<
typename CustomLabelT = Aws::String>
95 template<
typename TotalCellStyleT = TableCellStyle>
96 void SetTotalCellStyle(TotalCellStyleT&& value) { m_totalCellStyleHasBeenSet =
true; m_totalCellStyle = std::forward<TotalCellStyleT>(value); }
97 template<
typename TotalCellStyleT = TableCellStyle>
107 template<
typename ValueCellStyleT = TableCellStyle>
108 void SetValueCellStyle(ValueCellStyleT&& value) { m_valueCellStyleHasBeenSet =
true; m_valueCellStyle = std::forward<ValueCellStyleT>(value); }
109 template<
typename ValueCellStyleT = TableCellStyle>
119 template<
typename MetricHeaderCellStyleT = TableCellStyle>
120 void SetMetricHeaderCellStyle(MetricHeaderCellStyleT&& value) { m_metricHeaderCellStyleHasBeenSet =
true; m_metricHeaderCellStyle = std::forward<MetricHeaderCellStyleT>(value); }
121 template<
typename MetricHeaderCellStyleT = TableCellStyle>
131 template<
typename TotalAggregationOptionsT = Aws::Vector<TotalAggregationOption>>
132 void SetTotalAggregationOptions(TotalAggregationOptionsT&& value) { m_totalAggregationOptionsHasBeenSet =
true; m_totalAggregationOptions = std::forward<TotalAggregationOptionsT>(value); }
133 template<
typename TotalAggregationOptionsT = Aws::Vector<TotalAggregationOption>>
135 template<
typename TotalAggregationOptionsT = TotalAggregationOption>
136 PivotTotalOptions&
AddTotalAggregationOptions(TotalAggregationOptionsT&& value) { m_totalAggregationOptionsHasBeenSet =
true; m_totalAggregationOptions.emplace_back(std::forward<TotalAggregationOptionsT>(value));
return *
this; }
141 bool m_totalsVisibilityHasBeenSet =
false;
144 bool m_placementHasBeenSet =
false;
147 bool m_scrollStatusHasBeenSet =
false;
150 bool m_customLabelHasBeenSet =
false;
152 TableCellStyle m_totalCellStyle;
153 bool m_totalCellStyleHasBeenSet =
false;
155 TableCellStyle m_valueCellStyle;
156 bool m_valueCellStyleHasBeenSet =
false;
158 TableCellStyle m_metricHeaderCellStyle;
159 bool m_metricHeaderCellStyleHasBeenSet =
false;
162 bool m_totalAggregationOptionsHasBeenSet =
false;
AWS_QUICKSIGHT_API PivotTotalOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomLabel() const
TableTotalsPlacement GetPlacement() const
const TableCellStyle & GetValueCellStyle() const
PivotTotalOptions & WithCustomLabel(CustomLabelT &&value)
void SetScrollStatus(TableTotalsScrollStatus value)
AWS_QUICKSIGHT_API PivotTotalOptions()=default
void SetTotalAggregationOptions(TotalAggregationOptionsT &&value)
const TableCellStyle & GetMetricHeaderCellStyle() const
bool ValueCellStyleHasBeenSet() const
void SetCustomLabel(CustomLabelT &&value)
PivotTotalOptions & WithTotalsVisibility(Visibility value)
Visibility GetTotalsVisibility() const
PivotTotalOptions & WithMetricHeaderCellStyle(MetricHeaderCellStyleT &&value)
AWS_QUICKSIGHT_API PivotTotalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ScrollStatusHasBeenSet() const
PivotTotalOptions & WithPlacement(TableTotalsPlacement value)
bool TotalCellStyleHasBeenSet() const
void SetMetricHeaderCellStyle(MetricHeaderCellStyleT &&value)
bool PlacementHasBeenSet() const
PivotTotalOptions & WithScrollStatus(TableTotalsScrollStatus value)
const Aws::Vector< TotalAggregationOption > & GetTotalAggregationOptions() const
PivotTotalOptions & WithTotalCellStyle(TotalCellStyleT &&value)
bool TotalAggregationOptionsHasBeenSet() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTotalCellStyle(TotalCellStyleT &&value)
TableTotalsScrollStatus GetScrollStatus() const
PivotTotalOptions & AddTotalAggregationOptions(TotalAggregationOptionsT &&value)
PivotTotalOptions & WithTotalAggregationOptions(TotalAggregationOptionsT &&value)
void SetTotalsVisibility(Visibility value)
void SetValueCellStyle(ValueCellStyleT &&value)
const TableCellStyle & GetTotalCellStyle() const
bool CustomLabelHasBeenSet() const
bool MetricHeaderCellStyleHasBeenSet() const
bool TotalsVisibilityHasBeenSet() const
void SetPlacement(TableTotalsPlacement value)
PivotTotalOptions & WithValueCellStyle(ValueCellStyleT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue