AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFontSize(const FontSize& value) { m_fontSizeHasBeenSet = true; m_fontSize = value; }
52 inline void SetFontSize(FontSize&& value) { m_fontSizeHasBeenSet = true; m_fontSize = std::move(value); }
53 inline FontConfiguration& WithFontSize(const FontSize& value) { SetFontSize(value); return *this;}
54 inline FontConfiguration& WithFontSize(FontSize&& value) { SetFontSize(std::move(value)); return *this;}
56
58
61 inline const FontDecoration& GetFontDecoration() const{ return m_fontDecoration; }
62 inline bool FontDecorationHasBeenSet() const { return m_fontDecorationHasBeenSet; }
63 inline void SetFontDecoration(const FontDecoration& value) { m_fontDecorationHasBeenSet = true; m_fontDecoration = value; }
64 inline void SetFontDecoration(FontDecoration&& value) { m_fontDecorationHasBeenSet = true; m_fontDecoration = std::move(value); }
65 inline FontConfiguration& WithFontDecoration(const FontDecoration& value) { SetFontDecoration(value); return *this;}
66 inline FontConfiguration& WithFontDecoration(FontDecoration&& value) { SetFontDecoration(std::move(value)); return *this;}
68
70
73 inline const Aws::String& GetFontColor() const{ return m_fontColor; }
74 inline bool FontColorHasBeenSet() const { return m_fontColorHasBeenSet; }
75 inline void SetFontColor(const Aws::String& value) { m_fontColorHasBeenSet = true; m_fontColor = value; }
76 inline void SetFontColor(Aws::String&& value) { m_fontColorHasBeenSet = true; m_fontColor = std::move(value); }
77 inline void SetFontColor(const char* value) { m_fontColorHasBeenSet = true; m_fontColor.assign(value); }
78 inline FontConfiguration& WithFontColor(const Aws::String& value) { SetFontColor(value); return *this;}
79 inline FontConfiguration& WithFontColor(Aws::String&& value) { SetFontColor(std::move(value)); return *this;}
80 inline FontConfiguration& WithFontColor(const char* value) { SetFontColor(value); return *this;}
82
84
87 inline const FontWeight& GetFontWeight() const{ return m_fontWeight; }
88 inline bool FontWeightHasBeenSet() const { return m_fontWeightHasBeenSet; }
89 inline void SetFontWeight(const FontWeight& value) { m_fontWeightHasBeenSet = true; m_fontWeight = value; }
90 inline void SetFontWeight(FontWeight&& value) { m_fontWeightHasBeenSet = true; m_fontWeight = std::move(value); }
91 inline FontConfiguration& WithFontWeight(const FontWeight& value) { SetFontWeight(value); return *this;}
92 inline FontConfiguration& WithFontWeight(FontWeight&& value) { SetFontWeight(std::move(value)); return *this;}
94
96
100 inline const FontStyle& GetFontStyle() const{ return m_fontStyle; }
101 inline bool FontStyleHasBeenSet() const { return m_fontStyleHasBeenSet; }
102 inline void SetFontStyle(const FontStyle& value) { m_fontStyleHasBeenSet = true; m_fontStyle = value; }
103 inline void SetFontStyle(FontStyle&& value) { m_fontStyleHasBeenSet = true; m_fontStyle = std::move(value); }
104 inline FontConfiguration& WithFontStyle(const FontStyle& value) { SetFontStyle(value); return *this;}
105 inline FontConfiguration& WithFontStyle(FontStyle&& value) { SetFontStyle(std::move(value)); return *this;}
107 private:
108
109 FontSize m_fontSize;
110 bool m_fontSizeHasBeenSet = false;
111
112 FontDecoration m_fontDecoration;
113 bool m_fontDecorationHasBeenSet = false;
114
115 Aws::String m_fontColor;
116 bool m_fontColorHasBeenSet = false;
117
118 FontWeight m_fontWeight;
119 bool m_fontWeightHasBeenSet = false;
120
121 FontStyle m_fontStyle;
122 bool m_fontStyleHasBeenSet = false;
123 };
124
125} // namespace Model
126} // namespace QuickSight
127} // namespace Aws
FontConfiguration & WithFontDecoration(const FontDecoration &value)
FontConfiguration & WithFontSize(const FontSize &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FontConfiguration & WithFontDecoration(FontDecoration &&value)
FontConfiguration & WithFontWeight(const FontWeight &value)
AWS_QUICKSIGHT_API FontConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFontStyle(const FontStyle &value)
const FontDecoration & GetFontDecoration() const
void SetFontWeight(const FontWeight &value)
FontConfiguration & WithFontColor(Aws::String &&value)
FontConfiguration & WithFontColor(const char *value)
FontConfiguration & WithFontStyle(FontStyle &&value)
FontConfiguration & WithFontWeight(FontWeight &&value)
void SetFontDecoration(const FontDecoration &value)
FontConfiguration & WithFontStyle(const FontStyle &value)
AWS_QUICKSIGHT_API FontConfiguration(Aws::Utils::Json::JsonView jsonValue)
void SetFontColor(const Aws::String &value)
FontConfiguration & WithFontSize(FontSize &&value)
FontConfiguration & WithFontColor(const Aws::String &value)
void SetFontDecoration(FontDecoration &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue