AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
LegendOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/LabelOptions.h>
10#include <aws/quicksight/model/LegendPosition.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API LegendOptions();
38 AWS_QUICKSIGHT_API LegendOptions(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API LegendOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Visibility& GetVisibility() const{ return m_visibility; }
48 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
49 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
50 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
51 inline LegendOptions& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
52 inline LegendOptions& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
54
56
59 inline const LabelOptions& GetTitle() const{ return m_title; }
60 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
61 inline void SetTitle(const LabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
62 inline void SetTitle(LabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
63 inline LegendOptions& WithTitle(const LabelOptions& value) { SetTitle(value); return *this;}
64 inline LegendOptions& WithTitle(LabelOptions&& value) { SetTitle(std::move(value)); return *this;}
66
68
74 inline const LegendPosition& GetPosition() const{ return m_position; }
75 inline bool PositionHasBeenSet() const { return m_positionHasBeenSet; }
76 inline void SetPosition(const LegendPosition& value) { m_positionHasBeenSet = true; m_position = value; }
77 inline void SetPosition(LegendPosition&& value) { m_positionHasBeenSet = true; m_position = std::move(value); }
78 inline LegendOptions& WithPosition(const LegendPosition& value) { SetPosition(value); return *this;}
79 inline LegendOptions& WithPosition(LegendPosition&& value) { SetPosition(std::move(value)); return *this;}
81
83
87 inline const Aws::String& GetWidth() const{ return m_width; }
88 inline bool WidthHasBeenSet() const { return m_widthHasBeenSet; }
89 inline void SetWidth(const Aws::String& value) { m_widthHasBeenSet = true; m_width = value; }
90 inline void SetWidth(Aws::String&& value) { m_widthHasBeenSet = true; m_width = std::move(value); }
91 inline void SetWidth(const char* value) { m_widthHasBeenSet = true; m_width.assign(value); }
92 inline LegendOptions& WithWidth(const Aws::String& value) { SetWidth(value); return *this;}
93 inline LegendOptions& WithWidth(Aws::String&& value) { SetWidth(std::move(value)); return *this;}
94 inline LegendOptions& WithWidth(const char* value) { SetWidth(value); return *this;}
96
98
102 inline const Aws::String& GetHeight() const{ return m_height; }
103 inline bool HeightHasBeenSet() const { return m_heightHasBeenSet; }
104 inline void SetHeight(const Aws::String& value) { m_heightHasBeenSet = true; m_height = value; }
105 inline void SetHeight(Aws::String&& value) { m_heightHasBeenSet = true; m_height = std::move(value); }
106 inline void SetHeight(const char* value) { m_heightHasBeenSet = true; m_height.assign(value); }
107 inline LegendOptions& WithHeight(const Aws::String& value) { SetHeight(value); return *this;}
108 inline LegendOptions& WithHeight(Aws::String&& value) { SetHeight(std::move(value)); return *this;}
109 inline LegendOptions& WithHeight(const char* value) { SetHeight(value); return *this;}
111 private:
112
113 Visibility m_visibility;
114 bool m_visibilityHasBeenSet = false;
115
116 LabelOptions m_title;
117 bool m_titleHasBeenSet = false;
118
119 LegendPosition m_position;
120 bool m_positionHasBeenSet = false;
121
122 Aws::String m_width;
123 bool m_widthHasBeenSet = false;
124
125 Aws::String m_height;
126 bool m_heightHasBeenSet = false;
127 };
128
129} // namespace Model
130} // namespace QuickSight
131} // namespace Aws
void SetVisibility(const Visibility &value)
LegendOptions & WithTitle(LabelOptions &&value)
void SetTitle(const LabelOptions &value)
void SetWidth(Aws::String &&value)
const Aws::String & GetWidth() const
void SetPosition(const LegendPosition &value)
LegendOptions & WithWidth(const Aws::String &value)
LegendOptions & WithHeight(Aws::String &&value)
const LabelOptions & GetTitle() const
void SetPosition(LegendPosition &&value)
void SetTitle(LabelOptions &&value)
LegendOptions & WithVisibility(const Visibility &value)
void SetVisibility(Visibility &&value)
void SetHeight(const Aws::String &value)
const Aws::String & GetHeight() const
LegendOptions & WithPosition(const LegendPosition &value)
AWS_QUICKSIGHT_API LegendOptions(Aws::Utils::Json::JsonView jsonValue)
void SetHeight(Aws::String &&value)
AWS_QUICKSIGHT_API LegendOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
LegendOptions & WithWidth(const char *value)
void SetWidth(const Aws::String &value)
LegendOptions & WithTitle(const LabelOptions &value)
const Visibility & GetVisibility() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const LegendPosition & GetPosition() const
LegendOptions & WithWidth(Aws::String &&value)
LegendOptions & WithHeight(const char *value)
LegendOptions & WithHeight(const Aws::String &value)
LegendOptions & WithPosition(LegendPosition &&value)
LegendOptions & WithVisibility(Visibility &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue