AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PaletteNavigation.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 PaletteNavigation() = default;
33 AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetBackground() const { return m_background; }
40 inline bool BackgroundHasBeenSet() const { return m_backgroundHasBeenSet; }
41 template <typename BackgroundT = Aws::String>
42 void SetBackground(BackgroundT&& value) {
43 m_backgroundHasBeenSet = true;
44 m_background = std::forward<BackgroundT>(value);
45 }
46 template <typename BackgroundT = Aws::String>
47 PaletteNavigation& WithBackground(BackgroundT&& value) {
48 SetBackground(std::forward<BackgroundT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetTextBackgroundHover() const { return m_textBackgroundHover; }
58 inline bool TextBackgroundHoverHasBeenSet() const { return m_textBackgroundHoverHasBeenSet; }
59 template <typename TextBackgroundHoverT = Aws::String>
60 void SetTextBackgroundHover(TextBackgroundHoverT&& value) {
61 m_textBackgroundHoverHasBeenSet = true;
62 m_textBackgroundHover = std::forward<TextBackgroundHoverT>(value);
63 }
64 template <typename TextBackgroundHoverT = Aws::String>
65 PaletteNavigation& WithTextBackgroundHover(TextBackgroundHoverT&& value) {
66 SetTextBackgroundHover(std::forward<TextBackgroundHoverT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTextBackgroundActive() const { return m_textBackgroundActive; }
76 inline bool TextBackgroundActiveHasBeenSet() const { return m_textBackgroundActiveHasBeenSet; }
77 template <typename TextBackgroundActiveT = Aws::String>
78 void SetTextBackgroundActive(TextBackgroundActiveT&& value) {
79 m_textBackgroundActiveHasBeenSet = true;
80 m_textBackgroundActive = std::forward<TextBackgroundActiveT>(value);
81 }
82 template <typename TextBackgroundActiveT = Aws::String>
83 PaletteNavigation& WithTextBackgroundActive(TextBackgroundActiveT&& value) {
84 SetTextBackgroundActive(std::forward<TextBackgroundActiveT>(value));
85 return *this;
86 }
88
90
93 inline const Aws::String& GetText() const { return m_text; }
94 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
95 template <typename TextT = Aws::String>
96 void SetText(TextT&& value) {
97 m_textHasBeenSet = true;
98 m_text = std::forward<TextT>(value);
99 }
100 template <typename TextT = Aws::String>
101 PaletteNavigation& WithText(TextT&& value) {
102 SetText(std::forward<TextT>(value));
103 return *this;
104 }
106
108
111 inline const Aws::String& GetTextHover() const { return m_textHover; }
112 inline bool TextHoverHasBeenSet() const { return m_textHoverHasBeenSet; }
113 template <typename TextHoverT = Aws::String>
114 void SetTextHover(TextHoverT&& value) {
115 m_textHoverHasBeenSet = true;
116 m_textHover = std::forward<TextHoverT>(value);
117 }
118 template <typename TextHoverT = Aws::String>
119 PaletteNavigation& WithTextHover(TextHoverT&& value) {
120 SetTextHover(std::forward<TextHoverT>(value));
121 return *this;
122 }
124
126
129 inline const Aws::String& GetTextActive() const { return m_textActive; }
130 inline bool TextActiveHasBeenSet() const { return m_textActiveHasBeenSet; }
131 template <typename TextActiveT = Aws::String>
132 void SetTextActive(TextActiveT&& value) {
133 m_textActiveHasBeenSet = true;
134 m_textActive = std::forward<TextActiveT>(value);
135 }
136 template <typename TextActiveT = Aws::String>
137 PaletteNavigation& WithTextActive(TextActiveT&& value) {
138 SetTextActive(std::forward<TextActiveT>(value));
139 return *this;
140 }
142
144
147 inline bool GetInvertActionsColors() const { return m_invertActionsColors; }
148 inline bool InvertActionsColorsHasBeenSet() const { return m_invertActionsColorsHasBeenSet; }
149 inline void SetInvertActionsColors(bool value) {
150 m_invertActionsColorsHasBeenSet = true;
151 m_invertActionsColors = value;
152 }
155 return *this;
156 }
158 private:
159 Aws::String m_background;
160
161 Aws::String m_textBackgroundHover;
162
163 Aws::String m_textBackgroundActive;
164
165 Aws::String m_text;
166
167 Aws::String m_textHover;
168
169 Aws::String m_textActive;
170
171 bool m_invertActionsColors{false};
172 bool m_backgroundHasBeenSet = false;
173 bool m_textBackgroundHoverHasBeenSet = false;
174 bool m_textBackgroundActiveHasBeenSet = false;
175 bool m_textHasBeenSet = false;
176 bool m_textHoverHasBeenSet = false;
177 bool m_textActiveHasBeenSet = false;
178 bool m_invertActionsColorsHasBeenSet = false;
179};
180
181} // namespace Model
182} // namespace Connect
183} // namespace Aws
void SetBackground(BackgroundT &&value)
PaletteNavigation & WithTextHover(TextHoverT &&value)
const Aws::String & GetTextActive() const
PaletteNavigation & WithInvertActionsColors(bool value)
PaletteNavigation & WithTextBackgroundActive(TextBackgroundActiveT &&value)
const Aws::String & GetTextBackgroundActive() const
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_CONNECT_API PaletteNavigation()=default
const Aws::String & GetBackground() const
PaletteNavigation & WithBackground(BackgroundT &&value)
PaletteNavigation & WithText(TextT &&value)
const Aws::String & GetTextHover() const
PaletteNavigation & WithTextBackgroundHover(TextBackgroundHoverT &&value)
AWS_CONNECT_API PaletteNavigation(Aws::Utils::Json::JsonView jsonValue)
void SetTextBackgroundHover(TextBackgroundHoverT &&value)
const Aws::String & GetText() const
void SetTextBackgroundActive(TextBackgroundActiveT &&value)
AWS_CONNECT_API PaletteNavigation & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetTextBackgroundHover() const
PaletteNavigation & WithTextActive(TextActiveT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue