AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TreeMapVisual.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/quicksight/model/VisualTitleLabelOptions.h>
10#include <aws/quicksight/model/VisualSubtitleLabelOptions.h>
11#include <aws/quicksight/model/TreeMapConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/VisualCustomAction.h>
14#include <aws/quicksight/model/ColumnHierarchy.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace QuickSight
28{
29namespace Model
30{
31
41 {
42 public:
43 AWS_QUICKSIGHT_API TreeMapVisual();
44 AWS_QUICKSIGHT_API TreeMapVisual(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API TreeMapVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
47
48
50
55 inline const Aws::String& GetVisualId() const{ return m_visualId; }
56 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
57 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
58 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
59 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
60 inline TreeMapVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
61 inline TreeMapVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
62 inline TreeMapVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
64
66
69 inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; }
70 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
71 inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
72 inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
73 inline TreeMapVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
74 inline TreeMapVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;}
76
78
81 inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; }
82 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
83 inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
84 inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
85 inline TreeMapVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
86 inline TreeMapVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
88
90
93 inline const TreeMapConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
94 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
95 inline void SetChartConfiguration(const TreeMapConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
96 inline void SetChartConfiguration(TreeMapConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
98 inline TreeMapVisual& WithChartConfiguration(TreeMapConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
100
102
105 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
106 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
107 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
108 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
109 inline TreeMapVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
110 inline TreeMapVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
111 inline TreeMapVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
112 inline TreeMapVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
114
116
119 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
120 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
121 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
122 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
125 inline TreeMapVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
126 inline TreeMapVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
128 private:
129
130 Aws::String m_visualId;
131 bool m_visualIdHasBeenSet = false;
132
134 bool m_titleHasBeenSet = false;
135
137 bool m_subtitleHasBeenSet = false;
138
139 TreeMapConfiguration m_chartConfiguration;
140 bool m_chartConfigurationHasBeenSet = false;
141
143 bool m_actionsHasBeenSet = false;
144
145 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
146 bool m_columnHierarchiesHasBeenSet = false;
147 };
148
149} // namespace Model
150} // namespace QuickSight
151} // namespace Aws
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
void SetVisualId(const char *value)
TreeMapVisual & WithVisualId(Aws::String &&value)
const VisualTitleLabelOptions & GetTitle() const
void SetTitle(const VisualTitleLabelOptions &value)
void SetChartConfiguration(TreeMapConfiguration &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API TreeMapVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
TreeMapVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
TreeMapVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
TreeMapVisual & WithVisualId(const char *value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
TreeMapVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
const TreeMapConfiguration & GetChartConfiguration() const
TreeMapVisual & AddColumnHierarchies(ColumnHierarchy &&value)
const Aws::Vector< VisualCustomAction > & GetActions() const
TreeMapVisual & WithChartConfiguration(const TreeMapConfiguration &value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
TreeMapVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
TreeMapVisual & WithVisualId(const Aws::String &value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
void SetVisualId(const Aws::String &value)
void SetChartConfiguration(const TreeMapConfiguration &value)
TreeMapVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
TreeMapVisual & WithTitle(VisualTitleLabelOptions &&value)
void SetVisualId(Aws::String &&value)
TreeMapVisual & AddColumnHierarchies(const ColumnHierarchy &value)
TreeMapVisual & AddActions(VisualCustomAction &&value)
TreeMapVisual & AddActions(const VisualCustomAction &value)
void SetTitle(VisualTitleLabelOptions &&value)
TreeMapVisual & WithChartConfiguration(TreeMapConfiguration &&value)
const Aws::String & GetVisualId() const
AWS_QUICKSIGHT_API TreeMapVisual(Aws::Utils::Json::JsonView jsonValue)
const VisualSubtitleLabelOptions & GetSubtitle() const
TreeMapVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
TreeMapVisual & WithTitle(const VisualTitleLabelOptions &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue