7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/quicksight/QuickSight_EXPORTS.h>
10#include <aws/quicksight/model/PivotTableFieldSubtotalOptions.h>
11#include <aws/quicksight/model/PivotTableSubtotalLevel.h>
12#include <aws/quicksight/model/TableCellStyle.h>
13#include <aws/quicksight/model/TableStyleTarget.h>
14#include <aws/quicksight/model/Visibility.h>
47 m_totalsVisibilityHasBeenSet =
true;
48 m_totalsVisibility = value;
62 template <
typename CustomLabelT = Aws::String>
64 m_customLabelHasBeenSet =
true;
65 m_customLabel = std::forward<CustomLabelT>(value);
67 template <
typename CustomLabelT = Aws::String>
81 m_fieldLevelHasBeenSet =
true;
96 template <
typename FieldLevelOptionsT = Aws::Vector<PivotTableFieldSubtotalOptions>>
98 m_fieldLevelOptionsHasBeenSet =
true;
99 m_fieldLevelOptions = std::forward<FieldLevelOptionsT>(value);
101 template <
typename FieldLevelOptionsT = Aws::Vector<PivotTableFieldSubtotalOptions>>
106 template <
typename FieldLevelOptionsT = PivotTableFieldSubtotalOptions>
108 m_fieldLevelOptionsHasBeenSet =
true;
109 m_fieldLevelOptions.emplace_back(std::forward<FieldLevelOptionsT>(value));
120 template <
typename TotalCellStyleT = TableCellStyle>
122 m_totalCellStyleHasBeenSet =
true;
123 m_totalCellStyle = std::forward<TotalCellStyleT>(value);
125 template <
typename TotalCellStyleT = TableCellStyle>
138 template <
typename ValueCellStyleT = TableCellStyle>
140 m_valueCellStyleHasBeenSet =
true;
141 m_valueCellStyle = std::forward<ValueCellStyleT>(value);
143 template <
typename ValueCellStyleT = TableCellStyle>
156 template <
typename MetricHeaderCellStyleT = TableCellStyle>
158 m_metricHeaderCellStyleHasBeenSet =
true;
159 m_metricHeaderCellStyle = std::forward<MetricHeaderCellStyleT>(value);
161 template <
typename MetricHeaderCellStyleT = TableCellStyle>
174 template <
typename StyleTargetsT = Aws::Vector<TableStyleTarget>>
176 m_styleTargetsHasBeenSet =
true;
177 m_styleTargets = std::forward<StyleTargetsT>(value);
179 template <
typename StyleTargetsT = Aws::Vector<TableStyleTarget>>
184 template <
typename StyleTargetsT = TableStyleTarget>
186 m_styleTargetsHasBeenSet =
true;
187 m_styleTargets.emplace_back(std::forward<StyleTargetsT>(value));
200 TableCellStyle m_totalCellStyle;
202 TableCellStyle m_valueCellStyle;
204 TableCellStyle m_metricHeaderCellStyle;
207 bool m_totalsVisibilityHasBeenSet =
false;
208 bool m_customLabelHasBeenSet =
false;
209 bool m_fieldLevelHasBeenSet =
false;
210 bool m_fieldLevelOptionsHasBeenSet =
false;
211 bool m_totalCellStyleHasBeenSet =
false;
212 bool m_valueCellStyleHasBeenSet =
false;
213 bool m_metricHeaderCellStyleHasBeenSet =
false;
214 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