AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
IntegerParameterRangeSpecification.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker
22{
23namespace Model
24{
25
33 {
34 public:
38 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMinValue() const{ return m_minValue; }
46 inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
47 inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
48 inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
49 inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
50 inline IntegerParameterRangeSpecification& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
51 inline IntegerParameterRangeSpecification& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
52 inline IntegerParameterRangeSpecification& WithMinValue(const char* value) { SetMinValue(value); return *this;}
54
56
59 inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
60 inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
61 inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
62 inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
63 inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
64 inline IntegerParameterRangeSpecification& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
65 inline IntegerParameterRangeSpecification& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
66 inline IntegerParameterRangeSpecification& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
68 private:
69
70 Aws::String m_minValue;
71 bool m_minValueHasBeenSet = false;
72
73 Aws::String m_maxValue;
74 bool m_maxValueHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace SageMaker
79} // namespace Aws
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
IntegerParameterRangeSpecification & WithMinValue(Aws::String &&value)
AWS_SAGEMAKER_API IntegerParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRangeSpecification & WithMaxValue(const char *value)
IntegerParameterRangeSpecification & WithMinValue(const char *value)
IntegerParameterRangeSpecification & WithMaxValue(const Aws::String &value)
IntegerParameterRangeSpecification & WithMinValue(const Aws::String &value)
AWS_SAGEMAKER_API IntegerParameterRangeSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
IntegerParameterRangeSpecification & WithMaxValue(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue