AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
TableConditionalFormattingOption.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/TableCellConditionalFormatting.h>
9#include <aws/quicksight/model/TableRowConditionalFormatting.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
34 {
35 public:
36 AWS_QUICKSIGHT_API TableConditionalFormattingOption() = default;
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const TableCellConditionalFormatting& GetCell() const { return m_cell; }
47 inline bool CellHasBeenSet() const { return m_cellHasBeenSet; }
48 template<typename CellT = TableCellConditionalFormatting>
49 void SetCell(CellT&& value) { m_cellHasBeenSet = true; m_cell = std::forward<CellT>(value); }
50 template<typename CellT = TableCellConditionalFormatting>
51 TableConditionalFormattingOption& WithCell(CellT&& value) { SetCell(std::forward<CellT>(value)); return *this;}
53
55
58 inline const TableRowConditionalFormatting& GetRow() const { return m_row; }
59 inline bool RowHasBeenSet() const { return m_rowHasBeenSet; }
60 template<typename RowT = TableRowConditionalFormatting>
61 void SetRow(RowT&& value) { m_rowHasBeenSet = true; m_row = std::forward<RowT>(value); }
62 template<typename RowT = TableRowConditionalFormatting>
63 TableConditionalFormattingOption& WithRow(RowT&& value) { SetRow(std::forward<RowT>(value)); return *this;}
65 private:
66
68 bool m_cellHasBeenSet = false;
69
71 bool m_rowHasBeenSet = false;
72 };
73
74} // namespace Model
75} // namespace QuickSight
76} // namespace Aws
AWS_QUICKSIGHT_API TableConditionalFormattingOption & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TableConditionalFormattingOption()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TableConditionalFormattingOption(Aws::Utils::Json::JsonView jsonValue)
TableConditionalFormattingOption & WithCell(CellT &&value)
Aws::Utils::Json::JsonValue JsonValue