AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WorkspaceThemeConfig.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/WorkspaceThemeImages.h>
9#include <aws/connect/model/WorkspaceThemePalette.h>
10#include <aws/connect/model/WorkspaceThemeTypography.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Connect {
22namespace Model {
23
31 public:
32 AWS_CONNECT_API WorkspaceThemeConfig() = default;
35 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const WorkspaceThemePalette& GetPalette() const { return m_palette; }
42 inline bool PaletteHasBeenSet() const { return m_paletteHasBeenSet; }
43 template <typename PaletteT = WorkspaceThemePalette>
44 void SetPalette(PaletteT&& value) {
45 m_paletteHasBeenSet = true;
46 m_palette = std::forward<PaletteT>(value);
47 }
48 template <typename PaletteT = WorkspaceThemePalette>
49 WorkspaceThemeConfig& WithPalette(PaletteT&& value) {
50 SetPalette(std::forward<PaletteT>(value));
51 return *this;
52 }
54
56
59 inline const WorkspaceThemeImages& GetImages() const { return m_images; }
60 inline bool ImagesHasBeenSet() const { return m_imagesHasBeenSet; }
61 template <typename ImagesT = WorkspaceThemeImages>
62 void SetImages(ImagesT&& value) {
63 m_imagesHasBeenSet = true;
64 m_images = std::forward<ImagesT>(value);
65 }
66 template <typename ImagesT = WorkspaceThemeImages>
67 WorkspaceThemeConfig& WithImages(ImagesT&& value) {
68 SetImages(std::forward<ImagesT>(value));
69 return *this;
70 }
72
74
77 inline const WorkspaceThemeTypography& GetTypography() const { return m_typography; }
78 inline bool TypographyHasBeenSet() const { return m_typographyHasBeenSet; }
79 template <typename TypographyT = WorkspaceThemeTypography>
80 void SetTypography(TypographyT&& value) {
81 m_typographyHasBeenSet = true;
82 m_typography = std::forward<TypographyT>(value);
83 }
84 template <typename TypographyT = WorkspaceThemeTypography>
85 WorkspaceThemeConfig& WithTypography(TypographyT&& value) {
86 SetTypography(std::forward<TypographyT>(value));
87 return *this;
88 }
90 private:
91 WorkspaceThemePalette m_palette;
92
93 WorkspaceThemeImages m_images;
94
95 WorkspaceThemeTypography m_typography;
96 bool m_paletteHasBeenSet = false;
97 bool m_imagesHasBeenSet = false;
98 bool m_typographyHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace Connect
103} // namespace Aws
AWS_CONNECT_API WorkspaceThemeConfig()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API WorkspaceThemeConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const WorkspaceThemeTypography & GetTypography() const
const WorkspaceThemePalette & GetPalette() const
AWS_CONNECT_API WorkspaceThemeConfig(Aws::Utils::Json::JsonView jsonValue)
WorkspaceThemeConfig & WithImages(ImagesT &&value)
const WorkspaceThemeImages & GetImages() const
WorkspaceThemeConfig & WithPalette(PaletteT &&value)
WorkspaceThemeConfig & WithTypography(TypographyT &&value)
Aws::Utils::Json::JsonValue JsonValue