AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TableOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TableOrientation.h>
9#include <aws/quicksight/model/TableCellStyle.h>
10#include <aws/quicksight/model/RowAlternateColorOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_QUICKSIGHT_API TableOptions() = default;
37 AWS_QUICKSIGHT_API TableOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API TableOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline TableOrientation GetOrientation() const { return m_orientation; }
47 inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; }
48 inline void SetOrientation(TableOrientation value) { m_orientationHasBeenSet = true; m_orientation = value; }
49 inline TableOptions& WithOrientation(TableOrientation value) { SetOrientation(value); return *this;}
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) { m_headerStyleHasBeenSet = true; m_headerStyle = std::forward<HeaderStyleT>(value); }
60 template<typename HeaderStyleT = TableCellStyle>
61 TableOptions& WithHeaderStyle(HeaderStyleT&& value) { SetHeaderStyle(std::forward<HeaderStyleT>(value)); return *this;}
63
65
68 inline const TableCellStyle& GetCellStyle() const { return m_cellStyle; }
69 inline bool CellStyleHasBeenSet() const { return m_cellStyleHasBeenSet; }
70 template<typename CellStyleT = TableCellStyle>
71 void SetCellStyle(CellStyleT&& value) { m_cellStyleHasBeenSet = true; m_cellStyle = std::forward<CellStyleT>(value); }
72 template<typename CellStyleT = TableCellStyle>
73 TableOptions& WithCellStyle(CellStyleT&& value) { SetCellStyle(std::forward<CellStyleT>(value)); return *this;}
75
77
81 inline const RowAlternateColorOptions& GetRowAlternateColorOptions() const { return m_rowAlternateColorOptions; }
82 inline bool RowAlternateColorOptionsHasBeenSet() const { return m_rowAlternateColorOptionsHasBeenSet; }
83 template<typename RowAlternateColorOptionsT = RowAlternateColorOptions>
84 void SetRowAlternateColorOptions(RowAlternateColorOptionsT&& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = std::forward<RowAlternateColorOptionsT>(value); }
85 template<typename RowAlternateColorOptionsT = RowAlternateColorOptions>
86 TableOptions& WithRowAlternateColorOptions(RowAlternateColorOptionsT&& value) { SetRowAlternateColorOptions(std::forward<RowAlternateColorOptionsT>(value)); return *this;}
88 private:
89
91 bool m_orientationHasBeenSet = false;
92
93 TableCellStyle m_headerStyle;
94 bool m_headerStyleHasBeenSet = false;
95
96 TableCellStyle m_cellStyle;
97 bool m_cellStyleHasBeenSet = false;
98
99 RowAlternateColorOptions m_rowAlternateColorOptions;
100 bool m_rowAlternateColorOptionsHasBeenSet = false;
101 };
102
103} // namespace Model
104} // namespace QuickSight
105} // 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