AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TableVisual.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/TableConfiguration.h>
12#include <aws/quicksight/model/TableConditionalFormatting.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/VisualCustomAction.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 TableVisual();
44 AWS_QUICKSIGHT_API TableVisual(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API TableVisual& operator=(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 TableVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
61 inline TableVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
62 inline TableVisual& 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 TableVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
74 inline TableVisual& 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 TableVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
86 inline TableVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
88
90
93 inline const TableConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
94 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
95 inline void SetChartConfiguration(const TableConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
96 inline void SetChartConfiguration(TableConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
97 inline TableVisual& WithChartConfiguration(const TableConfiguration& value) { SetChartConfiguration(value); return *this;}
98 inline TableVisual& WithChartConfiguration(TableConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
100
102
105 inline const TableConditionalFormatting& GetConditionalFormatting() const{ return m_conditionalFormatting; }
106 inline bool ConditionalFormattingHasBeenSet() const { return m_conditionalFormattingHasBeenSet; }
107 inline void SetConditionalFormatting(const TableConditionalFormatting& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = value; }
108 inline void SetConditionalFormatting(TableConditionalFormatting&& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = std::move(value); }
112
114
117 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
118 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
119 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
120 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
121 inline TableVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
122 inline TableVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
123 inline TableVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
124 inline TableVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
126 private:
127
128 Aws::String m_visualId;
129 bool m_visualIdHasBeenSet = false;
130
132 bool m_titleHasBeenSet = false;
133
135 bool m_subtitleHasBeenSet = false;
136
137 TableConfiguration m_chartConfiguration;
138 bool m_chartConfigurationHasBeenSet = false;
139
140 TableConditionalFormatting m_conditionalFormatting;
141 bool m_conditionalFormattingHasBeenSet = false;
142
144 bool m_actionsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace QuickSight
149} // namespace Aws
void SetTitle(const VisualTitleLabelOptions &value)
Definition TableVisual.h:71
TableVisual & WithTitle(VisualTitleLabelOptions &&value)
Definition TableVisual.h:74
TableVisual & WithVisualId(const Aws::String &value)
Definition TableVisual.h:60
TableVisual & WithTitle(const VisualTitleLabelOptions &value)
Definition TableVisual.h:73
const Aws::String & GetVisualId() const
Definition TableVisual.h:55
void SetActions(const Aws::Vector< VisualCustomAction > &value)
TableVisual & WithConditionalFormatting(TableConditionalFormatting &&value)
const VisualSubtitleLabelOptions & GetSubtitle() const
Definition TableVisual.h:81
void SetSubtitle(VisualSubtitleLabelOptions &&value)
Definition TableVisual.h:84
const TableConditionalFormatting & GetConditionalFormatting() const
void SetChartConfiguration(TableConfiguration &&value)
Definition TableVisual.h:96
TableVisual & AddActions(VisualCustomAction &&value)
const VisualTitleLabelOptions & GetTitle() const
Definition TableVisual.h:69
TableVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
void SetTitle(VisualTitleLabelOptions &&value)
Definition TableVisual.h:72
TableVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
TableVisual & WithVisualId(const char *value)
Definition TableVisual.h:62
TableVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
Definition TableVisual.h:86
TableVisual & AddActions(const VisualCustomAction &value)
TableVisual & WithConditionalFormatting(const TableConditionalFormatting &value)
void SetVisualId(const Aws::String &value)
Definition TableVisual.h:57
AWS_QUICKSIGHT_API TableVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
TableVisual & WithChartConfiguration(TableConfiguration &&value)
Definition TableVisual.h:98
void SetVisualId(const char *value)
Definition TableVisual.h:59
void SetChartConfiguration(const TableConfiguration &value)
Definition TableVisual.h:95
AWS_QUICKSIGHT_API TableVisual(Aws::Utils::Json::JsonView jsonValue)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
Definition TableVisual.h:83
AWS_QUICKSIGHT_API TableVisual()
void SetConditionalFormatting(const TableConditionalFormatting &value)
TableVisual & WithChartConfiguration(const TableConfiguration &value)
Definition TableVisual.h:97
void SetActions(Aws::Vector< VisualCustomAction > &&value)
void SetConditionalFormatting(TableConditionalFormatting &&value)
TableVisual & WithVisualId(Aws::String &&value)
Definition TableVisual.h:61
const Aws::Vector< VisualCustomAction > & GetActions() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const TableConfiguration & GetChartConfiguration() const
Definition TableVisual.h:93
void SetVisualId(Aws::String &&value)
Definition TableVisual.h:58
TableVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
Definition TableVisual.h:85
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue