AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
ColumnTooltipItem.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/AggregationFunction.h>
10#include <aws/quicksight/model/ColumnIdentifier.h>
11#include <aws/quicksight/model/TooltipTarget.h>
12#include <aws/quicksight/model/Visibility.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace QuickSight {
24namespace Model {
25
33 public:
34 AWS_QUICKSIGHT_API ColumnTooltipItem() = default;
35 AWS_QUICKSIGHT_API ColumnTooltipItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
38
40
43 inline const ColumnIdentifier& GetColumn() const { return m_column; }
44 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
45 template <typename ColumnT = ColumnIdentifier>
46 void SetColumn(ColumnT&& value) {
47 m_columnHasBeenSet = true;
48 m_column = std::forward<ColumnT>(value);
49 }
50 template <typename ColumnT = ColumnIdentifier>
51 ColumnTooltipItem& WithColumn(ColumnT&& value) {
52 SetColumn(std::forward<ColumnT>(value));
53 return *this;
54 }
56
58
61 inline const Aws::String& GetLabel() const { return m_label; }
62 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
63 template <typename LabelT = Aws::String>
64 void SetLabel(LabelT&& value) {
65 m_labelHasBeenSet = true;
66 m_label = std::forward<LabelT>(value);
67 }
68 template <typename LabelT = Aws::String>
69 ColumnTooltipItem& WithLabel(LabelT&& value) {
70 SetLabel(std::forward<LabelT>(value));
71 return *this;
72 }
74
76
79 inline Visibility GetVisibility() const { return m_visibility; }
80 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
81 inline void SetVisibility(Visibility value) {
82 m_visibilityHasBeenSet = true;
83 m_visibility = value;
84 }
86 SetVisibility(value);
87 return *this;
88 }
90
92
95 inline const AggregationFunction& GetAggregation() const { return m_aggregation; }
96 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
97 template <typename AggregationT = AggregationFunction>
98 void SetAggregation(AggregationT&& value) {
99 m_aggregationHasBeenSet = true;
100 m_aggregation = std::forward<AggregationT>(value);
101 }
102 template <typename AggregationT = AggregationFunction>
103 ColumnTooltipItem& WithAggregation(AggregationT&& value) {
104 SetAggregation(std::forward<AggregationT>(value));
105 return *this;
106 }
108
110
113 inline TooltipTarget GetTooltipTarget() const { return m_tooltipTarget; }
114 inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; }
115 inline void SetTooltipTarget(TooltipTarget value) {
116 m_tooltipTargetHasBeenSet = true;
117 m_tooltipTarget = value;
118 }
120 SetTooltipTarget(value);
121 return *this;
122 }
124 private:
125 ColumnIdentifier m_column;
126
127 Aws::String m_label;
128
129 Visibility m_visibility{Visibility::NOT_SET};
130
131 AggregationFunction m_aggregation;
132
133 TooltipTarget m_tooltipTarget{TooltipTarget::NOT_SET};
134 bool m_columnHasBeenSet = false;
135 bool m_labelHasBeenSet = false;
136 bool m_visibilityHasBeenSet = false;
137 bool m_aggregationHasBeenSet = false;
138 bool m_tooltipTargetHasBeenSet = false;
139};
140
141} // namespace Model
142} // namespace QuickSight
143} // namespace Aws
ColumnTooltipItem & WithColumn(ColumnT &&value)
ColumnTooltipItem & WithLabel(LabelT &&value)
AWS_QUICKSIGHT_API ColumnTooltipItem(Aws::Utils::Json::JsonView jsonValue)
ColumnTooltipItem & WithTooltipTarget(TooltipTarget value)
AWS_QUICKSIGHT_API ColumnTooltipItem()=default
const AggregationFunction & GetAggregation() const
const ColumnIdentifier & GetColumn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ColumnTooltipItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnTooltipItem & WithAggregation(AggregationT &&value)
ColumnTooltipItem & WithVisibility(Visibility value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue