AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PivotTableVisual.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/PivotTableConfiguration.h>
12#include <aws/quicksight/model/PivotTableConditionalFormatting.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 PivotTableVisual();
44 AWS_QUICKSIGHT_API PivotTableVisual(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 PivotTableVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
61 inline PivotTableVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
62 inline PivotTableVisual& 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 PivotTableVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
74 inline PivotTableVisual& 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 PivotTableVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
86 inline PivotTableVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
88
90
93 inline const PivotTableConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
94 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
95 inline void SetChartConfiguration(const PivotTableConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
96 inline void SetChartConfiguration(PivotTableConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
98 inline PivotTableVisual& WithChartConfiguration(PivotTableConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
100
102
105 inline const PivotTableConditionalFormatting& GetConditionalFormatting() const{ return m_conditionalFormatting; }
106 inline bool ConditionalFormattingHasBeenSet() const { return m_conditionalFormattingHasBeenSet; }
107 inline void SetConditionalFormatting(const PivotTableConditionalFormatting& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = value; }
108 inline void SetConditionalFormatting(PivotTableConditionalFormatting&& 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 PivotTableVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
122 inline PivotTableVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
123 inline PivotTableVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
124 inline PivotTableVisual& 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 PivotTableConfiguration m_chartConfiguration;
138 bool m_chartConfigurationHasBeenSet = false;
139
140 PivotTableConditionalFormatting m_conditionalFormatting;
141 bool m_conditionalFormattingHasBeenSet = false;
142
144 bool m_actionsHasBeenSet = false;
145 };
146
147} // namespace Model
148} // namespace QuickSight
149} // namespace Aws
PivotTableVisual & AddActions(VisualCustomAction &&value)
const VisualTitleLabelOptions & GetTitle() const
const PivotTableConfiguration & GetChartConfiguration() const
PivotTableVisual & WithVisualId(Aws::String &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
const PivotTableConditionalFormatting & GetConditionalFormatting() const
void SetConditionalFormatting(const PivotTableConditionalFormatting &value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
const Aws::Vector< VisualCustomAction > & GetActions() const
const Aws::String & GetVisualId() const
PivotTableVisual & WithChartConfiguration(PivotTableConfiguration &&value)
AWS_QUICKSIGHT_API PivotTableVisual(Aws::Utils::Json::JsonView jsonValue)
void SetChartConfiguration(const PivotTableConfiguration &value)
void SetTitle(const VisualTitleLabelOptions &value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSubtitle(VisualSubtitleLabelOptions &&value)
void SetTitle(VisualTitleLabelOptions &&value)
PivotTableVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
PivotTableVisual & WithVisualId(const Aws::String &value)
void SetConditionalFormatting(PivotTableConditionalFormatting &&value)
PivotTableVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
PivotTableVisual & WithTitle(VisualTitleLabelOptions &&value)
PivotTableVisual & WithChartConfiguration(const PivotTableConfiguration &value)
PivotTableVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
PivotTableVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
const VisualSubtitleLabelOptions & GetSubtitle() const
PivotTableVisual & WithVisualId(const char *value)
PivotTableVisual & AddActions(const VisualCustomAction &value)
PivotTableVisual & WithTitle(const VisualTitleLabelOptions &value)
PivotTableVisual & WithConditionalFormatting(PivotTableConditionalFormatting &&value)
void SetChartConfiguration(PivotTableConfiguration &&value)
void SetVisualId(const Aws::String &value)
PivotTableVisual & WithConditionalFormatting(const PivotTableConditionalFormatting &value)
AWS_QUICKSIGHT_API PivotTableVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue