AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ColumnTooltipItem.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ColumnIdentifier.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/quicksight/model/Visibility.h>
11#include <aws/quicksight/model/AggregationFunction.h>
12#include <aws/quicksight/model/TooltipTarget.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace QuickSight
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_QUICKSIGHT_API ColumnTooltipItem() = default;
40 AWS_QUICKSIGHT_API ColumnTooltipItem(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const ColumnIdentifier& GetColumn() const { return m_column; }
50 inline bool ColumnHasBeenSet() const { return m_columnHasBeenSet; }
51 template<typename ColumnT = ColumnIdentifier>
52 void SetColumn(ColumnT&& value) { m_columnHasBeenSet = true; m_column = std::forward<ColumnT>(value); }
53 template<typename ColumnT = ColumnIdentifier>
54 ColumnTooltipItem& WithColumn(ColumnT&& value) { SetColumn(std::forward<ColumnT>(value)); return *this;}
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) { m_labelHasBeenSet = true; m_label = std::forward<LabelT>(value); }
65 template<typename LabelT = Aws::String>
66 ColumnTooltipItem& WithLabel(LabelT&& value) { SetLabel(std::forward<LabelT>(value)); return *this;}
68
70
73 inline Visibility GetVisibility() const { return m_visibility; }
74 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
75 inline void SetVisibility(Visibility value) { m_visibilityHasBeenSet = true; m_visibility = value; }
76 inline ColumnTooltipItem& WithVisibility(Visibility value) { SetVisibility(value); return *this;}
78
80
83 inline const AggregationFunction& GetAggregation() const { return m_aggregation; }
84 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
85 template<typename AggregationT = AggregationFunction>
86 void SetAggregation(AggregationT&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::forward<AggregationT>(value); }
87 template<typename AggregationT = AggregationFunction>
88 ColumnTooltipItem& WithAggregation(AggregationT&& value) { SetAggregation(std::forward<AggregationT>(value)); return *this;}
90
92
95 inline TooltipTarget GetTooltipTarget() const { return m_tooltipTarget; }
96 inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; }
97 inline void SetTooltipTarget(TooltipTarget value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = value; }
98 inline ColumnTooltipItem& WithTooltipTarget(TooltipTarget value) { SetTooltipTarget(value); return *this;}
100 private:
101
102 ColumnIdentifier m_column;
103 bool m_columnHasBeenSet = false;
104
105 Aws::String m_label;
106 bool m_labelHasBeenSet = false;
107
108 Visibility m_visibility{Visibility::NOT_SET};
109 bool m_visibilityHasBeenSet = false;
110
111 AggregationFunction m_aggregation;
112 bool m_aggregationHasBeenSet = false;
113
114 TooltipTarget m_tooltipTarget{TooltipTarget::NOT_SET};
115 bool m_tooltipTargetHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace QuickSight
120} // 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