AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
SmallMultiplesOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/PanelConfiguration.h>
9#include <aws/quicksight/model/SmallMultiplesAxisProperties.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace QuickSight {
21namespace Model {
22
30 public:
31 AWS_QUICKSIGHT_API SmallMultiplesOptions() = default;
34 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline long long GetMaxVisibleRows() const { return m_maxVisibleRows; }
44 inline bool MaxVisibleRowsHasBeenSet() const { return m_maxVisibleRowsHasBeenSet; }
45 inline void SetMaxVisibleRows(long long value) {
46 m_maxVisibleRowsHasBeenSet = true;
47 m_maxVisibleRows = value;
48 }
49 inline SmallMultiplesOptions& WithMaxVisibleRows(long long value) {
50 SetMaxVisibleRows(value);
51 return *this;
52 }
54
56
62 inline long long GetMaxVisibleColumns() const { return m_maxVisibleColumns; }
63 inline bool MaxVisibleColumnsHasBeenSet() const { return m_maxVisibleColumnsHasBeenSet; }
64 inline void SetMaxVisibleColumns(long long value) {
65 m_maxVisibleColumnsHasBeenSet = true;
66 m_maxVisibleColumns = value;
67 }
70 return *this;
71 }
73
75
78 inline const PanelConfiguration& GetPanelConfiguration() const { return m_panelConfiguration; }
79 inline bool PanelConfigurationHasBeenSet() const { return m_panelConfigurationHasBeenSet; }
80 template <typename PanelConfigurationT = PanelConfiguration>
81 void SetPanelConfiguration(PanelConfigurationT&& value) {
82 m_panelConfigurationHasBeenSet = true;
83 m_panelConfiguration = std::forward<PanelConfigurationT>(value);
84 }
85 template <typename PanelConfigurationT = PanelConfiguration>
86 SmallMultiplesOptions& WithPanelConfiguration(PanelConfigurationT&& value) {
87 SetPanelConfiguration(std::forward<PanelConfigurationT>(value));
88 return *this;
89 }
91
93
96 inline const SmallMultiplesAxisProperties& GetXAxis() const { return m_xAxis; }
97 inline bool XAxisHasBeenSet() const { return m_xAxisHasBeenSet; }
98 template <typename XAxisT = SmallMultiplesAxisProperties>
99 void SetXAxis(XAxisT&& value) {
100 m_xAxisHasBeenSet = true;
101 m_xAxis = std::forward<XAxisT>(value);
102 }
103 template <typename XAxisT = SmallMultiplesAxisProperties>
105 SetXAxis(std::forward<XAxisT>(value));
106 return *this;
107 }
109
111
114 inline const SmallMultiplesAxisProperties& GetYAxis() const { return m_yAxis; }
115 inline bool YAxisHasBeenSet() const { return m_yAxisHasBeenSet; }
116 template <typename YAxisT = SmallMultiplesAxisProperties>
117 void SetYAxis(YAxisT&& value) {
118 m_yAxisHasBeenSet = true;
119 m_yAxis = std::forward<YAxisT>(value);
120 }
121 template <typename YAxisT = SmallMultiplesAxisProperties>
123 SetYAxis(std::forward<YAxisT>(value));
124 return *this;
125 }
127 private:
128 long long m_maxVisibleRows{0};
129
130 long long m_maxVisibleColumns{0};
131
132 PanelConfiguration m_panelConfiguration;
133
134 SmallMultiplesAxisProperties m_xAxis;
135
136 SmallMultiplesAxisProperties m_yAxis;
137 bool m_maxVisibleRowsHasBeenSet = false;
138 bool m_maxVisibleColumnsHasBeenSet = false;
139 bool m_panelConfigurationHasBeenSet = false;
140 bool m_xAxisHasBeenSet = false;
141 bool m_yAxisHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace QuickSight
146} // namespace Aws
AWS_QUICKSIGHT_API SmallMultiplesOptions(Aws::Utils::Json::JsonView jsonValue)
void SetPanelConfiguration(PanelConfigurationT &&value)
const SmallMultiplesAxisProperties & GetYAxis() const
SmallMultiplesOptions & WithPanelConfiguration(PanelConfigurationT &&value)
SmallMultiplesOptions & WithXAxis(XAxisT &&value)
SmallMultiplesOptions & WithMaxVisibleColumns(long long value)
AWS_QUICKSIGHT_API SmallMultiplesOptions()=default
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const PanelConfiguration & GetPanelConfiguration() const
SmallMultiplesOptions & WithYAxis(YAxisT &&value)
SmallMultiplesOptions & WithMaxVisibleRows(long long value)
const SmallMultiplesAxisProperties & GetXAxis() const
AWS_QUICKSIGHT_API SmallMultiplesOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue