AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
PaletteHeader.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 PaletteHeader() = default;
31 AWS_CONNECT_API PaletteHeader(Aws::Utils::Json::JsonView jsonValue);
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 PaletteHeader& WithBackground(BackgroundT&& value) {
48 SetBackground(std::forward<BackgroundT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetText() const { return m_text; }
58 inline bool TextHasBeenSet() const { return m_textHasBeenSet; }
59 template <typename TextT = Aws::String>
60 void SetText(TextT&& value) {
61 m_textHasBeenSet = true;
62 m_text = std::forward<TextT>(value);
63 }
64 template <typename TextT = Aws::String>
65 PaletteHeader& WithText(TextT&& value) {
66 SetText(std::forward<TextT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::String& GetTextHover() const { return m_textHover; }
76 inline bool TextHoverHasBeenSet() const { return m_textHoverHasBeenSet; }
77 template <typename TextHoverT = Aws::String>
78 void SetTextHover(TextHoverT&& value) {
79 m_textHoverHasBeenSet = true;
80 m_textHover = std::forward<TextHoverT>(value);
81 }
82 template <typename TextHoverT = Aws::String>
83 PaletteHeader& WithTextHover(TextHoverT&& value) {
84 SetTextHover(std::forward<TextHoverT>(value));
85 return *this;
86 }
88
90
93 inline bool GetInvertActionsColors() const { return m_invertActionsColors; }
94 inline bool InvertActionsColorsHasBeenSet() const { return m_invertActionsColorsHasBeenSet; }
95 inline void SetInvertActionsColors(bool value) {
96 m_invertActionsColorsHasBeenSet = true;
97 m_invertActionsColors = value;
98 }
101 return *this;
102 }
104 private:
105 Aws::String m_background;
106
107 Aws::String m_text;
108
109 Aws::String m_textHover;
110
111 bool m_invertActionsColors{false};
112 bool m_backgroundHasBeenSet = false;
113 bool m_textHasBeenSet = false;
114 bool m_textHoverHasBeenSet = false;
115 bool m_invertActionsColorsHasBeenSet = false;
116};
117
118} // namespace Model
119} // namespace Connect
120} // namespace Aws
AWS_CONNECT_API PaletteHeader(Aws::Utils::Json::JsonView jsonValue)
AWS_CONNECT_API PaletteHeader & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetText() const
PaletteHeader & WithTextHover(TextHoverT &&value)
const Aws::String & GetTextHover() const
PaletteHeader & WithText(TextT &&value)
void SetTextHover(TextHoverT &&value)
void SetBackground(BackgroundT &&value)
PaletteHeader & WithBackground(BackgroundT &&value)
AWS_CONNECT_API PaletteHeader()=default
AWS_CONNECT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetBackground() const
PaletteHeader & WithInvertActionsColors(bool value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue