AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TooltipOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/Visibility.h>
9#include <aws/quicksight/model/SelectedTooltipType.h>
10#include <aws/quicksight/model/FieldBasedTooltip.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 TooltipOptions();
37 AWS_QUICKSIGHT_API TooltipOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API TooltipOptions& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Visibility& GetTooltipVisibility() const{ return m_tooltipVisibility; }
47 inline bool TooltipVisibilityHasBeenSet() const { return m_tooltipVisibilityHasBeenSet; }
48 inline void SetTooltipVisibility(const Visibility& value) { m_tooltipVisibilityHasBeenSet = true; m_tooltipVisibility = value; }
49 inline void SetTooltipVisibility(Visibility&& value) { m_tooltipVisibilityHasBeenSet = true; m_tooltipVisibility = std::move(value); }
50 inline TooltipOptions& WithTooltipVisibility(const Visibility& value) { SetTooltipVisibility(value); return *this;}
51 inline TooltipOptions& WithTooltipVisibility(Visibility&& value) { SetTooltipVisibility(std::move(value)); return *this;}
53
55
60 inline const SelectedTooltipType& GetSelectedTooltipType() const{ return m_selectedTooltipType; }
61 inline bool SelectedTooltipTypeHasBeenSet() const { return m_selectedTooltipTypeHasBeenSet; }
62 inline void SetSelectedTooltipType(const SelectedTooltipType& value) { m_selectedTooltipTypeHasBeenSet = true; m_selectedTooltipType = value; }
63 inline void SetSelectedTooltipType(SelectedTooltipType&& value) { m_selectedTooltipTypeHasBeenSet = true; m_selectedTooltipType = std::move(value); }
65 inline TooltipOptions& WithSelectedTooltipType(SelectedTooltipType&& value) { SetSelectedTooltipType(std::move(value)); return *this;}
67
69
73 inline const FieldBasedTooltip& GetFieldBasedTooltip() const{ return m_fieldBasedTooltip; }
74 inline bool FieldBasedTooltipHasBeenSet() const { return m_fieldBasedTooltipHasBeenSet; }
75 inline void SetFieldBasedTooltip(const FieldBasedTooltip& value) { m_fieldBasedTooltipHasBeenSet = true; m_fieldBasedTooltip = value; }
76 inline void SetFieldBasedTooltip(FieldBasedTooltip&& value) { m_fieldBasedTooltipHasBeenSet = true; m_fieldBasedTooltip = std::move(value); }
77 inline TooltipOptions& WithFieldBasedTooltip(const FieldBasedTooltip& value) { SetFieldBasedTooltip(value); return *this;}
78 inline TooltipOptions& WithFieldBasedTooltip(FieldBasedTooltip&& value) { SetFieldBasedTooltip(std::move(value)); return *this;}
80 private:
81
82 Visibility m_tooltipVisibility;
83 bool m_tooltipVisibilityHasBeenSet = false;
84
85 SelectedTooltipType m_selectedTooltipType;
86 bool m_selectedTooltipTypeHasBeenSet = false;
87
88 FieldBasedTooltip m_fieldBasedTooltip;
89 bool m_fieldBasedTooltipHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace QuickSight
94} // namespace Aws
TooltipOptions & WithSelectedTooltipType(SelectedTooltipType &&value)
TooltipOptions & WithFieldBasedTooltip(FieldBasedTooltip &&value)
TooltipOptions & WithSelectedTooltipType(const SelectedTooltipType &value)
void SetFieldBasedTooltip(const FieldBasedTooltip &value)
AWS_QUICKSIGHT_API TooltipOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API TooltipOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
const Visibility & GetTooltipVisibility() const
void SetSelectedTooltipType(const SelectedTooltipType &value)
TooltipOptions & WithTooltipVisibility(Visibility &&value)
void SetFieldBasedTooltip(FieldBasedTooltip &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const SelectedTooltipType & GetSelectedTooltipType() const
void SetSelectedTooltipType(SelectedTooltipType &&value)
void SetTooltipVisibility(const Visibility &value)
const FieldBasedTooltip & GetFieldBasedTooltip() const
TooltipOptions & WithTooltipVisibility(const Visibility &value)
TooltipOptions & WithFieldBasedTooltip(const FieldBasedTooltip &value)
void SetTooltipVisibility(Visibility &&value)
Aws::Utils::Json::JsonValue JsonValue