AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FilledMapVisual.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/FilledMapConfiguration.h>
12#include <aws/quicksight/model/FilledMapConditionalFormatting.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/quicksight/model/ColumnHierarchy.h>
15#include <aws/quicksight/model/VisualCustomAction.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 FilledMapVisual();
45 AWS_QUICKSIGHT_API FilledMapVisual(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 FilledMapVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
62 inline FilledMapVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
63 inline FilledMapVisual& 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 FilledMapVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
75 inline FilledMapVisual& 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 FilledMapVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
87 inline FilledMapVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
89
91
94 inline const FilledMapConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
95 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
96 inline void SetChartConfiguration(const FilledMapConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
97 inline void SetChartConfiguration(FilledMapConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
99 inline FilledMapVisual& WithChartConfiguration(FilledMapConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
101
103
106 inline const FilledMapConditionalFormatting& GetConditionalFormatting() const{ return m_conditionalFormatting; }
107 inline bool ConditionalFormattingHasBeenSet() const { return m_conditionalFormattingHasBeenSet; }
108 inline void SetConditionalFormatting(const FilledMapConditionalFormatting& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = value; }
109 inline void SetConditionalFormatting(FilledMapConditionalFormatting&& value) { m_conditionalFormattingHasBeenSet = true; m_conditionalFormatting = std::move(value); }
113
115
118 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
119 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
120 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
121 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
124 inline FilledMapVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
125 inline FilledMapVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
127
129
132 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
133 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
134 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
135 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
136 inline FilledMapVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
137 inline FilledMapVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
138 inline FilledMapVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
139 inline FilledMapVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.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 FilledMapConfiguration m_chartConfiguration;
153 bool m_chartConfigurationHasBeenSet = false;
154
155 FilledMapConditionalFormatting m_conditionalFormatting;
156 bool m_conditionalFormattingHasBeenSet = false;
157
158 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
159 bool m_columnHierarchiesHasBeenSet = false;
160
162 bool m_actionsHasBeenSet = false;
163 };
164
165} // namespace Model
166} // namespace QuickSight
167} // namespace Aws
FilledMapVisual & AddColumnHierarchies(ColumnHierarchy &&value)
void SetConditionalFormatting(const FilledMapConditionalFormatting &value)
FilledMapVisual & WithConditionalFormatting(FilledMapConditionalFormatting &&value)
FilledMapVisual & WithChartConfiguration(const FilledMapConfiguration &value)
const VisualTitleLabelOptions & GetTitle() const
AWS_QUICKSIGHT_API FilledMapVisual(Aws::Utils::Json::JsonView jsonValue)
FilledMapVisual & WithVisualId(const char *value)
AWS_QUICKSIGHT_API FilledMapVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetVisualId(Aws::String &&value)
FilledMapVisual & WithChartConfiguration(FilledMapConfiguration &&value)
FilledMapVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
FilledMapVisual & WithTitle(const VisualTitleLabelOptions &value)
FilledMapVisual & WithTitle(VisualTitleLabelOptions &&value)
void SetChartConfiguration(const FilledMapConfiguration &value)
FilledMapVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
FilledMapVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
FilledMapVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
FilledMapVisual & AddActions(VisualCustomAction &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
FilledMapVisual & WithConditionalFormatting(const FilledMapConditionalFormatting &value)
void SetVisualId(const Aws::String &value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
void SetTitle(VisualTitleLabelOptions &&value)
void SetConditionalFormatting(FilledMapConditionalFormatting &&value)
FilledMapVisual & AddColumnHierarchies(const ColumnHierarchy &value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
FilledMapVisual & WithVisualId(Aws::String &&value)
const Aws::Vector< VisualCustomAction > & GetActions() const
const FilledMapConfiguration & GetChartConfiguration() const
FilledMapVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
const Aws::String & GetVisualId() const
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
void SetChartConfiguration(FilledMapConfiguration &&value)
FilledMapVisual & WithVisualId(const Aws::String &value)
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
const VisualSubtitleLabelOptions & GetSubtitle() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
FilledMapVisual & AddActions(const VisualCustomAction &value)
FilledMapVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
void SetTitle(const VisualTitleLabelOptions &value)
const FilledMapConditionalFormatting & GetConditionalFormatting() 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