AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ComboChartVisual.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/ComboChartConfiguration.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
42 {
43 public:
44 AWS_QUICKSIGHT_API ComboChartVisual();
45 AWS_QUICKSIGHT_API ComboChartVisual(Aws::Utils::Json::JsonView jsonValue);
47 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
48
49
51
56 inline const Aws::String& GetVisualId() const{ return m_visualId; }
57 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
58 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
59 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
60 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
61 inline ComboChartVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
62 inline ComboChartVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
63 inline ComboChartVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
65
67
70 inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; }
71 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
72 inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
73 inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
74 inline ComboChartVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
75 inline ComboChartVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;}
77
79
82 inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; }
83 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
84 inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
85 inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
86 inline ComboChartVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
87 inline ComboChartVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
89
91
94 inline const ComboChartConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
95 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
96 inline void SetChartConfiguration(const ComboChartConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
97 inline void SetChartConfiguration(ComboChartConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
99 inline ComboChartVisual& WithChartConfiguration(ComboChartConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
101
103
106 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
107 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
108 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
109 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
110 inline ComboChartVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
111 inline ComboChartVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
112 inline ComboChartVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
113 inline ComboChartVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
121 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
122 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
123 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
126 inline ComboChartVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
127 inline ComboChartVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
129 private:
130
131 Aws::String m_visualId;
132 bool m_visualIdHasBeenSet = false;
133
135 bool m_titleHasBeenSet = false;
136
138 bool m_subtitleHasBeenSet = false;
139
140 ComboChartConfiguration m_chartConfiguration;
141 bool m_chartConfigurationHasBeenSet = false;
142
144 bool m_actionsHasBeenSet = false;
145
146 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
147 bool m_columnHierarchiesHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace QuickSight
152} // namespace Aws
ComboChartVisual & WithTitle(const VisualTitleLabelOptions &value)
ComboChartVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
ComboChartVisual & AddColumnHierarchies(const ColumnHierarchy &value)
ComboChartVisual & AddActions(VisualCustomAction &&value)
ComboChartVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
ComboChartVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
ComboChartVisual & WithVisualId(const char *value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
ComboChartVisual & WithVisualId(Aws::String &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
void SetChartConfiguration(const ComboChartConfiguration &value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
void SetTitle(VisualTitleLabelOptions &&value)
ComboChartVisual & AddActions(const VisualCustomAction &value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
ComboChartVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
void SetTitle(const VisualTitleLabelOptions &value)
AWS_QUICKSIGHT_API ComboChartVisual(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
const Aws::String & GetVisualId() const
AWS_QUICKSIGHT_API ComboChartVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
ComboChartVisual & WithChartConfiguration(ComboChartConfiguration &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
ComboChartVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
void SetChartConfiguration(ComboChartConfiguration &&value)
ComboChartVisual & WithChartConfiguration(const ComboChartConfiguration &value)
ComboChartVisual & WithVisualId(const Aws::String &value)
ComboChartVisual & AddColumnHierarchies(ColumnHierarchy &&value)
const ComboChartConfiguration & GetChartConfiguration() const
ComboChartVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
void SetVisualId(const Aws::String &value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
const VisualTitleLabelOptions & GetTitle() const
ComboChartVisual & WithTitle(VisualTitleLabelOptions &&value)
const VisualSubtitleLabelOptions & GetSubtitle() const
const Aws::Vector< VisualCustomAction > & GetActions() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue