AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FontSize.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/RelativeFontSize.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_QUICKSIGHT_API FontSize() = default;
37 AWS_QUICKSIGHT_API FontSize(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API FontSize& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline RelativeFontSize GetRelative() const { return m_relative; }
48 inline bool RelativeHasBeenSet() const { return m_relativeHasBeenSet; }
49 inline void SetRelative(RelativeFontSize value) { m_relativeHasBeenSet = true; m_relative = value; }
50 inline FontSize& WithRelative(RelativeFontSize value) { SetRelative(value); return *this;}
52
54
57 inline const Aws::String& GetAbsolute() const { return m_absolute; }
58 inline bool AbsoluteHasBeenSet() const { return m_absoluteHasBeenSet; }
59 template<typename AbsoluteT = Aws::String>
60 void SetAbsolute(AbsoluteT&& value) { m_absoluteHasBeenSet = true; m_absolute = std::forward<AbsoluteT>(value); }
61 template<typename AbsoluteT = Aws::String>
62 FontSize& WithAbsolute(AbsoluteT&& value) { SetAbsolute(std::forward<AbsoluteT>(value)); return *this;}
64 private:
65
67 bool m_relativeHasBeenSet = false;
68
69 Aws::String m_absolute;
70 bool m_absoluteHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // namespace Aws
AWS_QUICKSIGHT_API FontSize(Aws::Utils::Json::JsonView jsonValue)
FontSize & WithAbsolute(AbsoluteT &&value)
Definition FontSize.h:62
AWS_QUICKSIGHT_API FontSize()=default
FontSize & WithRelative(RelativeFontSize value)
Definition FontSize.h:50
AWS_QUICKSIGHT_API FontSize & operator=(Aws::Utils::Json::JsonView jsonValue)
RelativeFontSize GetRelative() const
Definition FontSize.h:47
void SetAbsolute(AbsoluteT &&value)
Definition FontSize.h:60
void SetRelative(RelativeFontSize value)
Definition FontSize.h:49
const Aws::String & GetAbsolute() const
Definition FontSize.h:57
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue