AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetColumn(const ColumnIdentifier& value) { m_columnHasBeenSet = true; m_column = value; }
52 inline void SetColumn(ColumnIdentifier&& value) { m_columnHasBeenSet = true; m_column = std::move(value); }
53 inline ColumnTooltipItem& WithColumn(const ColumnIdentifier& value) { SetColumn(value); return *this;}
54 inline ColumnTooltipItem& WithColumn(ColumnIdentifier&& value) { SetColumn(std::move(value)); return *this;}
56
58
61 inline const Aws::String& GetLabel() const{ return m_label; }
62 inline bool LabelHasBeenSet() const { return m_labelHasBeenSet; }
63 inline void SetLabel(const Aws::String& value) { m_labelHasBeenSet = true; m_label = value; }
64 inline void SetLabel(Aws::String&& value) { m_labelHasBeenSet = true; m_label = std::move(value); }
65 inline void SetLabel(const char* value) { m_labelHasBeenSet = true; m_label.assign(value); }
66 inline ColumnTooltipItem& WithLabel(const Aws::String& value) { SetLabel(value); return *this;}
67 inline ColumnTooltipItem& WithLabel(Aws::String&& value) { SetLabel(std::move(value)); return *this;}
68 inline ColumnTooltipItem& WithLabel(const char* value) { SetLabel(value); return *this;}
70
72
75 inline const Visibility& GetVisibility() const{ return m_visibility; }
76 inline bool VisibilityHasBeenSet() const { return m_visibilityHasBeenSet; }
77 inline void SetVisibility(const Visibility& value) { m_visibilityHasBeenSet = true; m_visibility = value; }
78 inline void SetVisibility(Visibility&& value) { m_visibilityHasBeenSet = true; m_visibility = std::move(value); }
79 inline ColumnTooltipItem& WithVisibility(const Visibility& value) { SetVisibility(value); return *this;}
80 inline ColumnTooltipItem& WithVisibility(Visibility&& value) { SetVisibility(std::move(value)); return *this;}
82
84
87 inline const AggregationFunction& GetAggregation() const{ return m_aggregation; }
88 inline bool AggregationHasBeenSet() const { return m_aggregationHasBeenSet; }
89 inline void SetAggregation(const AggregationFunction& value) { m_aggregationHasBeenSet = true; m_aggregation = value; }
90 inline void SetAggregation(AggregationFunction&& value) { m_aggregationHasBeenSet = true; m_aggregation = std::move(value); }
91 inline ColumnTooltipItem& WithAggregation(const AggregationFunction& value) { SetAggregation(value); return *this;}
92 inline ColumnTooltipItem& WithAggregation(AggregationFunction&& value) { SetAggregation(std::move(value)); return *this;}
94
96
99 inline const TooltipTarget& GetTooltipTarget() const{ return m_tooltipTarget; }
100 inline bool TooltipTargetHasBeenSet() const { return m_tooltipTargetHasBeenSet; }
101 inline void SetTooltipTarget(const TooltipTarget& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = value; }
102 inline void SetTooltipTarget(TooltipTarget&& value) { m_tooltipTargetHasBeenSet = true; m_tooltipTarget = std::move(value); }
103 inline ColumnTooltipItem& WithTooltipTarget(const TooltipTarget& value) { SetTooltipTarget(value); return *this;}
104 inline ColumnTooltipItem& WithTooltipTarget(TooltipTarget&& value) { SetTooltipTarget(std::move(value)); return *this;}
106 private:
107
108 ColumnIdentifier m_column;
109 bool m_columnHasBeenSet = false;
110
111 Aws::String m_label;
112 bool m_labelHasBeenSet = false;
113
114 Visibility m_visibility;
115 bool m_visibilityHasBeenSet = false;
116
117 AggregationFunction m_aggregation;
118 bool m_aggregationHasBeenSet = false;
119
120 TooltipTarget m_tooltipTarget;
121 bool m_tooltipTargetHasBeenSet = false;
122 };
123
124} // namespace Model
125} // namespace QuickSight
126} // namespace Aws
void SetVisibility(const Visibility &value)
ColumnTooltipItem & WithLabel(const char *value)
void SetLabel(const Aws::String &value)
void SetAggregation(const AggregationFunction &value)
void SetColumn(const ColumnIdentifier &value)
AWS_QUICKSIGHT_API ColumnTooltipItem(Aws::Utils::Json::JsonView jsonValue)
ColumnTooltipItem & WithColumn(const ColumnIdentifier &value)
ColumnTooltipItem & WithAggregation(const AggregationFunction &value)
ColumnTooltipItem & WithTooltipTarget(const TooltipTarget &value)
void SetTooltipTarget(const TooltipTarget &value)
const AggregationFunction & GetAggregation() const
const TooltipTarget & GetTooltipTarget() const
ColumnTooltipItem & WithColumn(ColumnIdentifier &&value)
ColumnTooltipItem & WithVisibility(Visibility &&value)
ColumnTooltipItem & WithLabel(const Aws::String &value)
const ColumnIdentifier & GetColumn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumn(ColumnIdentifier &&value)
AWS_QUICKSIGHT_API ColumnTooltipItem & operator=(Aws::Utils::Json::JsonView jsonValue)
ColumnTooltipItem & WithAggregation(AggregationFunction &&value)
ColumnTooltipItem & WithVisibility(const Visibility &value)
void SetAggregation(AggregationFunction &&value)
ColumnTooltipItem & WithTooltipTarget(TooltipTarget &&value)
void SetTooltipTarget(TooltipTarget &&value)
ColumnTooltipItem & WithLabel(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue