AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BarChartVisual.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/BarChartConfiguration.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
47 {
48 public:
49 AWS_QUICKSIGHT_API BarChartVisual();
50 AWS_QUICKSIGHT_API BarChartVisual(Aws::Utils::Json::JsonView jsonValue);
51 AWS_QUICKSIGHT_API BarChartVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
52 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
61 inline const Aws::String& GetVisualId() const{ return m_visualId; }
62 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
63 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
64 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
65 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
66 inline BarChartVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
67 inline BarChartVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
68 inline BarChartVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
70
72
75 inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; }
76 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
77 inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
78 inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
79 inline BarChartVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
80 inline BarChartVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;}
82
84
87 inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; }
88 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
89 inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
90 inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
91 inline BarChartVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
92 inline BarChartVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
94
96
99 inline const BarChartConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
100 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
101 inline void SetChartConfiguration(const BarChartConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
102 inline void SetChartConfiguration(BarChartConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
104 inline BarChartVisual& WithChartConfiguration(BarChartConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
106
108
111 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
112 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
113 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
114 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
115 inline BarChartVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
116 inline BarChartVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
117 inline BarChartVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
118 inline BarChartVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
120
122
125 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
126 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
127 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
128 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
131 inline BarChartVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
132 inline BarChartVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
134 private:
135
136 Aws::String m_visualId;
137 bool m_visualIdHasBeenSet = false;
138
140 bool m_titleHasBeenSet = false;
141
143 bool m_subtitleHasBeenSet = false;
144
145 BarChartConfiguration m_chartConfiguration;
146 bool m_chartConfigurationHasBeenSet = false;
147
149 bool m_actionsHasBeenSet = false;
150
151 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
152 bool m_columnHierarchiesHasBeenSet = false;
153 };
154
155} // namespace Model
156} // namespace QuickSight
157} // namespace Aws
void SetChartConfiguration(const BarChartConfiguration &value)
BarChartVisual & AddActions(const VisualCustomAction &value)
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
BarChartVisual & WithVisualId(const Aws::String &value)
BarChartVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
AWS_QUICKSIGHT_API BarChartVisual(Aws::Utils::Json::JsonView jsonValue)
BarChartVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
const BarChartConfiguration & GetChartConfiguration() const
BarChartVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
BarChartVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
BarChartVisual & WithTitle(const VisualTitleLabelOptions &value)
void SetChartConfiguration(BarChartConfiguration &&value)
void SetVisualId(const Aws::String &value)
BarChartVisual & WithChartConfiguration(BarChartConfiguration &&value)
void SetTitle(VisualTitleLabelOptions &&value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
const VisualSubtitleLabelOptions & GetSubtitle() const
void SetSubtitle(VisualSubtitleLabelOptions &&value)
BarChartVisual & AddColumnHierarchies(ColumnHierarchy &&value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
const Aws::Vector< VisualCustomAction > & GetActions() const
const VisualTitleLabelOptions & GetTitle() const
const Aws::String & GetVisualId() const
BarChartVisual & AddColumnHierarchies(const ColumnHierarchy &value)
BarChartVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
void SetTitle(const VisualTitleLabelOptions &value)
BarChartVisual & WithVisualId(Aws::String &&value)
BarChartVisual & WithChartConfiguration(const BarChartConfiguration &value)
AWS_QUICKSIGHT_API BarChartVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
BarChartVisual & WithVisualId(const char *value)
BarChartVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
BarChartVisual & AddActions(VisualCustomAction &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
BarChartVisual & WithTitle(VisualTitleLabelOptions &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
void SetVisualId(Aws::String &&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