AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
AxisLabelOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/FontConfiguration.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/AxisLabelReferenceOptions.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_QUICKSIGHT_API AxisLabelOptions() = default;
38 AWS_QUICKSIGHT_API AxisLabelOptions(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const FontConfiguration& GetFontConfiguration() const { return m_fontConfiguration; }
48 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
49 template<typename FontConfigurationT = FontConfiguration>
50 void SetFontConfiguration(FontConfigurationT&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::forward<FontConfigurationT>(value); }
51 template<typename FontConfigurationT = FontConfiguration>
52 AxisLabelOptions& WithFontConfiguration(FontConfigurationT&& value) { SetFontConfiguration(std::forward<FontConfigurationT>(value)); return *this;}
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) { m_customLabelHasBeenSet = true; m_customLabel = std::forward<CustomLabelT>(value); }
63 template<typename CustomLabelT = Aws::String>
64 AxisLabelOptions& WithCustomLabel(CustomLabelT&& value) { SetCustomLabel(std::forward<CustomLabelT>(value)); return *this;}
66
68
71 inline const AxisLabelReferenceOptions& GetApplyTo() const { return m_applyTo; }
72 inline bool ApplyToHasBeenSet() const { return m_applyToHasBeenSet; }
73 template<typename ApplyToT = AxisLabelReferenceOptions>
74 void SetApplyTo(ApplyToT&& value) { m_applyToHasBeenSet = true; m_applyTo = std::forward<ApplyToT>(value); }
75 template<typename ApplyToT = AxisLabelReferenceOptions>
76 AxisLabelOptions& WithApplyTo(ApplyToT&& value) { SetApplyTo(std::forward<ApplyToT>(value)); return *this;}
78 private:
79
80 FontConfiguration m_fontConfiguration;
81 bool m_fontConfigurationHasBeenSet = false;
82
83 Aws::String m_customLabel;
84 bool m_customLabelHasBeenSet = false;
85
87 bool m_applyToHasBeenSet = false;
88 };
89
90} // namespace Model
91} // namespace QuickSight
92} // 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