AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TotalOptions.h
1
6#pragma once
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>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
38 {
39 public:
40 AWS_QUICKSIGHT_API TotalOptions();
41 AWS_QUICKSIGHT_API TotalOptions(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API TotalOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Visibility& GetTotalsVisibility() const{ return m_totalsVisibility; }
51 inline bool TotalsVisibilityHasBeenSet() const { return m_totalsVisibilityHasBeenSet; }
52 inline void SetTotalsVisibility(const Visibility& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = value; }
53 inline void SetTotalsVisibility(Visibility&& value) { m_totalsVisibilityHasBeenSet = true; m_totalsVisibility = std::move(value); }
54 inline TotalOptions& WithTotalsVisibility(const Visibility& value) { SetTotalsVisibility(value); return *this;}
55 inline TotalOptions& WithTotalsVisibility(Visibility&& value) { SetTotalsVisibility(std::move(value)); return *this;}
57
59
62 inline const TableTotalsPlacement& GetPlacement() const{ return m_placement; }
63 inline bool PlacementHasBeenSet() const { return m_placementHasBeenSet; }
64 inline void SetPlacement(const TableTotalsPlacement& value) { m_placementHasBeenSet = true; m_placement = value; }
65 inline void SetPlacement(TableTotalsPlacement&& value) { m_placementHasBeenSet = true; m_placement = std::move(value); }
66 inline TotalOptions& WithPlacement(const TableTotalsPlacement& value) { SetPlacement(value); return *this;}
67 inline TotalOptions& WithPlacement(TableTotalsPlacement&& value) { SetPlacement(std::move(value)); return *this;}
69
71
74 inline const TableTotalsScrollStatus& GetScrollStatus() const{ return m_scrollStatus; }
75 inline bool ScrollStatusHasBeenSet() const { return m_scrollStatusHasBeenSet; }
76 inline void SetScrollStatus(const TableTotalsScrollStatus& value) { m_scrollStatusHasBeenSet = true; m_scrollStatus = value; }
77 inline void SetScrollStatus(TableTotalsScrollStatus&& value) { m_scrollStatusHasBeenSet = true; m_scrollStatus = std::move(value); }
78 inline TotalOptions& WithScrollStatus(const TableTotalsScrollStatus& value) { SetScrollStatus(value); return *this;}
79 inline TotalOptions& WithScrollStatus(TableTotalsScrollStatus&& value) { SetScrollStatus(std::move(value)); return *this;}
81
83
86 inline const Aws::String& GetCustomLabel() const{ return m_customLabel; }
87 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
88 inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; }
89 inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); }
90 inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); }
91 inline TotalOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;}
92 inline TotalOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;}
93 inline TotalOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;}
95
97
100 inline const TableCellStyle& GetTotalCellStyle() const{ return m_totalCellStyle; }
101 inline bool TotalCellStyleHasBeenSet() const { return m_totalCellStyleHasBeenSet; }
102 inline void SetTotalCellStyle(const TableCellStyle& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = value; }
103 inline void SetTotalCellStyle(TableCellStyle&& value) { m_totalCellStyleHasBeenSet = true; m_totalCellStyle = std::move(value); }
104 inline TotalOptions& WithTotalCellStyle(const TableCellStyle& value) { SetTotalCellStyle(value); return *this;}
105 inline TotalOptions& WithTotalCellStyle(TableCellStyle&& value) { SetTotalCellStyle(std::move(value)); return *this;}
107
109
112 inline const Aws::Vector<TotalAggregationOption>& GetTotalAggregationOptions() const{ return m_totalAggregationOptions; }
113 inline bool TotalAggregationOptionsHasBeenSet() const { return m_totalAggregationOptionsHasBeenSet; }
114 inline void SetTotalAggregationOptions(const Aws::Vector<TotalAggregationOption>& value) { m_totalAggregationOptionsHasBeenSet = true; m_totalAggregationOptions = value; }
115 inline void SetTotalAggregationOptions(Aws::Vector<TotalAggregationOption>&& value) { m_totalAggregationOptionsHasBeenSet = true; m_totalAggregationOptions = std::move(value); }
118 inline TotalOptions& AddTotalAggregationOptions(const TotalAggregationOption& value) { m_totalAggregationOptionsHasBeenSet = true; m_totalAggregationOptions.push_back(value); return *this; }
119 inline TotalOptions& AddTotalAggregationOptions(TotalAggregationOption&& value) { m_totalAggregationOptionsHasBeenSet = true; m_totalAggregationOptions.push_back(std::move(value)); return *this; }
121 private:
122
123 Visibility m_totalsVisibility;
124 bool m_totalsVisibilityHasBeenSet = false;
125
126 TableTotalsPlacement m_placement;
127 bool m_placementHasBeenSet = false;
128
129 TableTotalsScrollStatus m_scrollStatus;
130 bool m_scrollStatusHasBeenSet = false;
131
132 Aws::String m_customLabel;
133 bool m_customLabelHasBeenSet = false;
134
135 TableCellStyle m_totalCellStyle;
136 bool m_totalCellStyleHasBeenSet = false;
137
138 Aws::Vector<TotalAggregationOption> m_totalAggregationOptions;
139 bool m_totalAggregationOptionsHasBeenSet = false;
140 };
141
142} // namespace Model
143} // namespace QuickSight
144} // namespace Aws
TotalOptions & AddTotalAggregationOptions(TotalAggregationOption &&value)
const TableTotalsScrollStatus & GetScrollStatus() const
AWS_QUICKSIGHT_API TotalOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomLabel() const
void SetTotalsVisibility(const Visibility &value)
TotalOptions & WithTotalAggregationOptions(Aws::Vector< TotalAggregationOption > &&value)
TotalOptions & WithCustomLabel(const char *value)
void SetTotalsVisibility(Visibility &&value)
TotalOptions & WithTotalsVisibility(Visibility &&value)
void SetTotalCellStyle(const TableCellStyle &value)
TotalOptions & AddTotalAggregationOptions(const TotalAggregationOption &value)
const Aws::Vector< TotalAggregationOption > & GetTotalAggregationOptions() const
void SetTotalCellStyle(TableCellStyle &&value)
void SetTotalAggregationOptions(const Aws::Vector< TotalAggregationOption > &value)
TotalOptions & WithScrollStatus(const TableTotalsScrollStatus &value)
void SetCustomLabel(const Aws::String &value)
const TableCellStyle & GetTotalCellStyle() const
TotalOptions & WithPlacement(const TableTotalsPlacement &value)
void SetPlacement(const TableTotalsPlacement &value)
void SetPlacement(TableTotalsPlacement &&value)
TotalOptions & WithCustomLabel(const Aws::String &value)
const Visibility & GetTotalsVisibility() const
TotalOptions & WithScrollStatus(TableTotalsScrollStatus &&value)
void SetCustomLabel(const char *value)
AWS_QUICKSIGHT_API TotalOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const TableTotalsPlacement & GetPlacement() const
TotalOptions & WithTotalAggregationOptions(const Aws::Vector< TotalAggregationOption > &value)
TotalOptions & WithTotalCellStyle(TableCellStyle &&value)
TotalOptions & WithCustomLabel(Aws::String &&value)
TotalOptions & WithTotalsVisibility(const Visibility &value)
void SetScrollStatus(const TableTotalsScrollStatus &value)
TotalOptions & WithTotalCellStyle(const TableCellStyle &value)
void SetScrollStatus(TableTotalsScrollStatus &&value)
void SetCustomLabel(Aws::String &&value)
void SetTotalAggregationOptions(Aws::Vector< TotalAggregationOption > &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TotalOptions & WithPlacement(TableTotalsPlacement &&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