AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PaletteCanvas.h
1
6#pragma once
7#include <aws/connect/Connect_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.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 PaletteCanvas() = default;
31 AWS_CONNECT_API PaletteCanvas(Aws::Utils::Json::JsonView jsonValue);
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetContainerBackground() const { return m_containerBackground; }
40 inline bool ContainerBackgroundHasBeenSet() const { return m_containerBackgroundHasBeenSet; }
41 template <typename ContainerBackgroundT = Aws::String>
42 void SetContainerBackground(ContainerBackgroundT&& value) {
43 m_containerBackgroundHasBeenSet = true;
44 m_containerBackground = std::forward<ContainerBackgroundT>(value);
45 }
46 template <typename ContainerBackgroundT = Aws::String>
47 PaletteCanvas& WithContainerBackground(ContainerBackgroundT&& value) {
48 SetContainerBackground(std::forward<ContainerBackgroundT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetPageBackground() const { return m_pageBackground; }
58 inline bool PageBackgroundHasBeenSet() const { return m_pageBackgroundHasBeenSet; }
59 template <typename PageBackgroundT = Aws::String>
60 void SetPageBackground(PageBackgroundT&& value) {
61 m_pageBackgroundHasBeenSet = true;
62 m_pageBackground = std::forward<PageBackgroundT>(value);
63 }
64 template <typename PageBackgroundT = Aws::String>
65 PaletteCanvas& WithPageBackground(PageBackgroundT&& value) {
66 SetPageBackground(std::forward<PageBackgroundT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetActiveBackground() const { return m_activeBackground; }
76 inline bool ActiveBackgroundHasBeenSet() const { return m_activeBackgroundHasBeenSet; }
77 template <typename ActiveBackgroundT = Aws::String>
78 void SetActiveBackground(ActiveBackgroundT&& value) {
79 m_activeBackgroundHasBeenSet = true;
80 m_activeBackground = std::forward<ActiveBackgroundT>(value);
81 }
82 template <typename ActiveBackgroundT = Aws::String>
83 PaletteCanvas& WithActiveBackground(ActiveBackgroundT&& value) {
84 SetActiveBackground(std::forward<ActiveBackgroundT>(value));
85 return *this;
86 }
88 private:
89 Aws::String m_containerBackground;
90
91 Aws::String m_pageBackground;
92
93 Aws::String m_activeBackground;
94 bool m_containerBackgroundHasBeenSet = false;
95 bool m_pageBackgroundHasBeenSet = false;
96 bool m_activeBackgroundHasBeenSet = false;
97};
98
99} // namespace Model
100} // namespace Connect
101} // namespace Aws
PaletteCanvas & WithPageBackground(PageBackgroundT &&value)
const Aws::String & GetPageBackground() const
PaletteCanvas & WithContainerBackground(ContainerBackgroundT &&value)
const Aws::String & GetActiveBackground() const
const Aws::String & GetContainerBackground() const
AWS_CONNECT_API PaletteCanvas & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PaletteCanvas()=default
void SetPageBackground(PageBackgroundT &&value)
AWS_CONNECT_API PaletteCanvas(Aws::Utils::Json::JsonView jsonValue)
void SetActiveBackground(ActiveBackgroundT &&value)
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
PaletteCanvas & WithActiveBackground(ActiveBackgroundT &&value)
void SetContainerBackground(ContainerBackgroundT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue