AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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