AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
FieldTooltipItem.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/Visibility.h>
10#include <aws/quicksight/model/TooltipTarget.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 FieldTooltipItem() = default;
37 AWS_QUICKSIGHT_API FieldTooltipItem(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetFieldId() const { return m_fieldId; }
47 inline bool FieldIdHasBeenSet() const { return m_fieldIdHasBeenSet; }
48 template<typename FieldIdT = Aws::String>
49 void SetFieldId(FieldIdT&& value) { m_fieldIdHasBeenSet = true; m_fieldId = std::forward<FieldIdT>(value); }
50 template<typename FieldIdT = Aws::String>
51 FieldTooltipItem& WithFieldId(FieldIdT&& value) { SetFieldId(std::forward<FieldIdT>(value)); return *this;}
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) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
62 template<typename LabelT = Aws::String>
63 FieldTooltipItem& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
65
67
70 inline Visibility GetVisibility() const { return m_visibility; }
71 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
72 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
73 inline FieldTooltipItem& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
75
77
80 inline TooltipTarget GetTooltipTarget() const { return m_tooltipTarget; }
81 inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; }
82 inline void SetTooltipTarget(TooltipTarget value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = value; }
83 inline FieldTooltipItem& WithTooltipTarget(TooltipTarget value) { SetTooltipTarget(value); return *this;}
85 private:
86
87 Aws::String m_fieldId;
88 bool m_fieldIdHasBeenSet = false;
89
90 Aws::String m_label;
91 bool m_labelHasBeenSet = false;
92
93 Visibility m_visibility{Visibility::NOT_SET};
94 bool m_visibilityHasBeenSet = false;
95
97 bool m_tooltipTargetHasBeenSet = false;
98 };
99
100} // namespace Model
101} // namespace QuickSight
102} // 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