AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ScatterPlotVisual.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/ScatterPlotConfiguration.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 ScatterPlotVisual();
44 AWS_QUICKSIGHT_API ScatterPlotVisual(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 ScatterPlotVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
61 inline ScatterPlotVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
62 inline ScatterPlotVisual& 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 ScatterPlotVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
74 inline ScatterPlotVisual& 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 ScatterPlotVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
86 inline ScatterPlotVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
88
90
93 inline const ScatterPlotConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
94 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
95 inline void SetChartConfiguration(const ScatterPlotConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
96 inline void SetChartConfiguration(ScatterPlotConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
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 ScatterPlotVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
110 inline ScatterPlotVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
111 inline ScatterPlotVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
112 inline ScatterPlotVisual& 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 ScatterPlotVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
126 inline ScatterPlotVisual& 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 ScatterPlotConfiguration 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
const Aws::Vector< VisualCustomAction > & GetActions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(Aws::Vector< VisualCustomAction > &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
ScatterPlotVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
ScatterPlotVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
ScatterPlotVisual & AddActions(VisualCustomAction &&value)
void SetVisualId(const Aws::String &value)
const ScatterPlotConfiguration & GetChartConfiguration() const
void SetChartConfiguration(const ScatterPlotConfiguration &value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
ScatterPlotVisual & WithChartConfiguration(ScatterPlotConfiguration &&value)
const VisualTitleLabelOptions & GetTitle() const
ScatterPlotVisual & WithTitle(const VisualTitleLabelOptions &value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
ScatterPlotVisual & AddColumnHierarchies(const ColumnHierarchy &value)
ScatterPlotVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
AWS_QUICKSIGHT_API ScatterPlotVisual(Aws::Utils::Json::JsonView jsonValue)
ScatterPlotVisual & WithVisualId(const Aws::String &value)
ScatterPlotVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
ScatterPlotVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
ScatterPlotVisual & AddActions(const VisualCustomAction &value)
void SetTitle(const VisualTitleLabelOptions &value)
void SetTitle(VisualTitleLabelOptions &&value)
ScatterPlotVisual & AddColumnHierarchies(ColumnHierarchy &&value)
ScatterPlotVisual & WithChartConfiguration(const ScatterPlotConfiguration &value)
ScatterPlotVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
ScatterPlotVisual & WithVisualId(Aws::String &&value)
ScatterPlotVisual & WithTitle(VisualTitleLabelOptions &&value)
ScatterPlotVisual & WithVisualId(const char *value)
AWS_QUICKSIGHT_API ScatterPlotVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
const VisualSubtitleLabelOptions & GetSubtitle() const
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
void SetChartConfiguration(ScatterPlotConfiguration &&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