AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetScale(const AxisScale& value) { m_scaleHasBeenSet = true; m_scale = value; }
48 inline void SetScale(AxisScale&& value) { m_scaleHasBeenSet = true; m_scale = std::move(value); }
49 inline NumericAxisOptions& WithScale(const AxisScale& value) { SetScale(value); return *this;}
50 inline NumericAxisOptions& WithScale(AxisScale&& value) { SetScale(std::move(value)); return *this;}
52
54
57 inline const AxisDisplayRange& GetRange() const{ return m_range; }
58 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
59 inline void SetRange(const AxisDisplayRange& value) { m_rangeHasBeenSet = true; m_range = value; }
60 inline void SetRange(AxisDisplayRange&& value) { m_rangeHasBeenSet = true; m_range = std::move(value); }
61 inline NumericAxisOptions& WithRange(const AxisDisplayRange& value) { SetRange(value); return *this;}
62 inline NumericAxisOptions& WithRange(AxisDisplayRange&& value) { SetRange(std::move(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
void SetRange(const AxisDisplayRange &value)
const AxisDisplayRange & GetRange() const
AWS_QUICKSIGHT_API NumericAxisOptions(Aws::Utils::Json::JsonView jsonValue)
NumericAxisOptions & WithRange(const AxisDisplayRange &value)
NumericAxisOptions & WithRange(AxisDisplayRange &&value)
NumericAxisOptions & WithScale(AxisScale &&value)
void SetRange(AxisDisplayRange &&value)
AWS_QUICKSIGHT_API NumericAxisOptions & operator=(Aws::Utils::Json::JsonView jsonValue)
NumericAxisOptions & WithScale(const AxisScale &value)
Aws::Utils::Json::JsonValue JsonValue