AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FieldBasedTooltip.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/TooltipTitleType.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/quicksight/model/TooltipItem.h>
12#include <utility>
13
14namespace Aws
15{
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21 class JsonView;
22} // namespace Json
23} // namespace Utils
24namespace QuickSight
25{
26namespace Model
27{
28
35 {
36 public:
37 AWS_QUICKSIGHT_API FieldBasedTooltip();
38 AWS_QUICKSIGHT_API FieldBasedTooltip(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Visibility& GetAggregationVisibility() const{ return m_aggregationVisibility; }
48 inline bool AggregationVisibilityHasBeenSet() const { return m_aggregationVisibilityHasBeenSet; }
49 inline void SetAggregationVisibility(const Visibility& value) { m_aggregationVisibilityHasBeenSet = true; m_aggregationVisibility = value; }
50 inline void SetAggregationVisibility(Visibility&& value) { m_aggregationVisibilityHasBeenSet = true; m_aggregationVisibility = std::move(value); }
52 inline FieldBasedTooltip& WithAggregationVisibility(Visibility&& value) { SetAggregationVisibility(std::move(value)); return *this;}
54
56
62 inline const TooltipTitleType& GetTooltipTitleType() const{ return m_tooltipTitleType; }
63 inline bool TooltipTitleTypeHasBeenSet() const { return m_tooltipTitleTypeHasBeenSet; }
64 inline void SetTooltipTitleType(const TooltipTitleType& value) { m_tooltipTitleTypeHasBeenSet = true; m_tooltipTitleType = value; }
65 inline void SetTooltipTitleType(TooltipTitleType&& value) { m_tooltipTitleTypeHasBeenSet = true; m_tooltipTitleType = std::move(value); }
66 inline FieldBasedTooltip& WithTooltipTitleType(const TooltipTitleType& value) { SetTooltipTitleType(value); return *this;}
67 inline FieldBasedTooltip& WithTooltipTitleType(TooltipTitleType&& value) { SetTooltipTitleType(std::move(value)); return *this;}
69
71
74 inline const Aws::Vector<TooltipItem>& GetTooltipFields() const{ return m_tooltipFields; }
75 inline bool TooltipFieldsHasBeenSet() const { return m_tooltipFieldsHasBeenSet; }
76 inline void SetTooltipFields(const Aws::Vector<TooltipItem>& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields = value; }
77 inline void SetTooltipFields(Aws::Vector<TooltipItem>&& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields = std::move(value); }
79 inline FieldBasedTooltip& WithTooltipFields(Aws::Vector<TooltipItem>&& value) { SetTooltipFields(std::move(value)); return *this;}
80 inline FieldBasedTooltip& AddTooltipFields(const TooltipItem& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields.push_back(value); return *this; }
81 inline FieldBasedTooltip& AddTooltipFields(TooltipItem&& value) { m_tooltipFieldsHasBeenSet = true; m_tooltipFields.push_back(std::move(value)); return *this; }
83 private:
84
85 Visibility m_aggregationVisibility;
86 bool m_aggregationVisibilityHasBeenSet = false;
87
88 TooltipTitleType m_tooltipTitleType;
89 bool m_tooltipTitleTypeHasBeenSet = false;
90
91 Aws::Vector<TooltipItem> m_tooltipFields;
92 bool m_tooltipFieldsHasBeenSet = false;
93 };
94
95} // namespace Model
96} // namespace QuickSight
97} // namespace Aws
FieldBasedTooltip & AddTooltipFields(const TooltipItem &value)
FieldBasedTooltip & WithTooltipFields(const Aws::Vector< TooltipItem > &value)
void SetTooltipTitleType(TooltipTitleType &&value)
AWS_QUICKSIGHT_API FieldBasedTooltip & operator=(Aws::Utils::Json::JsonView jsonValue)
FieldBasedTooltip & WithAggregationVisibility(const Visibility &value)
FieldBasedTooltip & WithTooltipTitleType(TooltipTitleType &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FieldBasedTooltip & WithTooltipFields(Aws::Vector< TooltipItem > &&value)
FieldBasedTooltip & AddTooltipFields(TooltipItem &&value)
void SetTooltipFields(const Aws::Vector< TooltipItem > &value)
AWS_QUICKSIGHT_API FieldBasedTooltip(Aws::Utils::Json::JsonView jsonValue)
void SetTooltipTitleType(const TooltipTitleType &value)
void SetTooltipFields(Aws::Vector< TooltipItem > &&value)
FieldBasedTooltip & WithTooltipTitleType(const TooltipTitleType &value)
void SetAggregationVisibility(Visibility &&value)
FieldBasedTooltip & WithAggregationVisibility(Visibility &&value)
const TooltipTitleType & GetTooltipTitleType() const
const Aws::Vector< TooltipItem > & GetTooltipFields() const
void SetAggregationVisibility(const Visibility &value)
const Visibility & GetAggregationVisibility() const
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue