AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline ContinuousParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline ContinuousParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline ContinuousParameterRange& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline double GetMaxValue() const{ return m_maxValue; }
62 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
63 inline void SetMaxValue(double value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
64 inline ContinuousParameterRange& WithMaxValue(double value) { SetMaxValue(value); return *this;}
66
68
71 inline double GetMinValue() const{ return m_minValue; }
72 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
73 inline void SetMinValue(double value) { m_minValueHasBeenSet = true; m_minValue = value; }
74 inline ContinuousParameterRange& WithMinValue(double value) { SetMinValue(value); return *this;}
76
78
94 inline const ScalingType& GetScalingType() const{ return m_scalingType; }
95 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
96 inline void SetScalingType(const ScalingType& value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
97 inline void SetScalingType(ScalingType&& value) { m_scalingTypeHasBeenSet = true; m_scalingType = std::move(value); }
98 inline ContinuousParameterRange& WithScalingType(const ScalingType& value) { SetScalingType(value); return *this;}
99 inline ContinuousParameterRange& WithScalingType(ScalingType&& value) { SetScalingType(std::move(value)); return *this;}
101 private:
102
103 Aws::String m_name;
104 bool m_nameHasBeenSet = false;
105
106 double m_maxValue;
107 bool m_maxValueHasBeenSet = false;
108
109 double m_minValue;
110 bool m_minValueHasBeenSet = false;
111
112 ScalingType m_scalingType;
113 bool m_scalingTypeHasBeenSet = false;
114 };
115
116} // namespace Model
117} // namespace ForecastService
118} // namespace Aws
AWS_FORECASTSERVICE_API ContinuousParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FORECASTSERVICE_API ContinuousParameterRange(Aws::Utils::Json::JsonView jsonValue)
ContinuousParameterRange & WithName(const Aws::String &value)
ContinuousParameterRange & WithName(Aws::String &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
ContinuousParameterRange & WithScalingType(ScalingType &&value)
ContinuousParameterRange & WithName(const char *value)
ContinuousParameterRange & WithMinValue(double value)
ContinuousParameterRange & WithScalingType(const ScalingType &value)
ContinuousParameterRange & WithMaxValue(double value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue