AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ContinuousParameterRange.h
1
6#pragma once
7#include <aws/forecast/ForecastService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/forecast/model/ScalingType.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 ForecastService
23{
24namespace Model
25{
26
35 {
36 public:
37 AWS_FORECASTSERVICE_API ContinuousParameterRange() = default;
38 AWS_FORECASTSERVICE_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetName() const { return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 template<typename NameT = Aws::String>
50 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
51 template<typename NameT = Aws::String>
52 ContinuousParameterRange& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline double GetMaxValue() const { return m_maxValue; }
60 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
61 inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
62 inline ContinuousParameterRange& WithMaxValue(double value) { SetMaxValue(value); return *this;}
64
66
69 inline double GetMinValue() const { return m_minValue; }
70 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
71 inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; }
72 inline ContinuousParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;}
74
76
92 inline ScalingType GetScalingType() const { return m_scalingType; }
93 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
94 inline void SetScalingType(ScalingType value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
97 private:
98
99 Aws::String m_name;
100 bool m_nameHasBeenSet = false;
101
102 double m_maxValue{0.0};
103 bool m_maxValueHasBeenSet = false;
104
105 double m_minValue{0.0};
106 bool m_minValueHasBeenSet = false;
107
108 ScalingType m_scalingType{ScalingType::NOT_SET};
109 bool m_scalingTypeHasBeenSet = false;
110 };
111
112} // namespace Model
113} // namespace ForecastService
114} // 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