AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
WorkspaceTheme.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/connect/model/WorkspaceThemeConfig.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace Connect {
20namespace Model {
21
29 public:
30 AWS_CONNECT_API WorkspaceTheme() = default;
31 AWS_CONNECT_API WorkspaceTheme(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const WorkspaceThemeConfig& GetLight() const { return m_light; }
40 inline bool LightHasBeenSet() const { return m_lightHasBeenSet; }
41 template <typename LightT = WorkspaceThemeConfig>
42 void SetLight(LightT&& value) {
43 m_lightHasBeenSet = true;
44 m_light = std::forward<LightT>(value);
45 }
46 template <typename LightT = WorkspaceThemeConfig>
47 WorkspaceTheme& WithLight(LightT&& value) {
48 SetLight(std::forward<LightT>(value));
49 return *this;
50 }
52
54
57 inline const WorkspaceThemeConfig& GetDark() const { return m_dark; }
58 inline bool DarkHasBeenSet() const { return m_darkHasBeenSet; }
59 template <typename DarkT = WorkspaceThemeConfig>
60 void SetDark(DarkT&& value) {
61 m_darkHasBeenSet = true;
62 m_dark = std::forward<DarkT>(value);
63 }
64 template <typename DarkT = WorkspaceThemeConfig>
65 WorkspaceTheme& WithDark(DarkT&& value) {
66 SetDark(std::forward<DarkT>(value));
67 return *this;
68 }
70 private:
72
74 bool m_lightHasBeenSet = false;
75 bool m_darkHasBeenSet = false;
76};
77
78} // namespace Model
79} // namespace Connect
80} // namespace Aws
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API WorkspaceTheme()=default
AWS_CONNECT_API WorkspaceTheme & operator=(Aws::Utils::Json::JsonView jsonValue)
WorkspaceTheme & WithLight(LightT &&value)
const WorkspaceThemeConfig & GetDark() const
const WorkspaceThemeConfig & GetLight() const
AWS_CONNECT_API WorkspaceTheme(Aws::Utils::Json::JsonView jsonValue)
WorkspaceTheme & WithDark(DarkT &&value)
Aws::Utils::Json::JsonValue JsonValue