AWS SDK for C++

AWS SDK for C++ Version 1.11.743

Loading...
Searching...
No Matches
FontConfiguration.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/FontDecoration.h>
10#include <aws/quicksight/model/FontSize.h>
11#include <aws/quicksight/model/FontStyle.h>
12#include <aws/quicksight/model/FontWeight.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API FontConfiguration() = default;
35 AWS_QUICKSIGHT_API FontConfiguration(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const FontSize& GetFontSize() const { return m_fontSize; }
44 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
45 template <typename FontSizeT = FontSize>
46 void SetFontSize(FontSizeT&& value) {
47 m_fontSizeHasBeenSet = true;
48 m_fontSize = std::forward<FontSizeT>(value);
49 }
50 template <typename FontSizeT = FontSize>
51 FontConfiguration& WithFontSize(FontSizeT&& value) {
52 SetFontSize(std::forward<FontSizeT>(value));
53 return *this;
54 }
56
58
61 inline FontDecoration GetFontDecoration() const { return m_fontDecoration; }
62 inline bool FontDecorationHasBeenSet() const { return m_fontDecorationHasBeenSet; }
63 inline void SetFontDecoration(FontDecoration value) {
64 m_fontDecorationHasBeenSet = true;
65 m_fontDecoration = value;
66 }
68 SetFontDecoration(value);
69 return *this;
70 }
72
74
77 inline const Aws::String& GetFontColor() const { return m_fontColor; }
78 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
79 template <typename FontColorT = Aws::String>
80 void SetFontColor(FontColorT&& value) {
81 m_fontColorHasBeenSet = true;
82 m_fontColor = std::forward<FontColorT>(value);
83 }
84 template <typename FontColorT = Aws::String>
85 FontConfiguration& WithFontColor(FontColorT&& value) {
86 SetFontColor(std::forward<FontColorT>(value));
87 return *this;
88 }
90
92
95 inline const FontWeight& GetFontWeight() const { return m_fontWeight; }
96 inline bool FontWeightHasBeenSet() const { return m_fontWeightHasBeenSet; }
97 template <typename FontWeightT = FontWeight>
98 void SetFontWeight(FontWeightT&& value) {
99 m_fontWeightHasBeenSet = true;
100 m_fontWeight = std::forward<FontWeightT>(value);
101 }
102 template <typename FontWeightT = FontWeight>
103 FontConfiguration& WithFontWeight(FontWeightT&& value) {
104 SetFontWeight(std::forward<FontWeightT>(value));
105 return *this;
106 }
108
110
114 inline FontStyle GetFontStyle() const { return m_fontStyle; }
115 inline bool FontStyleHasBeenSet() const { return m_fontStyleHasBeenSet; }
116 inline void SetFontStyle(FontStyle value) {
117 m_fontStyleHasBeenSet = true;
118 m_fontStyle = value;
119 }
121 SetFontStyle(value);
122 return *this;
123 }
125
127
130 inline const Aws::String& GetFontFamily() const { return m_fontFamily; }
131 inline bool FontFamilyHasBeenSet() const { return m_fontFamilyHasBeenSet; }
132 template <typename FontFamilyT = Aws::String>
133 void SetFontFamily(FontFamilyT&& value) {
134 m_fontFamilyHasBeenSet = true;
135 m_fontFamily = std::forward<FontFamilyT>(value);
136 }
137 template <typename FontFamilyT = Aws::String>
138 FontConfiguration& WithFontFamily(FontFamilyT&& value) {
139 SetFontFamily(std::forward<FontFamilyT>(value));
140 return *this;
141 }
143 private:
144 FontSize m_fontSize;
145
146 FontDecoration m_fontDecoration{FontDecoration::NOT_SET};
147
148 Aws::String m_fontColor;
149
150 FontWeight m_fontWeight;
151
152 FontStyle m_fontStyle{FontStyle::NOT_SET};
153
154 Aws::String m_fontFamily;
155 bool m_fontSizeHasBeenSet = false;
156 bool m_fontDecorationHasBeenSet = false;
157 bool m_fontColorHasBeenSet = false;
158 bool m_fontWeightHasBeenSet = false;
159 bool m_fontStyleHasBeenSet = false;
160 bool m_fontFamilyHasBeenSet = false;
161};
162
163} // namespace Model
164} // namespace QuickSight
165} // namespace Aws
FontConfiguration & WithFontDecoration(FontDecoration value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FontConfiguration & WithFontStyle(FontStyle value)
AWS_QUICKSIGHT_API FontConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
FontConfiguration & WithFontFamily(FontFamilyT &&value)
FontConfiguration & WithFontColor(FontColorT &&value)
FontConfiguration & WithFontWeight(FontWeightT &&value)
void SetFontDecoration(FontDecoration value)
AWS_QUICKSIGHT_API FontConfiguration()=default
FontConfiguration & WithFontSize(FontSizeT &&value)
AWS_QUICKSIGHT_API FontConfiguration(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue