AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PieChartVisual.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/PieChartConfiguration.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
48 {
49 public:
50 AWS_QUICKSIGHT_API PieChartVisual();
51 AWS_QUICKSIGHT_API PieChartVisual(Aws::Utils::Json::JsonView jsonValue);
52 AWS_QUICKSIGHT_API PieChartVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
53 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
54
55
57
62 inline const Aws::String& GetVisualId() const{ return m_visualId; }
63 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
64 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
65 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
66 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
67 inline PieChartVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
68 inline PieChartVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
69 inline PieChartVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
71
73
76 inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; }
77 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
78 inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
79 inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
80 inline PieChartVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
81 inline PieChartVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;}
83
85
88 inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; }
89 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
90 inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
91 inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
92 inline PieChartVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
93 inline PieChartVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
95
97
100 inline const PieChartConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
101 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
102 inline void SetChartConfiguration(const PieChartConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
103 inline void SetChartConfiguration(PieChartConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
105 inline PieChartVisual& WithChartConfiguration(PieChartConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
107
109
112 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
113 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
114 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
115 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
116 inline PieChartVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
117 inline PieChartVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
118 inline PieChartVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
119 inline PieChartVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
121
123
126 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
127 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
128 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
129 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
132 inline PieChartVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
133 inline PieChartVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
135 private:
136
137 Aws::String m_visualId;
138 bool m_visualIdHasBeenSet = false;
139
141 bool m_titleHasBeenSet = false;
142
144 bool m_subtitleHasBeenSet = false;
145
146 PieChartConfiguration m_chartConfiguration;
147 bool m_chartConfigurationHasBeenSet = false;
148
150 bool m_actionsHasBeenSet = false;
151
152 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
153 bool m_columnHierarchiesHasBeenSet = false;
154 };
155
156} // namespace Model
157} // namespace QuickSight
158} // namespace Aws
void SetTitle(VisualTitleLabelOptions &&value)
PieChartVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
PieChartVisual & WithChartConfiguration(const PieChartConfiguration &value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
PieChartVisual & WithChartConfiguration(PieChartConfiguration &&value)
PieChartVisual & WithTitle(VisualTitleLabelOptions &&value)
AWS_QUICKSIGHT_API PieChartVisual(Aws::Utils::Json::JsonView jsonValue)
PieChartVisual & AddActions(const VisualCustomAction &value)
PieChartVisual & WithVisualId(Aws::String &&value)
PieChartVisual & WithVisualId(const Aws::String &value)
PieChartVisual & AddColumnHierarchies(const ColumnHierarchy &value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Vector< VisualCustomAction > & GetActions() const
void SetActions(Aws::Vector< VisualCustomAction > &&value)
PieChartVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
PieChartVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
PieChartVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
const Aws::String & GetVisualId() const
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
AWS_QUICKSIGHT_API PieChartVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
PieChartVisual & AddColumnHierarchies(ColumnHierarchy &&value)
PieChartVisual & WithTitle(const VisualTitleLabelOptions &value)
const VisualTitleLabelOptions & GetTitle() const
const VisualSubtitleLabelOptions & GetSubtitle() const
void SetChartConfiguration(const PieChartConfiguration &value)
PieChartVisual & WithVisualId(const char *value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
PieChartVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
PieChartVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
void SetVisualId(Aws::String &&value)
void SetVisualId(const Aws::String &value)
void SetChartConfiguration(PieChartConfiguration &&value)
PieChartVisual & AddActions(VisualCustomAction &&value)
const PieChartConfiguration & GetChartConfiguration() const
void SetTitle(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