AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
AxisScale.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/AxisLinearScale.h>
9#include <aws/quicksight/model/AxisLogarithmicScale.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
35 {
36 public:
37 AWS_QUICKSIGHT_API AxisScale() = default;
38 AWS_QUICKSIGHT_API AxisScale(Aws::Utils::Json::JsonView jsonValue);
39 AWS_QUICKSIGHT_API AxisScale& operator=(Aws::Utils::Json::JsonView jsonValue);
40 AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const AxisLinearScale& GetLinear() const { return m_linear; }
48 inline bool LinearHasBeenSet() const { return m_linearHasBeenSet; }
49 template<typename LinearT = AxisLinearScale>
50 void SetLinear(LinearT&& value) { m_linearHasBeenSet = true; m_linear = std::forward<LinearT>(value); }
51 template<typename LinearT = AxisLinearScale>
52 AxisScale& WithLinear(LinearT&& value) { SetLinear(std::forward<LinearT>(value)); return *this;}
54
56
59 inline const AxisLogarithmicScale& GetLogarithmic() const { return m_logarithmic; }
60 inline bool LogarithmicHasBeenSet() const { return m_logarithmicHasBeenSet; }
61 template<typename LogarithmicT = AxisLogarithmicScale>
62 void SetLogarithmic(LogarithmicT&& value) { m_logarithmicHasBeenSet = true; m_logarithmic = std::forward<LogarithmicT>(value); }
63 template<typename LogarithmicT = AxisLogarithmicScale>
64 AxisScale& WithLogarithmic(LogarithmicT&& value) { SetLogarithmic(std::forward<LogarithmicT>(value)); return *this;}
66 private:
67
68 AxisLinearScale m_linear;
69 bool m_linearHasBeenSet = false;
70
71 AxisLogarithmicScale m_logarithmic;
72 bool m_logarithmicHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace QuickSight
77} // namespace Aws
void SetLogarithmic(LogarithmicT &&value)
Definition AxisScale.h:62
AWS_QUICKSIGHT_API AxisScale & operator=(Aws::Utils::Json::JsonView jsonValue)
AxisScale & WithLogarithmic(LogarithmicT &&value)
Definition AxisScale.h:64
AWS_QUICKSIGHT_API AxisScale(Aws::Utils::Json::JsonView jsonValue)
AWS_QUICKSIGHT_API Aws::Utils::Json::JsonValue Jsonize() const
void SetLinear(LinearT &&value)
Definition AxisScale.h:50
const AxisLinearScale & GetLinear() const
Definition AxisScale.h:47
AWS_QUICKSIGHT_API AxisScale()=default
AxisScale & WithLinear(LinearT &&value)
Definition AxisScale.h:52
const AxisLogarithmicScale & GetLogarithmic() const
Definition AxisScale.h:59
Aws::Utils::Json::JsonValue JsonValue