AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
SingleAxisOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/YAxisOptions.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace QuickSight {
20namespace Model {
21
29 public:
30 AWS_QUICKSIGHT_API SingleAxisOptions() = default;
31 AWS_QUICKSIGHT_API SingleAxisOptions(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const YAxisOptions& GetYAxisOptions() const { return m_yAxisOptions; }
40 inline bool YAxisOptionsHasBeenSet() const { return m_yAxisOptionsHasBeenSet; }
41 template <typename YAxisOptionsT = YAxisOptions>
42 void SetYAxisOptions(YAxisOptionsT&& value) {
43 m_yAxisOptionsHasBeenSet = true;
44 m_yAxisOptions = std::forward<YAxisOptionsT>(value);
45 }
46 template <typename YAxisOptionsT = YAxisOptions>
47 SingleAxisOptions& WithYAxisOptions(YAxisOptionsT&& value) {
48 SetYAxisOptions(std::forward<YAxisOptionsT>(value));
49 return *this;
50 }
52 private:
53 YAxisOptions m_yAxisOptions;
54 bool m_yAxisOptionsHasBeenSet = false;
55};
56
57} // namespace Model
58} // namespace QuickSight
59} // namespace Aws
void SetYAxisOptions(YAxisOptionsT &&value)
AWS_QUICKSIGHT_API SingleAxisOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API SingleAxisOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API SingleAxisOptions()=default
SingleAxisOptions & WithYAxisOptions(YAxisOptionsT &&value)
const YAxisOptions & GetYAxisOptions() const
Aws::Utils::Json::JsonValue JsonValue