AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const TableOrientation& GetOrientation() const{ return m_orientation; }
47 inline bool OrientationHasBeenSet() const { return m_orientationHasBeenSet; }
48 inline void SetOrientation(const TableOrientation& value) { m_orientationHasBeenSet = true; m_orientation = value; }
49 inline void SetOrientation(TableOrientation&& value) { m_orientationHasBeenSet = true; m_orientation = std::move(value); }
50 inline TableOptions& WithOrientation(const TableOrientation& value) { SetOrientation(value); return *this;}
51 inline TableOptions& WithOrientation(TableOrientation&& value) { SetOrientation(std::move(value)); return *this;}
53
55
58 inline const TableCellStyle& GetHeaderStyle() const{ return m_headerStyle; }
59 inline bool HeaderStyleHasBeenSet() const { return m_headerStyleHasBeenSet; }
60 inline void SetHeaderStyle(const TableCellStyle& value) { m_headerStyleHasBeenSet = true; m_headerStyle = value; }
61 inline void SetHeaderStyle(TableCellStyle&& value) { m_headerStyleHasBeenSet = true; m_headerStyle = std::move(value); }
62 inline TableOptions& WithHeaderStyle(const TableCellStyle& value) { SetHeaderStyle(value); return *this;}
63 inline TableOptions& WithHeaderStyle(TableCellStyle&& value) { SetHeaderStyle(std::move(value)); return *this;}
65
67
70 inline const TableCellStyle& GetCellStyle() const{ return m_cellStyle; }
71 inline bool CellStyleHasBeenSet() const { return m_cellStyleHasBeenSet; }
72 inline void SetCellStyle(const TableCellStyle& value) { m_cellStyleHasBeenSet = true; m_cellStyle = value; }
73 inline void SetCellStyle(TableCellStyle&& value) { m_cellStyleHasBeenSet = true; m_cellStyle = std::move(value); }
74 inline TableOptions& WithCellStyle(const TableCellStyle& value) { SetCellStyle(value); return *this;}
75 inline TableOptions& WithCellStyle(TableCellStyle&& value) { SetCellStyle(std::move(value)); return *this;}
77
79
83 inline const RowAlternateColorOptions& GetRowAlternateColorOptions() const{ return m_rowAlternateColorOptions; }
84 inline bool RowAlternateColorOptionsHasBeenSet() const { return m_rowAlternateColorOptionsHasBeenSet; }
85 inline void SetRowAlternateColorOptions(const RowAlternateColorOptions& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = value; }
86 inline void SetRowAlternateColorOptions(RowAlternateColorOptions&& value) { m_rowAlternateColorOptionsHasBeenSet = true; m_rowAlternateColorOptions = std::move(value); }
90 private:
91
92 TableOrientation m_orientation;
93 bool m_orientationHasBeenSet = false;
94
95 TableCellStyle m_headerStyle;
96 bool m_headerStyleHasBeenSet = false;
97
98 TableCellStyle m_cellStyle;
99 bool m_cellStyleHasBeenSet = false;
100
101 RowAlternateColorOptions m_rowAlternateColorOptions;
102 bool m_rowAlternateColorOptionsHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // namespace Aws
TableOptions & WithCellStyle(TableCellStyle &&value)
void SetHeaderStyle(const TableCellStyle &value)
const TableCellStyle & GetHeaderStyle() const
void SetCellStyle(const TableCellStyle &value)
void SetRowAlternateColorOptions(RowAlternateColorOptions &&value)
void SetHeaderStyle(TableCellStyle &&value)
const RowAlternateColorOptions & GetRowAlternateColorOptions() const
TableOptions & WithHeaderStyle(const TableCellStyle &value)
const TableOrientation & GetOrientation() const
const TableCellStyle & GetCellStyle() const
void SetCellStyle(TableCellStyle &&value)
void SetRowAlternateColorOptions(const RowAlternateColorOptions &value)
TableOptions & WithRowAlternateColorOptions(const RowAlternateColorOptions &value)
AWS_QUICKSIGHT_API TableOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
TableOptions & WithHeaderStyle(TableCellStyle &&value)
void SetOrientation(TableOrientation &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
TableOptions & WithCellStyle(const TableCellStyle &value)
AWS_QUICKSIGHT_API TableOptions(Aws::Utils::Json::JsonView jsonValue)
TableOptions & WithOrientation(TableOrientation &&value)
void SetOrientation(const TableOrientation &value)
TableOptions & WithRowAlternateColorOptions(RowAlternateColorOptions &&value)
TableOptions & WithOrientation(const TableOrientation &value)
Aws::Utils::Json::JsonValue JsonValue