AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HistogramVisual.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/HistogramConfiguration.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 HistogramVisual();
43 AWS_QUICKSIGHT_API HistogramVisual(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 HistogramVisual& WithVisualId(const Aws::String& value) { SetVisualId(value); return *this;}
60 inline HistogramVisual& WithVisualId(Aws::String&& value) { SetVisualId(std::move(value)); return *this;}
61 inline HistogramVisual& 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 HistogramVisual& WithTitle(const VisualTitleLabelOptions& value) { SetTitle(value); return *this;}
73 inline HistogramVisual& 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 HistogramVisual& WithSubtitle(const VisualSubtitleLabelOptions& value) { SetSubtitle(value); return *this;}
85 inline HistogramVisual& WithSubtitle(VisualSubtitleLabelOptions&& value) { SetSubtitle(std::move(value)); return *this;}
87
89
92 inline const HistogramConfiguration& GetChartConfiguration() const{ return m_chartConfiguration; }
93 inline bool ChartConfigurationHasBeenSet() const { return m_chartConfigurationHasBeenSet; }
94 inline void SetChartConfiguration(const HistogramConfiguration& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = value; }
95 inline void SetChartConfiguration(HistogramConfiguration&& value) { m_chartConfigurationHasBeenSet = true; m_chartConfiguration = std::move(value); }
97 inline HistogramVisual& WithChartConfiguration(HistogramConfiguration&& value) { SetChartConfiguration(std::move(value)); return *this;}
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 HistogramVisual& WithActions(const Aws::Vector<VisualCustomAction>& value) { SetActions(value); return *this;}
109 inline HistogramVisual& WithActions(Aws::Vector<VisualCustomAction>&& value) { SetActions(std::move(value)); return *this;}
110 inline HistogramVisual& AddActions(const VisualCustomAction& value) { m_actionsHasBeenSet = true; m_actions.push_back(value); return *this; }
111 inline HistogramVisual& 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 HistogramConfiguration m_chartConfiguration;
125 bool m_chartConfigurationHasBeenSet = false;
126
128 bool m_actionsHasBeenSet = false;
129 };
130
131} // namespace Model
132} // namespace QuickSight
133} // namespace Aws
const VisualSubtitleLabelOptions & GetSubtitle() const
void SetVisualId(Aws::String &&value)
void SetActions(Aws::Vector< VisualCustomAction > &&value)
void SetChartConfiguration(const HistogramConfiguration &value)
HistogramVisual & WithVisualId(const Aws::String &value)
void SetTitle(const VisualTitleLabelOptions &value)
const Aws::Vector< VisualCustomAction > & GetActions() const
HistogramVisual & WithChartConfiguration(HistogramConfiguration &&value)
AWS_QUICKSIGHT_API HistogramVisual & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API HistogramVisual(Aws::Utils::Json::JsonView jsonValue)
HistogramVisual & AddActions(const VisualCustomAction &value)
HistogramVisual & WithActions(Aws::Vector< VisualCustomAction > &&value)
const Aws::String & GetVisualId() const
HistogramVisual & WithSubtitle(const VisualSubtitleLabelOptions &value)
HistogramVisual & WithVisualId(const char *value)
HistogramVisual & WithActions(const Aws::Vector< VisualCustomAction > &value)
void SetChartConfiguration(HistogramConfiguration &&value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const HistogramConfiguration & GetChartConfiguration() const
HistogramVisual & WithTitle(VisualTitleLabelOptions &&value)
HistogramVisual & WithVisualId(Aws::String &&value)
void SetSubtitle(const VisualSubtitleLabelOptions &value)
const VisualTitleLabelOptions & GetTitle() const
void SetSubtitle(VisualSubtitleLabelOptions &&value)
void SetActions(const Aws::Vector< VisualCustomAction > &value)
HistogramVisual & WithTitle(const VisualTitleLabelOptions &value)
void SetTitle(VisualTitleLabelOptions &&value)
void SetVisualId(const Aws::String &value)
HistogramVisual & WithChartConfiguration(const HistogramConfiguration &value)
HistogramVisual & AddActions(VisualCustomAction &&value)
HistogramVisual & WithSubtitle(VisualSubtitleLabelOptions &&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