AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ArcAxisConfiguration.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/ArcAxisDisplayRange.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 ArcAxisConfiguration() = default;
36 AWS_QUICKSIGHT_API ArcAxisConfiguration(Aws::Utils::Json::JsonView jsonValue);
38 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const ArcAxisDisplayRange& GetRange() const { return m_range; }
46 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
47 template<typename RangeT = ArcAxisDisplayRange>
48 void SetRange(RangeT&& value) { m_rangeHasBeenSet = true; m_range = std::forward<RangeT>(value); }
49 template<typename RangeT = ArcAxisDisplayRange>
50 ArcAxisConfiguration& WithRange(RangeT&& value) { SetRange(std::forward<RangeT>(value)); return *this;}
52
54
57 inline int GetReserveRange() const { return m_reserveRange; }
58 inline bool ReserveRangeHasBeenSet() const { return m_reserveRangeHasBeenSet; }
59 inline void SetReserveRange(int value) { m_reserveRangeHasBeenSet = true; m_reserveRange = value; }
60 inline ArcAxisConfiguration& WithReserveRange(int value) { SetReserveRange(value); return *this;}
62 private:
63
64 ArcAxisDisplayRange m_range;
65 bool m_rangeHasBeenSet = false;
66
67 int m_reserveRange{0};
68 bool m_reserveRangeHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace QuickSight
73} // namespace Aws
ArcAxisConfiguration & WithReserveRange(int value)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_QUICKSIGHT_API ArcAxisConfiguration & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API ArcAxisConfiguration()=default
AWS_QUICKSIGHT_API ArcAxisConfiguration(Aws::Utils::Json::JsonView jsonValue)
ArcAxisConfiguration & WithRange(RangeT &&value)
const ArcAxisDisplayRange & GetRange() const
Aws::Utils::Json::JsonValue JsonValue