AWS SDK for C++

AWS SDK for C++ Version 1.11.637

Loading...
Searching...
No Matches
PluginVisual.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/PluginVisualConfiguration.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/quicksight/model/VisualCustomAction.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace QuickSight
27{
28namespace Model
29{
30
38 {
39 public:
40 AWS_QUICKSIGHT_API PluginVisual() = default;
41 AWS_QUICKSIGHT_API PluginVisual(Aws::Utils::Json::JsonView jsonValue);
42 AWS_QUICKSIGHT_API PluginVisual& operator=(Aws::Utils::Json::JsonView jsonValue);
43 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetVisualId() const { return m_visualId; }
51 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
52 template<typename VisualIdT = Aws::String>
53 void SetVisualId(VisualIdT&& value) { m_visualIdHasBeenSet = true; m_visualId = std::forward<VisualIdT>(value); }
54 template<typename VisualIdT = Aws::String>
55 PluginVisual& WithVisualId(VisualIdT&& value) { SetVisualId(std::forward<VisualIdT>(value)); return *this;}
57
59
62 inline const Aws::String& GetPluginArn() const { return m_pluginArn; }
63 inline bool PluginArnHasBeenSet() const { return m_pluginArnHasBeenSet; }
64 template<typename PluginArnT = Aws::String>
65 void SetPluginArn(PluginArnT&& value) { m_pluginArnHasBeenSet = true; m_pluginArn = std::forward<PluginArnT>(value); }
66 template<typename PluginArnT = Aws::String>
67 PluginVisual& WithPluginArn(PluginArnT&& value) { SetPluginArn(std::forward<PluginArnT>(value)); return *this;}
69
71
72 inline const VisualTitleLabelOptions& GetTitle() const { return m_title; }
73 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
74 template<typename TitleT = VisualTitleLabelOptions>
75 void SetTitle(TitleT&& value) { m_titleHasBeenSet = true; m_title = std::forward<TitleT>(value); }
76 template<typename TitleT = VisualTitleLabelOptions>
77 PluginVisual& WithTitle(TitleT&& value) { SetTitle(std::forward<TitleT>(value)); return *this;}
79
81
82 inline const VisualSubtitleLabelOptions& GetSubtitle() const { return m_subtitle; }
83 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
84 template<typename SubtitleT = VisualSubtitleLabelOptions>
85 void SetSubtitle(SubtitleT&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::forward<SubtitleT>(value); }
86 template<typename SubtitleT = VisualSubtitleLabelOptions>
87 PluginVisual& WithSubtitle(SubtitleT&& value) { SetSubtitle(std::forward<SubtitleT>(value)); return *this;}
89
91
94 inline const PluginVisualConfiguration& GetChartConfiguration() const { return m_chartConfiguration; }
95 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
96 template<typename ChartConfigurationT = PluginVisualConfiguration>
97 void SetChartConfiguration(ChartConfigurationT&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::forward<ChartConfigurationT>(value); }
98 template<typename ChartConfigurationT = PluginVisualConfiguration>
99 PluginVisual& WithChartConfiguration(ChartConfigurationT&& value) { SetChartConfiguration(std::forward<ChartConfigurationT>(value)); return *this;}
101
103
106 inline const Aws::Vector<VisualCustomAction>& GetActions() const { return m_actions; }
107 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
108 template<typename ActionsT = Aws::Vector<VisualCustomAction>>
109 void SetActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions = std::forward<ActionsT>(value); }
110 template<typename ActionsT = Aws::Vector<VisualCustomAction>>
111 PluginVisual& WithActions(ActionsT&& value) { SetActions(std::forward<ActionsT>(value)); return *this;}
112 template<typename ActionsT = VisualCustomAction>
113 PluginVisual& AddActions(ActionsT&& value) { m_actionsHasBeenSet = true; m_actions.emplace_back(std::forward<ActionsT>(value)); return *this; }
115
117
120 inline const Aws::String& GetVisualContentAltText() const { return m_visualContentAltText; }
121 inline bool VisualContentAltTextHasBeenSet() const { return m_visualContentAltTextHasBeenSet; }
122 template<typename VisualContentAltTextT = Aws::String>
123 void SetVisualContentAltText(VisualContentAltTextT&& value) { m_visualContentAltTextHasBeenSet = true; m_visualContentAltText = std::forward<VisualContentAltTextT>(value); }
124 template<typename VisualContentAltTextT = Aws::String>
125 PluginVisual& WithVisualContentAltText(VisualContentAltTextT&& value) { SetVisualContentAltText(std::forward<VisualContentAltTextT>(value)); return *this;}
127 private:
128
129 Aws::String m_visualId;
130 bool m_visualIdHasBeenSet = false;
131
132 Aws::String m_pluginArn;
133 bool m_pluginArnHasBeenSet = false;
134
136 bool m_titleHasBeenSet = false;
137
139 bool m_subtitleHasBeenSet = false;
140
141 PluginVisualConfiguration m_chartConfiguration;
142 bool m_chartConfigurationHasBeenSet = false;
143
145 bool m_actionsHasBeenSet = false;
146
147 Aws::String m_visualContentAltText;
148 bool m_visualContentAltTextHasBeenSet = false;
149 };
150
151} // namespace Model
152} // namespace QuickSight
153} // namespace Aws
PluginVisual & AddActions(ActionsT &&value)
void SetPluginArn(PluginArnT &&value)
const Aws::String & GetVisualContentAltText() const
const Aws::Vector< VisualCustomAction > & GetActions() const
const Aws::String & GetVisualId() const
PluginVisual & WithPluginArn(PluginArnT &&value)
AWS_QUICKSIGHT_API PluginVisual()=default
void SetActions(ActionsT &&value)
AWS_QUICKSIGHT_API PluginVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetSubtitle(SubtitleT &&value)
void SetVisualId(VisualIdT &&value)
const PluginVisualConfiguration & GetChartConfiguration() const
const Aws::String & GetPluginArn() const
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetVisualContentAltText(VisualContentAltTextT &&value)
void SetChartConfiguration(ChartConfigurationT &&value)
const VisualTitleLabelOptions & GetTitle() const
PluginVisual & WithVisualId(VisualIdT &&value)
AWS_QUICKSIGHT_API PluginVisual(Aws::Utils::Json::JsonView jsonValue)
PluginVisual & WithSubtitle(SubtitleT &&value)
PluginVisual & WithActions(ActionsT &&value)
const VisualSubtitleLabelOptions & GetSubtitle() const
PluginVisual & WithVisualContentAltText(VisualContentAltTextT &&value)
PluginVisual & WithChartConfiguration(ChartConfigurationT &&value)
PluginVisual & WithTitle(TitleT &&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