AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
FieldTooltipItem.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/TooltipTarget.h>
10#include <aws/quicksight/model/Visibility.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight {
22namespace Model {
23
30 public:
31 AWS_QUICKSIGHT_API FieldTooltipItem() = default;
32 AWS_QUICKSIGHT_API FieldTooltipItem(Aws::Utils::Json::JsonView jsonValue);
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetFieldId() const { return m_fieldId; }
41 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
42 template <typename FieldIdT = Aws::String>
43 void SetFieldId(FieldIdT&& value) {
44 m_fieldIdHasBeenSet = true;
45 m_fieldId = std::forward<FieldIdT>(value);
46 }
47 template <typename FieldIdT = Aws::String>
48 FieldTooltipItem& WithFieldId(FieldIdT&& value) {
49 SetFieldId(std::forward<FieldIdT>(value));
50 return *this;
51 }
53
55
58 inline const Aws::String& GetLabel() const { return m_label; }
59 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
60 template <typename LabelT = Aws::String>
61 void SetLabel(LabelT&& value) {
62 m_labelHasBeenSet = true;
63 m_label = std::forward<LabelT>(value);
64 }
65 template <typename LabelT = Aws::String>
66 FieldTooltipItem& WithLabel(LabelT&& value) {
67 SetLabel(std::forward<LabelT>(value));
68 return *this;
69 }
71
73
76 inline Visibility GetVisibility() const { return m_visibility; }
77 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
78 inline void SetVisibility(Visibility value) {
79 m_visibilityHasBeenSet = true;
80 m_visibility = value;
81 }
83 SetVisibility(value);
84 return *this;
85 }
87
89
92 inline TooltipTarget GetTooltipTarget() const { return m_tooltipTarget; }
93 inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; }
94 inline void SetTooltipTarget(TooltipTarget value) {
95 m_tooltipTargetHasBeenSet = true;
96 m_tooltipTarget = value;
97 }
99 SetTooltipTarget(value);
100 return *this;
101 }
103 private:
104 Aws::String m_fieldId;
105
106 Aws::String m_label;
107
108 Visibility m_visibility{Visibility::NOT_SET};
109
110 TooltipTarget m_tooltipTarget{TooltipTarget::NOT_SET};
111 bool m_fieldIdHasBeenSet = false;
112 bool m_labelHasBeenSet = false;
113 bool m_visibilityHasBeenSet = false;
114 bool m_tooltipTargetHasBeenSet = false;
115};
116
117} // namespace Model
118} // namespace QuickSight
119} // namespace Aws
const Aws::String & GetFieldId() const
FieldTooltipItem & WithVisibility(Visibility value)
AWS_QUICKSIGHT_API FieldTooltipItem(Aws::Utils::Json::JsonView jsonValue)
FieldTooltipItem & WithTooltipTarget(TooltipTarget value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API FieldTooltipItem & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldTooltipItem & WithLabel(LabelT &&value)
AWS_QUICKSIGHT_API FieldTooltipItem()=default
void SetTooltipTarget(TooltipTarget value)
FieldTooltipItem & WithFieldId(FieldIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue