AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
ThemeConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/DataColorPalette.h>
9#include <aws/quicksight/model/SheetStyle.h>
10#include <aws/quicksight/model/Typography.h>
11#include <aws/quicksight/model/UIColorPalette.h>
12
13#include <utility>
14
15namespace Aws {
16namespace Utils {
17namespace Json {
18class JsonValue;
19class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
24
32 public:
33 AWS_QUICKSIGHT_API ThemeConfiguration() = default;
34 AWS_QUICKSIGHT_API ThemeConfiguration(Aws::Utils::Json::JsonView jsonValue);
36 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
42 inline const DataColorPalette& GetDataColorPalette() const { return m_dataColorPalette; }
43 inline bool DataColorPaletteHasBeenSet() const { return m_dataColorPaletteHasBeenSet; }
44 template <typename DataColorPaletteT = DataColorPalette>
45 void SetDataColorPalette(DataColorPaletteT&& value) {
46 m_dataColorPaletteHasBeenSet = true;
47 m_dataColorPalette = std::forward<DataColorPaletteT>(value);
48 }
49 template <typename DataColorPaletteT = DataColorPalette>
50 ThemeConfiguration& WithDataColorPalette(DataColorPaletteT&& value) {
51 SetDataColorPalette(std::forward<DataColorPaletteT>(value));
52 return *this;
53 }
55
57
61 inline const UIColorPalette& GetUIColorPalette() const { return m_uIColorPalette; }
62 inline bool UIColorPaletteHasBeenSet() const { return m_uIColorPaletteHasBeenSet; }
63 template <typename UIColorPaletteT = UIColorPalette>
64 void SetUIColorPalette(UIColorPaletteT&& value) {
65 m_uIColorPaletteHasBeenSet = true;
66 m_uIColorPalette = std::forward<UIColorPaletteT>(value);
67 }
68 template <typename UIColorPaletteT = UIColorPalette>
69 ThemeConfiguration& WithUIColorPalette(UIColorPaletteT&& value) {
70 SetUIColorPalette(std::forward<UIColorPaletteT>(value));
71 return *this;
72 }
74
76
79 inline const SheetStyle& GetSheet() const { return m_sheet; }
80 inline bool SheetHasBeenSet() const { return m_sheetHasBeenSet; }
81 template <typename SheetT = SheetStyle>
82 void SetSheet(SheetT&& value) {
83 m_sheetHasBeenSet = true;
84 m_sheet = std::forward<SheetT>(value);
85 }
86 template <typename SheetT = SheetStyle>
87 ThemeConfiguration& WithSheet(SheetT&& value) {
88 SetSheet(std::forward<SheetT>(value));
89 return *this;
90 }
92
94
95 inline const Typography& GetTypography() const { return m_typography; }
96 inline bool TypographyHasBeenSet() const { return m_typographyHasBeenSet; }
97 template <typename TypographyT = Typography>
98 void SetTypography(TypographyT&& value) {
99 m_typographyHasBeenSet = true;
100 m_typography = std::forward<TypographyT>(value);
101 }
102 template <typename TypographyT = Typography>
103 ThemeConfiguration& WithTypography(TypographyT&& value) {
104 SetTypography(std::forward<TypographyT>(value));
105 return *this;
106 }
108 private:
109 DataColorPalette m_dataColorPalette;
110
111 UIColorPalette m_uIColorPalette;
112
113 SheetStyle m_sheet;
114
115 Typography m_typography;
116 bool m_dataColorPaletteHasBeenSet = false;
117 bool m_uIColorPaletteHasBeenSet = false;
118 bool m_sheetHasBeenSet = false;
119 bool m_typographyHasBeenSet = false;
120};
121
122} // namespace Model
123} // namespace QuickSight
124} // namespace Aws
const DataColorPalette & GetDataColorPalette() const
ThemeConfiguration & WithUIColorPalette(UIColorPaletteT &&value)
ThemeConfiguration & WithDataColorPalette(DataColorPaletteT &&value)
AWS_QUICKSIGHT_API ThemeConfiguration()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
ThemeConfiguration & WithTypography(TypographyT &&value)
void SetUIColorPalette(UIColorPaletteT &&value)
ThemeConfiguration & WithSheet(SheetT &&value)
void SetDataColorPalette(DataColorPaletteT &&value)
AWS_QUICKSIGHT_API ThemeConfiguration(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ThemeConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
const UIColorPalette & GetUIColorPalette() const
Aws::Utils::Json::JsonValue JsonValue