AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
KPIVisual.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/KPIConfiguration.h>
12#include <aws/quicksight/model/KPIConditionalFormatting.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/VisualCustomAction.h>
15#include <aws/quicksight/model/ColumnHierarchy.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace QuickSight
29{
30namespace Model
31{
32
42 {
43 public:
44 AWS_QUICKSIGHT_API KPIVisual();
45 AWS_QUICKSIGHT_API KPIVisual(Aws::Utils::Json::JsonView jsonValue);
46 AWS_QUICKSIGHT_API KPIVisual& operator=(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 KPIVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
62 inline KPIVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
63 inline KPIVisual& 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 KPIVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
75 inline KPIVisual& 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 KPIVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
87 inline KPIVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
89
91
94 inline const KPIConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
95 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
96 inline void SetChartConfiguration(const KPIConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
97 inline void SetChartConfiguration(KPIConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
98 inline KPIVisual& WithChartConfiguration(const KPIConfiguration& value) { SetChartConfiguration(value); return *this;}
99 inline KPIVisual& WithChartConfiguration(KPIConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
101
103
106 inline const KPIConditionalFormatting& GetConditionalFormatting() const{ return m_conditionalFormatting; }
107 inline bool ConditionalFormattingHasBeenSet() const { return m_conditionalFormattingHasBeenSet; }
108 inline void SetConditionalFormatting(const KPIConditionalFormatting& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = value; }
109 inline void SetConditionalFormatting(KPIConditionalFormatting&& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = std::move(value); }
113
115
118 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
119 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
120 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
121 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
122 inline KPIVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
123 inline KPIVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
124 inline KPIVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
125 inline KPIVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
133 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
134 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
135 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
137 inline KPIVisual& WithColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { SetColumnHierarchies(std::move(value)); return *this;}
138 inline KPIVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
139 inline KPIVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
141 private:
142
143 Aws::String m_visualId;
144 bool m_visualIdHasBeenSet = false;
145
147 bool m_titleHasBeenSet = false;
148
150 bool m_subtitleHasBeenSet = false;
151
152 KPIConfiguration m_chartConfiguration;
153 bool m_chartConfigurationHasBeenSet = false;
154
155 KPIConditionalFormatting m_conditionalFormatting;
156 bool m_conditionalFormattingHasBeenSet = false;
157
159 bool m_actionsHasBeenSet = false;
160
161 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
162 bool m_columnHierarchiesHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace QuickSight
167} // namespace Aws
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
Definition KPIVisual.h:134
KPIVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
Definition KPIVisual.h:137
const Aws::String & GetVisualId() const
Definition KPIVisual.h:56
void SetTitle(VisualTitleLabelOptions &&value)
Definition KPIVisual.h:73
KPIVisual & WithTitle(VisualTitleLabelOptions &&value)
Definition KPIVisual.h:75
KPIVisual & WithChartConfiguration(const KPIConfiguration &value)
Definition KPIVisual.h:98
KPIVisual & AddActions(VisualCustomAction &&value)
Definition KPIVisual.h:125
KPIVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
Definition KPIVisual.h:123
void SetVisualId(const Aws::String &value)
Definition KPIVisual.h:58
KPIVisual & AddActions(const VisualCustomAction &value)
Definition KPIVisual.h:124
const Aws::Vector< VisualCustomAction > & GetActions() const
Definition KPIVisual.h:118
const KPIConditionalFormatting & GetConditionalFormatting() const
Definition KPIVisual.h:106
void SetChartConfiguration(KPIConfiguration &&value)
Definition KPIVisual.h:97
KPIVisual & WithConditionalFormatting(const KPIConditionalFormatting &value)
Definition KPIVisual.h:110
bool ConditionalFormattingHasBeenSet() const
Definition KPIVisual.h:107
void SetActions(const Aws::Vector< VisualCustomAction > &value)
Definition KPIVisual.h:120
KPIVisual & WithVisualId(const Aws::String &value)
Definition KPIVisual.h:61
bool ChartConfigurationHasBeenSet() const
Definition KPIVisual.h:95
KPIVisual & WithConditionalFormatting(KPIConditionalFormatting &&value)
Definition KPIVisual.h:111
AWS_QUICKSIGHT_API KPIVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API KPIVisual(Aws::Utils::Json::JsonView jsonValue)
KPIVisual & WithVisualId(Aws::String &&value)
Definition KPIVisual.h:62
KPIVisual & AddColumnHierarchies(ColumnHierarchy &&value)
Definition KPIVisual.h:139
KPIVisual & AddColumnHierarchies(const ColumnHierarchy &value)
Definition KPIVisual.h:138
KPIVisual & WithChartConfiguration(KPIConfiguration &&value)
Definition KPIVisual.h:99
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(Aws::Vector< VisualCustomAction > &&value)
Definition KPIVisual.h:121
const KPIConfiguration & GetChartConfiguration() const
Definition KPIVisual.h:94
const VisualSubtitleLabelOptions & GetSubtitle() const
Definition KPIVisual.h:82
KPIVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
Definition KPIVisual.h:87
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
Definition KPIVisual.h:135
void SetConditionalFormatting(const KPIConditionalFormatting &value)
Definition KPIVisual.h:108
KPIVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
Definition KPIVisual.h:136
void SetSubtitle(const VisualSubtitleLabelOptions &value)
Definition KPIVisual.h:84
KPIVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
Definition KPIVisual.h:86
void SetVisualId(const char *value)
Definition KPIVisual.h:60
KPIVisual & WithVisualId(const char *value)
Definition KPIVisual.h:63
void SetTitle(const VisualTitleLabelOptions &value)
Definition KPIVisual.h:72
void SetConditionalFormatting(KPIConditionalFormatting &&value)
Definition KPIVisual.h:109
KPIVisual & WithTitle(const VisualTitleLabelOptions &value)
Definition KPIVisual.h:74
AWS_QUICKSIGHT_API KPIVisual()
KPIVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
Definition KPIVisual.h:122
const VisualTitleLabelOptions & GetTitle() const
Definition KPIVisual.h:70
void SetChartConfiguration(const KPIConfiguration &value)
Definition KPIVisual.h:96
void SetVisualId(Aws::String &&value)
Definition KPIVisual.h:59
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
Definition KPIVisual.h:132
void SetSubtitle(VisualSubtitleLabelOptions &&value)
Definition KPIVisual.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