AWS SDK for C++

AWS SDK for C++ Version 1.11.748

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
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 ArcAxisConfiguration() = default;
31 AWS_QUICKSIGHT_API ArcAxisConfiguration(Aws::Utils::Json::JsonView jsonValue);
33 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const ArcAxisDisplayRange& GetRange() const { return m_range; }
40 inline bool RangeHasBeenSet() const { return m_rangeHasBeenSet; }
41 template <typename RangeT = ArcAxisDisplayRange>
42 void SetRange(RangeT&& value) {
43 m_rangeHasBeenSet = true;
44 m_range = std::forward<RangeT>(value);
45 }
46 template <typename RangeT = ArcAxisDisplayRange>
48 SetRange(std::forward<RangeT>(value));
49 return *this;
50 }
52
54
57 inline int GetReserveRange() const { return m_reserveRange; }
58 inline bool ReserveRangeHasBeenSet() const { return m_reserveRangeHasBeenSet; }
59 inline void SetReserveRange(int value) {
60 m_reserveRangeHasBeenSet = true;
61 m_reserveRange = value;
62 }
64 SetReserveRange(value);
65 return *this;
66 }
68 private:
69 ArcAxisDisplayRange m_range;
70
71 int m_reserveRange{0};
72 bool m_rangeHasBeenSet = false;
73 bool m_reserveRangeHasBeenSet = false;
74};
75
76} // namespace Model
77} // namespace QuickSight
78} // 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