AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
AxisLabelOptions.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/AxisLabelReferenceOptions.h>
10#include <aws/quicksight/model/FontConfiguration.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
31 public:
32 AWS_QUICKSIGHT_API AxisLabelOptions() = default;
33 AWS_QUICKSIGHT_API AxisLabelOptions(Aws::Utils::Json::JsonView jsonValue);
35 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const FontConfiguration& GetFontConfiguration() const { return m_fontConfiguration; }
42 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
43 template <typename FontConfigurationT = FontConfiguration>
44 void SetFontConfiguration(FontConfigurationT&& value) {
45 m_fontConfigurationHasBeenSet = true;
46 m_fontConfiguration = std::forward<FontConfigurationT>(value);
47 }
48 template <typename FontConfigurationT = FontConfiguration>
49 AxisLabelOptions& WithFontConfiguration(FontConfigurationT&& value) {
50 SetFontConfiguration(std::forward<FontConfigurationT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetCustomLabel() const { return m_customLabel; }
60 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
61 template <typename CustomLabelT = Aws::String>
62 void SetCustomLabel(CustomLabelT&& value) {
63 m_customLabelHasBeenSet = true;
64 m_customLabel = std::forward<CustomLabelT>(value);
65 }
66 template <typename CustomLabelT = Aws::String>
67 AxisLabelOptions& WithCustomLabel(CustomLabelT&& value) {
68 SetCustomLabel(std::forward<CustomLabelT>(value));
69 return *this;
70 }
72
74
77 inline const AxisLabelReferenceOptions& GetApplyTo() const { return m_applyTo; }
78 inline bool ApplyToHasBeenSet() const { return m_applyToHasBeenSet; }
79 template <typename ApplyToT = AxisLabelReferenceOptions>
80 void SetApplyTo(ApplyToT&& value) {
81 m_applyToHasBeenSet = true;
82 m_applyTo = std::forward<ApplyToT>(value);
83 }
84 template <typename ApplyToT = AxisLabelReferenceOptions>
85 AxisLabelOptions& WithApplyTo(ApplyToT&& value) {
86 SetApplyTo(std::forward<ApplyToT>(value));
87 return *this;
88 }
90 private:
91 FontConfiguration m_fontConfiguration;
92
93 Aws::String m_customLabel;
94
96 bool m_fontConfigurationHasBeenSet = false;
97 bool m_customLabelHasBeenSet = false;
98 bool m_applyToHasBeenSet = false;
99};
100
101} // namespace Model
102} // namespace QuickSight
103} // namespace Aws
AxisLabelOptions & WithCustomLabel(CustomLabelT &&value)
AWS_QUICKSIGHT_API AxisLabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomLabel() const
const AxisLabelReferenceOptions & GetApplyTo() const
AxisLabelOptions & WithApplyTo(ApplyToT &&value)
AWS_QUICKSIGHT_API AxisLabelOptions(Aws::Utils::Json::JsonView jsonValue)
AxisLabelOptions & WithFontConfiguration(FontConfigurationT &&value)
void SetFontConfiguration(FontConfigurationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API AxisLabelOptions()=default
void SetCustomLabel(CustomLabelT &&value)
const FontConfiguration & GetFontConfiguration() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue