AWS SDK for C++

AWS SDK for C++ Version 1.11.935

Loading...
Searching...
No Matches
ContinuousParameterRange.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/forecast/ForecastService_EXPORTS.h>
9#include <aws/forecast/model/ScalingType.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace ForecastService {
21namespace Model {
22
31 public:
32 AWS_FORECASTSERVICE_API ContinuousParameterRange() = default;
33 AWS_FORECASTSERVICE_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue);
35 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
41 inline const Aws::String& GetName() const { return m_name; }
42 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
43 template <typename NameT = Aws::String>
44 void SetName(NameT&& value) {
45 m_nameHasBeenSet = true;
46 m_name = std::forward<NameT>(value);
47 }
48 template <typename NameT = Aws::String>
50 SetName(std::forward<NameT>(value));
51 return *this;
52 }
54
56
59 inline double GetMaxValue() const { return m_maxValue; }
60 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
61 inline void SetMaxValue(double value) {
62 m_maxValueHasBeenSet = true;
63 m_maxValue = value;
64 }
65 inline ContinuousParameterRange& WithMaxValue(double value) {
66 SetMaxValue(value);
67 return *this;
68 }
70
72
75 inline double GetMinValue() const { return m_minValue; }
76 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
77 inline void SetMinValue(double value) {
78 m_minValueHasBeenSet = true;
79 m_minValue = value;
80 }
81 inline ContinuousParameterRange& WithMinValue(double value) {
82 SetMinValue(value);
83 return *this;
84 }
86
88
104 inline ScalingType GetScalingType() const { return m_scalingType; }
105 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
106 inline void SetScalingType(ScalingType value) {
107 m_scalingTypeHasBeenSet = true;
108 m_scalingType = value;
109 }
111 SetScalingType(value);
112 return *this;
113 }
115 private:
116 Aws::String m_name;
117
118 double m_maxValue{0.0};
119
120 double m_minValue{0.0};
121
122 ScalingType m_scalingType{ScalingType::NOT_SET};
123 bool m_nameHasBeenSet = false;
124 bool m_maxValueHasBeenSet = false;
125 bool m_minValueHasBeenSet = false;
126 bool m_scalingTypeHasBeenSet = false;
127};
128
129} // namespace Model
130} // namespace ForecastService
131} // namespace Aws
AWS_FORECASTSERVICE_API ContinuousParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue)
ContinuousParameterRange & WithScalingType(ScalingType value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContinuousParameterRange & WithMinValue(double value)
ContinuousParameterRange & WithMaxValue(double value)
AWS_FORECASTSERVICE_API ContinuousParameterRange()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue