AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableTotalOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SubtotalOptions.h>
9#include <aws/quicksight/model/PivotTotalOptions.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API PivotTableTotalOptions();
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const SubtotalOptions& GetRowSubtotalOptions() const{ return m_rowSubtotalOptions; }
46 inline bool RowSubtotalOptionsHasBeenSet() const { return m_rowSubtotalOptionsHasBeenSet; }
47 inline void SetRowSubtotalOptions(const SubtotalOptions& value) { m_rowSubtotalOptionsHasBeenSet = true; m_rowSubtotalOptions = value; }
48 inline void SetRowSubtotalOptions(SubtotalOptions&& value) { m_rowSubtotalOptionsHasBeenSet = true; m_rowSubtotalOptions = std::move(value); }
50 inline PivotTableTotalOptions& WithRowSubtotalOptions(SubtotalOptions&& value) { SetRowSubtotalOptions(std::move(value)); return *this;}
52
54
57 inline const SubtotalOptions& GetColumnSubtotalOptions() const{ return m_columnSubtotalOptions; }
58 inline bool ColumnSubtotalOptionsHasBeenSet() const { return m_columnSubtotalOptionsHasBeenSet; }
59 inline void SetColumnSubtotalOptions(const SubtotalOptions& value) { m_columnSubtotalOptionsHasBeenSet = true; m_columnSubtotalOptions = value; }
60 inline void SetColumnSubtotalOptions(SubtotalOptions&& value) { m_columnSubtotalOptionsHasBeenSet = true; m_columnSubtotalOptions = std::move(value); }
64
66
69 inline const PivotTotalOptions& GetRowTotalOptions() const{ return m_rowTotalOptions; }
70 inline bool RowTotalOptionsHasBeenSet() const { return m_rowTotalOptionsHasBeenSet; }
71 inline void SetRowTotalOptions(const PivotTotalOptions& value) { m_rowTotalOptionsHasBeenSet = true; m_rowTotalOptions = value; }
72 inline void SetRowTotalOptions(PivotTotalOptions&& value) { m_rowTotalOptionsHasBeenSet = true; m_rowTotalOptions = std::move(value); }
74 inline PivotTableTotalOptions& WithRowTotalOptions(PivotTotalOptions&& value) { SetRowTotalOptions(std::move(value)); return *this;}
76
78
81 inline const PivotTotalOptions& GetColumnTotalOptions() const{ return m_columnTotalOptions; }
82 inline bool ColumnTotalOptionsHasBeenSet() const { return m_columnTotalOptionsHasBeenSet; }
83 inline void SetColumnTotalOptions(const PivotTotalOptions& value) { m_columnTotalOptionsHasBeenSet = true; m_columnTotalOptions = value; }
84 inline void SetColumnTotalOptions(PivotTotalOptions&& value) { m_columnTotalOptionsHasBeenSet = true; m_columnTotalOptions = std::move(value); }
86 inline PivotTableTotalOptions& WithColumnTotalOptions(PivotTotalOptions&& value) { SetColumnTotalOptions(std::move(value)); return *this;}
88 private:
89
90 SubtotalOptions m_rowSubtotalOptions;
91 bool m_rowSubtotalOptionsHasBeenSet = false;
92
93 SubtotalOptions m_columnSubtotalOptions;
94 bool m_columnSubtotalOptionsHasBeenSet = false;
95
96 PivotTotalOptions m_rowTotalOptions;
97 bool m_rowTotalOptionsHasBeenSet = false;
98
99 PivotTotalOptions m_columnTotalOptions;
100 bool m_columnTotalOptionsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // namespace Aws
PivotTableTotalOptions & WithColumnTotalOptions(const PivotTotalOptions &value)
PivotTableTotalOptions & WithRowSubtotalOptions(SubtotalOptions &&value)
void SetRowSubtotalOptions(const SubtotalOptions &value)
void SetRowTotalOptions(const PivotTotalOptions &value)
PivotTableTotalOptions & WithRowSubtotalOptions(const SubtotalOptions &value)
AWS_QUICKSIGHT_API PivotTableTotalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetColumnTotalOptions(const PivotTotalOptions &value)
const SubtotalOptions & GetRowSubtotalOptions() const
PivotTableTotalOptions & WithColumnSubtotalOptions(const SubtotalOptions &value)
const PivotTotalOptions & GetRowTotalOptions() const
const SubtotalOptions & GetColumnSubtotalOptions() const
const PivotTotalOptions & GetColumnTotalOptions() const
void SetColumnSubtotalOptions(const SubtotalOptions &value)
PivotTableTotalOptions & WithRowTotalOptions(PivotTotalOptions &&value)
void SetColumnTotalOptions(PivotTotalOptions &&value)
PivotTableTotalOptions & WithRowTotalOptions(const PivotTotalOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
PivotTableTotalOptions & WithColumnSubtotalOptions(SubtotalOptions &&value)
AWS_QUICKSIGHT_API PivotTableTotalOptions(Aws::Utils::Json::JsonView jsonValue)
PivotTableTotalOptions & WithColumnTotalOptions(PivotTotalOptions &&value)
Aws::Utils::Json::JsonValue JsonValue