AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
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 Visibility GetVisibility() const { return m_visibility; }
47 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
48 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
49 inline LabelOptions& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
51
53
56 inline const FontConfiguration& GetFontConfiguration() const { return m_fontConfiguration; }
57 inline bool FontConfigurationHasBeenSet() const { return m_fontConfigurationHasBeenSet; }
58 template<typename FontConfigurationT = FontConfiguration>
59 void SetFontConfiguration(FontConfigurationT&& value) { m_fontConfigurationHasBeenSet = true; m_fontConfiguration = std::forward<FontConfigurationT>(value); }
60 template<typename FontConfigurationT = FontConfiguration>
61 LabelOptions& WithFontConfiguration(FontConfigurationT&& value) { SetFontConfiguration(std::forward<FontConfigurationT>(value)); return *this;}
63
65
68 inline const Aws::String& GetCustomLabel() const { return m_customLabel; }
69 inline bool CustomLabelHasBeenSet() const { return m_customLabelHasBeenSet; }
70 template<typename CustomLabelT = Aws::String>
71 void SetCustomLabel(CustomLabelT&& value) { m_customLabelHasBeenSet = true; m_customLabel = std::forward<CustomLabelT>(value); }
72 template<typename CustomLabelT = Aws::String>
73 LabelOptions& WithCustomLabel(CustomLabelT&& value) { SetCustomLabel(std::forward<CustomLabelT>(value)); return *this;}
75 private:
76
77 Visibility m_visibility{Visibility::NOT_SET};
78 bool m_visibilityHasBeenSet = false;
79
80 FontConfiguration m_fontConfiguration;
81 bool m_fontConfigurationHasBeenSet = false;
82
83 Aws::String m_customLabel;
84 bool m_customLabelHasBeenSet = false;
85 };
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
void SetFontConfiguration(FontConfigurationT &&value)
LabelOptions & WithVisibility(Visibility value)
const FontConfiguration & GetFontConfiguration() const
AWS_QUICKSIGHT_API LabelOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API LabelOptions()=default
AWS_QUICKSIGHT_API LabelOptions(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCustomLabel() const
LabelOptions & WithCustomLabel(CustomLabelT &&value)
void SetCustomLabel(CustomLabelT &&value)
void SetVisibility(Visibility value)
LabelOptions & WithFontConfiguration(FontConfigurationT &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue