AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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/UIColorPalette.h>
10#include <aws/quicksight/model/SheetStyle.h>
11#include <aws/quicksight/model/Typography.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
36 {
37 public:
38 AWS_QUICKSIGHT_API ThemeConfiguration() = default;
39 AWS_QUICKSIGHT_API ThemeConfiguration(Aws::Utils::Json::JsonView jsonValue);
41 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const DataColorPalette& GetDataColorPalette() const { return m_dataColorPalette; }
49 inline bool DataColorPaletteHasBeenSet() const { return m_dataColorPaletteHasBeenSet; }
50 template<typename DataColorPaletteT = DataColorPalette>
51 void SetDataColorPalette(DataColorPaletteT&& value) { m_dataColorPaletteHasBeenSet = true; m_dataColorPalette = std::forward<DataColorPaletteT>(value); }
52 template<typename DataColorPaletteT = DataColorPalette>
53 ThemeConfiguration& WithDataColorPalette(DataColorPaletteT&& value) { SetDataColorPalette(std::forward<DataColorPaletteT>(value)); return *this;}
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) { m_uIColorPaletteHasBeenSet = true; m_uIColorPalette = std::forward<UIColorPaletteT>(value); }
65 template<typename UIColorPaletteT = UIColorPalette>
66 ThemeConfiguration& WithUIColorPalette(UIColorPaletteT&& value) { SetUIColorPalette(std::forward<UIColorPaletteT>(value)); return *this;}
68
70
73 inline const SheetStyle& GetSheet() const { return m_sheet; }
74 inline bool SheetHasBeenSet() const { return m_sheetHasBeenSet; }
75 template<typename SheetT = SheetStyle>
76 void SetSheet(SheetT&& value) { m_sheetHasBeenSet = true; m_sheet = std::forward<SheetT>(value); }
77 template<typename SheetT = SheetStyle>
78 ThemeConfiguration& WithSheet(SheetT&& value) { SetSheet(std::forward<SheetT>(value)); return *this;}
80
82
83 inline const Typography& GetTypography() const { return m_typography; }
84 inline bool TypographyHasBeenSet() const { return m_typographyHasBeenSet; }
85 template<typename TypographyT = Typography>
86 void SetTypography(TypographyT&& value) { m_typographyHasBeenSet = true; m_typography = std::forward<TypographyT>(value); }
87 template<typename TypographyT = Typography>
88 ThemeConfiguration& WithTypography(TypographyT&& value) { SetTypography(std::forward<TypographyT>(value)); return *this;}
90 private:
91
92 DataColorPalette m_dataColorPalette;
93 bool m_dataColorPaletteHasBeenSet = false;
94
95 UIColorPalette m_uIColorPalette;
96 bool m_uIColorPaletteHasBeenSet = false;
97
98 SheetStyle m_sheet;
99 bool m_sheetHasBeenSet = false;
100
101 Typography m_typography;
102 bool m_typographyHasBeenSet = false;
103 };
104
105} // namespace Model
106} // namespace QuickSight
107} // 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