AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LabelOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/FontConfiguration.h>
10#include <aws/core/utils/memory/stl/AWSString.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
34 {
35 public:
36 AWS_QUICKSIGHT_API LabelOptions();
37 AWS_QUICKSIGHT_API LabelOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API LabelOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Visibility& GetVisibility() const{ return m_visibility; }
47 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
48 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
49 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
50 inline LabelOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
51 inline LabelOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
53
55
58 inline const FontConfiguration& GetFontConfiguration() const{ return m_fontConfiguration; }
59 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
60 inline void SetFontConfiguration(const FontConfiguration& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = value; }
61 inline void SetFontConfiguration(FontConfiguration&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::move(value); }
62 inline LabelOptions& WithFontConfiguration(const FontConfiguration& value) { SetFontConfiguration(value); return *this;}
63 inline LabelOptions& WithFontConfiguration(FontConfiguration&& value) { SetFontConfiguration(std::move(value)); return *this;}
65
67
70 inline const Aws::String& GetCustomLabel() const{ return m_customLabel; }
71 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
72 inline void SetCustomLabel(const Aws::String& value) { m_customLabelHasBeenSet = true; m_customLabel = value; }
73 inline void SetCustomLabel(Aws::String&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::move(value); }
74 inline void SetCustomLabel(const char* value) { m_customLabelHasBeenSet = true; m_customLabel.assign(value); }
75 inline LabelOptions& WithCustomLabel(const Aws::String& value) { SetCustomLabel(value); return *this;}
76 inline LabelOptions& WithCustomLabel(Aws::String&& value) { SetCustomLabel(std::move(value)); return *this;}
77 inline LabelOptions& WithCustomLabel(const char* value) { SetCustomLabel(value); return *this;}
79 private:
80
81 Visibility m_visibility;
82 bool m_visibilityHasBeenSet = false;
83
84 FontConfiguration m_fontConfiguration;
85 bool m_fontConfigurationHasBeenSet = false;
86
87 Aws::String m_customLabel;
88 bool m_customLabelHasBeenSet = false;
89 };
90
91} // namespace Model
92} // namespace QuickSight
93} // namespace Aws
LabelOptions & WithCustomLabel(const Aws::String &value)
LabelOptions & WithVisibility(Visibility &&value)
void SetCustomLabel(const Aws::String &value)
const FontConfiguration & GetFontConfiguration() const
AWS_QUICKSIGHT_API LabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetFontConfiguration(FontConfiguration &&value)
LabelOptions & WithVisibility(const Visibility &value)
LabelOptions & WithCustomLabel(Aws::String &&value)
AWS_QUICKSIGHT_API LabelOptions(Aws::Utils::Json::JsonView jsonValue)
void SetCustomLabel(Aws::String &&value)
const Aws::String & GetCustomLabel() const
void SetVisibility(const Visibility &value)
void SetCustomLabel(const char *value)
LabelOptions & WithCustomLabel(const char *value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
LabelOptions & WithFontConfiguration(const FontConfiguration &value)
LabelOptions & WithFontConfiguration(FontConfiguration &&value)
void SetFontConfiguration(const FontConfiguration &value)
const Visibility & GetVisibility() const
void SetVisibility(Visibility &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue