AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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