AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
FontConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FontSize.h>
9#include <aws/quicksight/model/FontDecoration.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/quicksight/model/FontWeight.h>
12#include <aws/quicksight/model/FontStyle.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API FontConfiguration() = default;
40 AWS_QUICKSIGHT_API FontConfiguration(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const FontSize& GetFontSize() const { return m_fontSize; }
50 inline bool FontSizeHasBeenSet() const { return m_fontSizeHasBeenSet; }
51 template<typename FontSizeT = FontSize>
52 void SetFontSize(FontSizeT&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::forward<FontSizeT>(value); }
53 template<typename FontSizeT = FontSize>
54 FontConfiguration& WithFontSize(FontSizeT&& value) { SetFontSize(std::forward<FontSizeT>(value)); return *this;}
56
58
61 inline FontDecoration GetFontDecoration() const { return m_fontDecoration; }
62 inline bool FontDecorationHasBeenSet() const { return m_fontDecorationHasBeenSet; }
63 inline void SetFontDecoration(FontDecoration value) { m_fontDecorationHasBeenSet = true; m_fontDecoration = value; }
66
68
71 inline const Aws::String& GetFontColor() const { return m_fontColor; }
72 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
73 template<typename FontColorT = Aws::String>
74 void SetFontColor(FontColorT&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::forward<FontColorT>(value); }
75 template<typename FontColorT = Aws::String>
76 FontConfiguration& WithFontColor(FontColorT&& value) { SetFontColor(std::forward<FontColorT>(value)); return *this;}
78
80
83 inline const FontWeight& GetFontWeight() const { return m_fontWeight; }
84 inline bool FontWeightHasBeenSet() const { return m_fontWeightHasBeenSet; }
85 template<typename FontWeightT = FontWeight>
86 void SetFontWeight(FontWeightT&& value) { m_fontWeightHasBeenSet = true; m_fontWeight = std::forward<FontWeightT>(value); }
87 template<typename FontWeightT = FontWeight>
88 FontConfiguration& WithFontWeight(FontWeightT&& value) { SetFontWeight(std::forward<FontWeightT>(value)); return *this;}
90
92
96 inline FontStyle GetFontStyle() const { return m_fontStyle; }
97 inline bool FontStyleHasBeenSet() const { return m_fontStyleHasBeenSet; }
98 inline void SetFontStyle(FontStyle value) { m_fontStyleHasBeenSet = true; m_fontStyle = value; }
99 inline FontConfiguration& WithFontStyle(FontStyle value) { SetFontStyle(value); return *this;}
101
103
106 inline const Aws::String& GetFontFamily() const { return m_fontFamily; }
107 inline bool FontFamilyHasBeenSet() const { return m_fontFamilyHasBeenSet; }
108 template<typename FontFamilyT = Aws::String>
109 void SetFontFamily(FontFamilyT&& value) { m_fontFamilyHasBeenSet = true; m_fontFamily = std::forward<FontFamilyT>(value); }
110 template<typename FontFamilyT = Aws::String>
111 FontConfiguration& WithFontFamily(FontFamilyT&& value) { SetFontFamily(std::forward<FontFamilyT>(value)); return *this;}
113 private:
114
115 FontSize m_fontSize;
116 bool m_fontSizeHasBeenSet = false;
117
118 FontDecoration m_fontDecoration{FontDecoration::NOT_SET};
119 bool m_fontDecorationHasBeenSet = false;
120
121 Aws::String m_fontColor;
122 bool m_fontColorHasBeenSet = false;
123
124 FontWeight m_fontWeight;
125 bool m_fontWeightHasBeenSet = false;
126
127 FontStyle m_fontStyle{FontStyle::NOT_SET};
128 bool m_fontStyleHasBeenSet = false;
129
130 Aws::String m_fontFamily;
131 bool m_fontFamilyHasBeenSet = false;
132 };
133
134} // namespace Model
135} // namespace QuickSight
136} // 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