AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; }
50 inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); }
52 inline AxisLabelOptions& WithFontConfiguration(FontConfiguration&& value) { SetFontConfiguration(std::move(value)); return *this;}
54
56
59 inline const Aws::String& GetCustomLabel() const{ return m_customLabel; }
60 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
61 inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; }
62 inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); }
63 inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); }
64 inline AxisLabelOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;}
65 inline AxisLabelOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;}
66 inline AxisLabelOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;}
68
70
73 inline const AxisLabelReferenceOptions& GetApplyTo() const{ return m_applyTo; }
74 inline bool ApplyToHasBeenSet() const { return m_applyToHasBeenSet; }
75 inline void SetApplyTo(const AxisLabelReferenceOptions& value) { m_applyToHasBeenSet = true; m_applyTo = value; }
76 inline void SetApplyTo(AxisLabelReferenceOptions&& value) { m_applyToHasBeenSet = true; m_applyTo = std::move(value); }
77 inline AxisLabelOptions& WithApplyTo(const AxisLabelReferenceOptions& value) { SetApplyTo(value); return *this;}
78 inline AxisLabelOptions& WithApplyTo(AxisLabelReferenceOptions&& value) { SetApplyTo(std::move(value)); return *this;}
80 private:
81
82 FontConfiguration m_fontConfiguration;
83 bool m_fontConfigurationHasBeenSet = false;
84
85 Aws::String m_customLabel;
86 bool m_customLabelHasBeenSet = false;
87
89 bool m_applyToHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
void SetFontConfiguration(FontConfiguration &&value)
void SetFontConfiguration(const FontConfiguration &value)
AxisLabelOptions & WithFontConfiguration(FontConfiguration &&value)
void SetApplyTo(AxisLabelReferenceOptions &&value)
AWS_QUICKSIGHT_API AxisLabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomLabel() const
AxisLabelOptions & WithApplyTo(const AxisLabelReferenceOptions &value)
AxisLabelOptions & WithFontConfiguration(const FontConfiguration &value)
const AxisLabelReferenceOptions & GetApplyTo() const
void SetCustomLabel(const Aws::String &value)
AWS_QUICKSIGHT_API AxisLabelOptions(Aws::Utils::Json::JsonView jsonValue)
AxisLabelOptions & WithApplyTo(AxisLabelReferenceOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AxisLabelOptions & WithCustomLabel(const char *value)
AxisLabelOptions & WithCustomLabel(Aws::String &&value)
AxisLabelOptions & WithCustomLabel(const Aws::String &value)
const FontConfiguration & GetFontConfiguration() const
void SetApplyTo(const AxisLabelReferenceOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue