AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
IntegerParameterRange.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 IntegerParameterRange() = default;
38 AWS_FORECASTSERVICE_API IntegerParameterRange(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FORECASTSERVICE_API IntegerParameterRange& operator=(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 IntegerParameterRange& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
54
56
59 inline int GetMaxValue() const { return m_maxValue; }
60 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
61 inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
62 inline IntegerParameterRange& WithMaxValue(int value) { SetMaxValue(value); return *this;}
64
66
69 inline int GetMinValue() const { return m_minValue; }
70 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
71 inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
72 inline IntegerParameterRange& WithMinValue(int value) { SetMinValue(value); return *this;}
74
76
91 inline ScalingType GetScalingType() const { return m_scalingType; }
92 inline bool ScalingTypeHasBeenSet() const { return m_scalingTypeHasBeenSet; }
93 inline void SetScalingType(ScalingType value) { m_scalingTypeHasBeenSet = true; m_scalingType = value; }
94 inline IntegerParameterRange& WithScalingType(ScalingType value) { SetScalingType(value); return *this;}
96 private:
97
98 Aws::String m_name;
99 bool m_nameHasBeenSet = false;
100
101 int m_maxValue{0};
102 bool m_maxValueHasBeenSet = false;
103
104 int m_minValue{0};
105 bool m_minValueHasBeenSet = false;
106
107 ScalingType m_scalingType{ScalingType::NOT_SET};
108 bool m_scalingTypeHasBeenSet = false;
109 };
110
111} // namespace Model
112} // namespace ForecastService
113} // namespace Aws
AWS_FORECASTSERVICE_API IntegerParameterRange & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRange & WithName(NameT &&value)
AWS_FORECASTSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
IntegerParameterRange & WithScalingType(ScalingType value)
AWS_FORECASTSERVICE_API IntegerParameterRange()=default
AWS_FORECASTSERVICE_API IntegerParameterRange(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue