7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/PivotTableSubtotalLevel.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/quicksight/model/TableCellStyle.h>
13#include <aws/quicksight/model/PivotTableFieldSubtotalOptions.h>
14#include <aws/quicksight/model/TableStyleTarget.h>
62 template<
typename CustomLabelT = Aws::String>
63 void SetCustomLabel(CustomLabelT&& value) { m_customLabelHasBeenSet =
true; m_customLabel = std::forward<CustomLabelT>(value); }
64 template<
typename CustomLabelT = Aws::String>
84 template<
typename FieldLevelOptionsT = Aws::Vector<PivotTableFieldSubtotalOptions>>
85 void SetFieldLevelOptions(FieldLevelOptionsT&& value) { m_fieldLevelOptionsHasBeenSet =
true; m_fieldLevelOptions = std::forward<FieldLevelOptionsT>(value); }
86 template<
typename FieldLevelOptionsT = Aws::Vector<PivotTableFieldSubtotalOptions>>
88 template<
typename FieldLevelOptionsT = PivotTableFieldSubtotalOptions>
89 SubtotalOptions&
AddFieldLevelOptions(FieldLevelOptionsT&& value) { m_fieldLevelOptionsHasBeenSet =
true; m_fieldLevelOptions.emplace_back(std::forward<FieldLevelOptionsT>(value));
return *
this; }
98 template<
typename TotalCellStyleT = TableCellStyle>
99 void SetTotalCellStyle(TotalCellStyleT&& value) { m_totalCellStyleHasBeenSet =
true; m_totalCellStyle = std::forward<TotalCellStyleT>(value); }
100 template<
typename TotalCellStyleT = TableCellStyle>
110 template<
typename ValueCellStyleT = TableCellStyle>
111 void SetValueCellStyle(ValueCellStyleT&& value) { m_valueCellStyleHasBeenSet =
true; m_valueCellStyle = std::forward<ValueCellStyleT>(value); }
112 template<
typename ValueCellStyleT = TableCellStyle>
122 template<
typename MetricHeaderCellStyleT = TableCellStyle>
123 void SetMetricHeaderCellStyle(MetricHeaderCellStyleT&& value) { m_metricHeaderCellStyleHasBeenSet =
true; m_metricHeaderCellStyle = std::forward<MetricHeaderCellStyleT>(value); }
124 template<
typename MetricHeaderCellStyleT = TableCellStyle>
134 template<
typename StyleTargetsT = Aws::Vector<TableStyleTarget>>
135 void SetStyleTargets(StyleTargetsT&& value) { m_styleTargetsHasBeenSet =
true; m_styleTargets = std::forward<StyleTargetsT>(value); }
136 template<
typename StyleTargetsT = Aws::Vector<TableStyleTarget>>
138 template<
typename StyleTargetsT = TableStyleTarget>
139 SubtotalOptions&
AddStyleTargets(StyleTargetsT&& value) { m_styleTargetsHasBeenSet =
true; m_styleTargets.emplace_back(std::forward<StyleTargetsT>(value));
return *
this; }
144 bool m_totalsVisibilityHasBeenSet =
false;
147 bool m_customLabelHasBeenSet =
false;
150 bool m_fieldLevelHasBeenSet =
false;
153 bool m_fieldLevelOptionsHasBeenSet =
false;
155 TableCellStyle m_totalCellStyle;
156 bool m_totalCellStyleHasBeenSet =
false;
158 TableCellStyle m_valueCellStyle;
159 bool m_valueCellStyleHasBeenSet =
false;
161 TableCellStyle m_metricHeaderCellStyle;
162 bool m_metricHeaderCellStyleHasBeenSet =
false;
165 bool m_styleTargetsHasBeenSet =
false;
AWS_QUICKSIGHT_API SubtotalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const TableCellStyle & GetValueCellStyle() const
const Aws::Vector< TableStyleTarget > & GetStyleTargets() const
void SetTotalsVisibility(Visibility value)
void SetFieldLevelOptions(FieldLevelOptionsT &&value)
bool MetricHeaderCellStyleHasBeenSet() const
bool FieldLevelHasBeenSet() const
bool TotalCellStyleHasBeenSet() const
Visibility GetTotalsVisibility() const
SubtotalOptions & AddStyleTargets(StyleTargetsT &&value)
SubtotalOptions & WithMetricHeaderCellStyle(MetricHeaderCellStyleT &&value)
bool StyleTargetsHasBeenSet() const
const Aws::Vector< PivotTableFieldSubtotalOptions > & GetFieldLevelOptions() const
SubtotalOptions & WithStyleTargets(StyleTargetsT &&value)
bool TotalsVisibilityHasBeenSet() const
AWS_QUICKSIGHT_API SubtotalOptions(Aws::Utils::Json::JsonView jsonValue)
SubtotalOptions & WithCustomLabel(CustomLabelT &&value)
void SetTotalCellStyle(TotalCellStyleT &&value)
AWS_QUICKSIGHT_API SubtotalOptions()=default
SubtotalOptions & WithValueCellStyle(ValueCellStyleT &&value)
void SetCustomLabel(CustomLabelT &&value)
void SetStyleTargets(StyleTargetsT &&value)
const TableCellStyle & GetMetricHeaderCellStyle() const
const Aws::String & GetCustomLabel() const
void SetMetricHeaderCellStyle(MetricHeaderCellStyleT &&value)
PivotTableSubtotalLevel GetFieldLevel() const
SubtotalOptions & WithTotalCellStyle(TotalCellStyleT &&value)
SubtotalOptions & WithTotalsVisibility(Visibility value)
void SetFieldLevel(PivotTableSubtotalLevel value)
bool FieldLevelOptionsHasBeenSet() const
SubtotalOptions & WithFieldLevel(PivotTableSubtotalLevel value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
SubtotalOptions & WithFieldLevelOptions(FieldLevelOptionsT &&value)
const TableCellStyle & GetTotalCellStyle() const
bool CustomLabelHasBeenSet() const
SubtotalOptions & AddFieldLevelOptions(FieldLevelOptionsT &&value)
void SetValueCellStyle(ValueCellStyleT &&value)
bool ValueCellStyleHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue