AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SheetStyle.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/SheetBackgroundStyle.h>
9#include <aws/quicksight/model/TileLayoutStyle.h>
10#include <aws/quicksight/model/TileStyle.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 SheetStyle() = default;
32 AWS_QUICKSIGHT_API SheetStyle(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API SheetStyle& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const TileStyle& GetTile() const { return m_tile; }
41 inline bool TileHasBeenSet() const { return m_tileHasBeenSet; }
42 template <typename TileT = TileStyle>
43 void SetTile(TileT&& value) {
44 m_tileHasBeenSet = true;
45 m_tile = std::forward<TileT>(value);
46 }
47 template <typename TileT = TileStyle>
48 SheetStyle& WithTile(TileT&& value) {
49 SetTile(std::forward<TileT>(value));
50 return *this;
51 }
53
55
58 inline const TileLayoutStyle& GetTileLayout() const { return m_tileLayout; }
59 inline bool TileLayoutHasBeenSet() const { return m_tileLayoutHasBeenSet; }
60 template <typename TileLayoutT = TileLayoutStyle>
61 void SetTileLayout(TileLayoutT&& value) {
62 m_tileLayoutHasBeenSet = true;
63 m_tileLayout = std::forward<TileLayoutT>(value);
64 }
65 template <typename TileLayoutT = TileLayoutStyle>
66 SheetStyle& WithTileLayout(TileLayoutT&& value) {
67 SetTileLayout(std::forward<TileLayoutT>(value));
68 return *this;
69 }
71
73
76 inline const SheetBackgroundStyle& GetBackground() const { return m_background; }
77 inline bool BackgroundHasBeenSet() const { return m_backgroundHasBeenSet; }
78 template <typename BackgroundT = SheetBackgroundStyle>
79 void SetBackground(BackgroundT&& value) {
80 m_backgroundHasBeenSet = true;
81 m_background = std::forward<BackgroundT>(value);
82 }
83 template <typename BackgroundT = SheetBackgroundStyle>
84 SheetStyle& WithBackground(BackgroundT&& value) {
85 SetBackground(std::forward<BackgroundT>(value));
86 return *this;
87 }
89 private:
90 TileStyle m_tile;
91
92 TileLayoutStyle m_tileLayout;
93
94 SheetBackgroundStyle m_background;
95 bool m_tileHasBeenSet = false;
96 bool m_tileLayoutHasBeenSet = false;
97 bool m_backgroundHasBeenSet = false;
98};
99
100} // namespace Model
101} // namespace QuickSight
102} // namespace Aws
const TileStyle & GetTile() const
Definition SheetStyle.h:40
SheetStyle & WithTileLayout(TileLayoutT &&value)
Definition SheetStyle.h:66
SheetStyle & WithBackground(BackgroundT &&value)
Definition SheetStyle.h:84
const SheetBackgroundStyle & GetBackground() const
Definition SheetStyle.h:76
void SetTileLayout(TileLayoutT &&value)
Definition SheetStyle.h:61
void SetBackground(BackgroundT &&value)
Definition SheetStyle.h:79
AWS_QUICKSIGHT_API SheetStyle & operator=(Aws::Utils::Json::JsonView jsonValue)
SheetStyle & WithTile(TileT &&value)
Definition SheetStyle.h:48
const TileLayoutStyle & GetTileLayout() const
Definition SheetStyle.h:58
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SheetStyle(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SheetStyle()=default
Aws::Utils::Json::JsonValue JsonValue