AWS SDK for C++

AWS SDK for C++ Version 1.11.812

Loading...
Searching...
No Matches
ControlTitleFontConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FontConfiguration.h>
9#include <aws/quicksight/model/HorizontalTextAlignment.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API ControlTitleFontConfiguration() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const FontConfiguration& GetFontConfiguration() const { return m_fontConfiguration; }
41 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
42 template <typename FontConfigurationT = FontConfiguration>
43 void SetFontConfiguration(FontConfigurationT&& value) {
44 m_fontConfigurationHasBeenSet = true;
45 m_fontConfiguration = std::forward<FontConfigurationT>(value);
46 }
47 template <typename FontConfigurationT = FontConfiguration>
49 SetFontConfiguration(std::forward<FontConfigurationT>(value));
50 return *this;
51 }
53
55
58 inline HorizontalTextAlignment GetTextAlignment() const { return m_textAlignment; }
59 inline bool TextAlignmentHasBeenSet() const { return m_textAlignmentHasBeenSet; }
61 m_textAlignmentHasBeenSet = true;
62 m_textAlignment = value;
63 }
65 SetTextAlignment(value);
66 return *this;
67 }
69 private:
70 FontConfiguration m_fontConfiguration;
71
73 bool m_fontConfigurationHasBeenSet = false;
74 bool m_textAlignmentHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace QuickSight
79} // namespace Aws
AWS_QUICKSIGHT_API ControlTitleFontConfiguration(Aws::Utils::Json::JsonView jsonValue)
ControlTitleFontConfiguration & WithTextAlignment(HorizontalTextAlignment value)
ControlTitleFontConfiguration & WithFontConfiguration(FontConfigurationT &&value)
AWS_QUICKSIGHT_API ControlTitleFontConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ControlTitleFontConfiguration()=default
Aws::Utils::Json::JsonValue JsonValue