AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace QuickSight
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_QUICKSIGHT_API SingleAxisOptions() = default;
36 AWS_QUICKSIGHT_API SingleAxisOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const YAxisOptions& GetYAxisOptions() const { return m_yAxisOptions; }
46 inline bool YAxisOptionsHasBeenSet() const { return m_yAxisOptionsHasBeenSet; }
47 template<typename YAxisOptionsT = YAxisOptions>
48 void SetYAxisOptions(YAxisOptionsT&& value) { m_yAxisOptionsHasBeenSet = true; m_yAxisOptions = std::forward<YAxisOptionsT>(value); }
49 template<typename YAxisOptionsT = YAxisOptions>
50 SingleAxisOptions& WithYAxisOptions(YAxisOptionsT&& value) { SetYAxisOptions(std::forward<YAxisOptionsT>(value)); return *this;}
52 private:
53
54 YAxisOptions m_yAxisOptions;
55 bool m_yAxisOptionsHasBeenSet = false;
56 };
57
58} // namespace Model
59} // namespace QuickSight
60} // 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