AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
TableOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RowAlternateColorOptions.h>
9#include <aws/quicksight/model/TableCellStyle.h>
10#include <aws/quicksight/model/TableOrientation.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API TableOptions() = default;
32 AWS_QUICKSIGHT_API TableOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API TableOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline TableOrientation GetOrientation() const { return m_orientation; }
41 inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; }
42 inline void SetOrientation(TableOrientation value) {
43 m_orientationHasBeenSet = true;
44 m_orientation = value;
45 }
47 SetOrientation(value);
48 return *this;
49 }
51
53
56 inline const TableCellStyle& GetHeaderStyle() const { return m_headerStyle; }
57 inline bool HeaderStyleHasBeenSet() const { return m_headerStyleHasBeenSet; }
58 template <typename HeaderStyleT = TableCellStyle>
59 void SetHeaderStyle(HeaderStyleT&& value) {
60 m_headerStyleHasBeenSet = true;
61 m_headerStyle = std::forward<HeaderStyleT>(value);
62 }
63 template <typename HeaderStyleT = TableCellStyle>
64 TableOptions& WithHeaderStyle(HeaderStyleT&& value) {
65 SetHeaderStyle(std::forward<HeaderStyleT>(value));
66 return *this;
67 }
69
71
74 inline const TableCellStyle& GetCellStyle() const { return m_cellStyle; }
75 inline bool CellStyleHasBeenSet() const { return m_cellStyleHasBeenSet; }
76 template <typename CellStyleT = TableCellStyle>
77 void SetCellStyle(CellStyleT&& value) {
78 m_cellStyleHasBeenSet = true;
79 m_cellStyle = std::forward<CellStyleT>(value);
80 }
81 template <typename CellStyleT = TableCellStyle>
82 TableOptions& WithCellStyle(CellStyleT&& value) {
83 SetCellStyle(std::forward<CellStyleT>(value));
84 return *this;
85 }
87
89
93 inline const RowAlternateColorOptions& GetRowAlternateColorOptions() const { return m_rowAlternateColorOptions; }
94 inline bool RowAlternateColorOptionsHasBeenSet() const { return m_rowAlternateColorOptionsHasBeenSet; }
95 template <typename RowAlternateColorOptionsT = RowAlternateColorOptions>
96 void SetRowAlternateColorOptions(RowAlternateColorOptionsT&& value) {
97 m_rowAlternateColorOptionsHasBeenSet = true;
98 m_rowAlternateColorOptions = std::forward<RowAlternateColorOptionsT>(value);
99 }
100 template <typename RowAlternateColorOptionsT = RowAlternateColorOptions>
101 TableOptions& WithRowAlternateColorOptions(RowAlternateColorOptionsT&& value) {
102 SetRowAlternateColorOptions(std::forward<RowAlternateColorOptionsT>(value));
103 return *this;
104 }
106 private:
108
109 TableCellStyle m_headerStyle;
110
111 TableCellStyle m_cellStyle;
112
113 RowAlternateColorOptions m_rowAlternateColorOptions;
114 bool m_orientationHasBeenSet = false;
115 bool m_headerStyleHasBeenSet = false;
116 bool m_cellStyleHasBeenSet = false;
117 bool m_rowAlternateColorOptionsHasBeenSet = false;
118};
119
120} // namespace Model
121} // namespace QuickSight
122} // namespace Aws
TableOptions & WithHeaderStyle(HeaderStyleT &&value)
TableOptions & WithCellStyle(CellStyleT &&value)
const TableCellStyle & GetHeaderStyle() const
TableOptions & WithOrientation(TableOrientation value)
TableOptions & WithRowAlternateColorOptions(RowAlternateColorOptionsT &&value)
AWS_QUICKSIGHT_API TableOptions()=default
TableOrientation GetOrientation() const
void SetHeaderStyle(HeaderStyleT &&value)
const RowAlternateColorOptions & GetRowAlternateColorOptions() const
const TableCellStyle & GetCellStyle() const
void SetOrientation(TableOrientation value)
void SetRowAlternateColorOptions(RowAlternateColorOptionsT &&value)
AWS_QUICKSIGHT_API TableOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TableOptions(Aws::Utils::Json::JsonView jsonValue)
void SetCellStyle(CellStyleT &&value)
Aws::Utils::Json::JsonValue JsonValue