AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SankeyDiagramVisual.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/SankeyDiagramChartConfiguration.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
40 {
41 public:
42 AWS_QUICKSIGHT_API SankeyDiagramVisual();
43 AWS_QUICKSIGHT_API SankeyDiagramVisual(Aws::Utils::Json::JsonView jsonValue);
45 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
54 inline const Aws::String& GetVisualId() const{ return m_visualId; }
55 inline bool VisualIdHasBeenSet() const { return m_visualIdHasBeenSet; }
56 inline void SetVisualId(const Aws::String& value) { m_visualIdHasBeenSet = true; m_visualId = value; }
57 inline void SetVisualId(Aws::String&& value) { m_visualIdHasBeenSet = true; m_visualId = std::move(value); }
58 inline void SetVisualId(const char* value) { m_visualIdHasBeenSet = true; m_visualId.assign(value); }
59 inline SankeyDiagramVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
60 inline SankeyDiagramVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
61 inline SankeyDiagramVisual& WithVisualId(const char* value) { SetVisualId(value); return *this;}
63
65
68 inline const VisualTitleLabelOptions& GetTitle() const{ return m_title; }
69 inline bool TitleHasBeenSet() const { return m_titleHasBeenSet; }
70 inline void SetTitle(const VisualTitleLabelOptions& value) { m_titleHasBeenSet = true; m_title = value; }
71 inline void SetTitle(VisualTitleLabelOptions&& value) { m_titleHasBeenSet = true; m_title = std::move(value); }
72 inline SankeyDiagramVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
73 inline SankeyDiagramVisual& WithTitle(VisualTitleLabelOptions&& value) { SetTitle(std::move(value)); return *this;}
75
77
80 inline const VisualSubtitleLabelOptions& GetSubtitle() const{ return m_subtitle; }
81 inline bool SubtitleHasBeenSet() const { return m_subtitleHasBeenSet; }
82 inline void SetSubtitle(const VisualSubtitleLabelOptions& value) { m_subtitleHasBeenSet = true; m_subtitle = value; }
83 inline void SetSubtitle(VisualSubtitleLabelOptions&& value) { m_subtitleHasBeenSet = true; m_subtitle = std::move(value); }
84 inline SankeyDiagramVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
85 inline SankeyDiagramVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
87
89
92 inline const SankeyDiagramChartConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
93 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
94 inline void SetChartConfiguration(const SankeyDiagramChartConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
95 inline void SetChartConfiguration(SankeyDiagramChartConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
99
101
104 inline const Aws::Vector<VisualCustomAction>& GetActions() const{ return m_actions; }
105 inline bool ActionsHasBeenSet() const { return m_actionsHasBeenSet; }
106 inline void SetActions(const Aws::Vector<VisualCustomAction>& value) { m_actionsHasBeenSet = true; m_actions = value; }
107 inline void SetActions(Aws::Vector<VisualCustomAction>&& value) { m_actionsHasBeenSet = true; m_actions = std::move(value); }
108 inline SankeyDiagramVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
109 inline SankeyDiagramVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
110 inline SankeyDiagramVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
111 inline SankeyDiagramVisual& AddActions(VisualCustomAction&& value) { m_actionsHasBeenSet = true; m_actions.push_back(std::move(value)); return *this; }
113 private:
114
115 Aws::String m_visualId;
116 bool m_visualIdHasBeenSet = false;
117
119 bool m_titleHasBeenSet = false;
120
122 bool m_subtitleHasBeenSet = false;
123
124 SankeyDiagramChartConfiguration m_chartConfiguration;
125 bool m_chartConfigurationHasBeenSet = false;
126
128 bool m_actionsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
SankeyDiagramVisual & WithVisualId(const char *value)
SankeyDiagramVisual & WithChartConfiguration(const SankeyDiagramChartConfiguration &value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
SankeyDiagramVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
SankeyDiagramVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
SankeyDiagramVisual & AddActions(const VisualCustomAction &value)
const Aws::Vector< VisualCustomAction > & GetActions() const
const SankeyDiagramChartConfiguration & GetChartConfiguration() const
SankeyDiagramVisual & WithVisualId(const Aws::String &value)
SankeyDiagramVisual & WithSubtitle(VisualSubtitleLabelOptions &&value)
const VisualSubtitleLabelOptions & GetSubtitle() const
AWS_QUICKSIGHT_API SankeyDiagramVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTitle(VisualTitleLabelOptions &&value)
const VisualTitleLabelOptions & GetTitle() const
SankeyDiagramVisual & WithChartConfiguration(SankeyDiagramChartConfiguration &&value)
SankeyDiagramVisual & WithTitle(const VisualTitleLabelOptions &value)
SankeyDiagramVisual & WithTitle(VisualTitleLabelOptions &&value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
AWS_QUICKSIGHT_API SankeyDiagramVisual(Aws::Utils::Json::JsonView jsonValue)
SankeyDiagramVisual & WithVisualId(Aws::String &&value)
void SetSubtitle(VisualSubtitleLabelOptions &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
void SetChartConfiguration(const SankeyDiagramChartConfiguration &value)
SankeyDiagramVisual & AddActions(VisualCustomAction &&value)
void SetTitle(const VisualTitleLabelOptions &value)
SankeyDiagramVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
void SetChartConfiguration(SankeyDiagramChartConfiguration &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() 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