AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GeospatialMapVisual.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/GeospatialMapConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/ColumnHierarchy.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
42 {
43 public:
44 AWS_QUICKSIGHT_API GeospatialMapVisual();
45 AWS_QUICKSIGHT_API GeospatialMapVisual(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 GeospatialMapVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
62 inline GeospatialMapVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
63 inline GeospatialMapVisual& 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 GeospatialMapVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
75 inline GeospatialMapVisual& 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 GeospatialMapVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
87 inline GeospatialMapVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
89
91
94 inline const GeospatialMapConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
95 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
96 inline void SetChartConfiguration(const GeospatialMapConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
97 inline void SetChartConfiguration(GeospatialMapConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
101
103
106 inline const Aws::Vector<ColumnHierarchy>& GetColumnHierarchies() const{ return m_columnHierarchies; }
107 inline bool ColumnHierarchiesHasBeenSet() const { return m_columnHierarchiesHasBeenSet; }
108 inline void SetColumnHierarchies(const Aws::Vector<ColumnHierarchy>& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = value; }
109 inline void SetColumnHierarchies(Aws::Vector<ColumnHierarchy>&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies = std::move(value); }
112 inline GeospatialMapVisual& AddColumnHierarchies(const ColumnHierarchy& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(value); return *this; }
113 inline GeospatialMapVisual& AddColumnHierarchies(ColumnHierarchy&& value) { m_columnHierarchiesHasBeenSet = true; m_columnHierarchies.push_back(std::move(value)); return *this; }
115
117
120 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
121 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
122 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
123 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
124 inline GeospatialMapVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
125 inline GeospatialMapVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
126 inline GeospatialMapVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
127 inline GeospatialMapVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.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 GeospatialMapConfiguration m_chartConfiguration;
141 bool m_chartConfigurationHasBeenSet = false;
142
143 Aws::Vector<ColumnHierarchy> m_columnHierarchies;
144 bool m_columnHierarchiesHasBeenSet = false;
145
147 bool m_actionsHasBeenSet = false;
148 };
149
150} // namespace Model
151} // namespace QuickSight
152} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
GeospatialMapVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
const Aws::Vector< ColumnHierarchy > & GetColumnHierarchies() const
const VisualTitleLabelOptions & GetTitle() const
GeospatialMapVisual & WithChartConfiguration(const GeospatialMapConfiguration &value)
GeospatialMapVisual & WithVisualId(const Aws::String &value)
void SetColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
GeospatialMapVisual & WithVisualId(Aws::String &&value)
void SetTitle(VisualTitleLabelOptions &&value)
const GeospatialMapConfiguration & GetChartConfiguration() const
GeospatialMapVisual & WithVisualId(const char *value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
GeospatialMapVisual & WithTitle(const VisualTitleLabelOptions &value)
GeospatialMapVisual & WithColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
const VisualSubtitleLabelOptions & GetSubtitle() const
void SetColumnHierarchies(const Aws::Vector< ColumnHierarchy > &value)
GeospatialMapVisual & WithChartConfiguration(GeospatialMapConfiguration &&value)
GeospatialMapVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
GeospatialMapVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
GeospatialMapVisual & WithTitle(VisualTitleLabelOptions &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
GeospatialMapVisual & AddColumnHierarchies(const ColumnHierarchy &value)
AWS_QUICKSIGHT_API GeospatialMapVisual(Aws::Utils::Json::JsonView jsonValue)
GeospatialMapVisual & AddColumnHierarchies(ColumnHierarchy &&value)
void SetChartConfiguration(GeospatialMapConfiguration &&value)
GeospatialMapVisual & AddActions(const VisualCustomAction &value)
GeospatialMapVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
const Aws::Vector< VisualCustomAction > & GetActions() const
AWS_QUICKSIGHT_API GeospatialMapVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(const VisualTitleLabelOptions &value)
void SetChartConfiguration(const GeospatialMapConfiguration &value)
GeospatialMapVisual & AddActions(VisualCustomAction &&value)
GeospatialMapVisual & WithColumnHierarchies(Aws::Vector< ColumnHierarchy > &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue