AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
NumericAxisOptions.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AxisScale.h>
9#include <aws/quicksight/model/AxisDisplayRange.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_QUICKSIGHT_API NumericAxisOptions() = default;
36 AWS_QUICKSIGHT_API NumericAxisOptions(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const AxisScale& GetScale() const { return m_scale; }
46 inline bool ScaleHasBeenSet() const { return m_scaleHasBeenSet; }
47 template<typename ScaleT = AxisScale>
48 void SetScale(ScaleT&& value) { m_scaleHasBeenSet = true; m_scale = std::forward<ScaleT>(value); }
49 template<typename ScaleT = AxisScale>
50 NumericAxisOptions& WithScale(ScaleT&& value) { SetScale(std::forward<ScaleT>(value)); return *this;}
52
54
57 inline const AxisDisplayRange& GetRange() const { return m_range; }
58 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
59 template<typename RangeT = AxisDisplayRange>
60 void SetRange(RangeT&& value) { m_rangeHasBeenSet = true; m_range = std::forward<RangeT>(value); }
61 template<typename RangeT = AxisDisplayRange>
62 NumericAxisOptions& WithRange(RangeT&& value) { SetRange(std::forward<RangeT>(value)); return *this;}
64 private:
65
66 AxisScale m_scale;
67 bool m_scaleHasBeenSet = false;
68
69 AxisDisplayRange m_range;
70 bool m_rangeHasBeenSet = false;
71 };
72
73} // namespace Model
74} // namespace QuickSight
75} // namespace Aws
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
const AxisDisplayRange & GetRange() const
NumericAxisOptions & WithRange(RangeT &&value)
NumericAxisOptions & WithScale(ScaleT &&value)
AWS_QUICKSIGHT_API NumericAxisOptions(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NumericAxisOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API NumericAxisOptions()=default
Aws::Utils::Json::JsonValue JsonValue