AWS SDK for C++  1.9.158
AWS SDK for C++
IntegerParameterRangeSpecification.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace SageMaker
22 {
23 namespace Model
24 {
25 
33  {
34  public:
39 
40 
44  inline const Aws::String& GetMinValue() const{ return m_minValue; }
45 
49  inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
50 
54  inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
55 
59  inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
60 
64  inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
65 
69  inline IntegerParameterRangeSpecification& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
70 
74  inline IntegerParameterRangeSpecification& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
75 
79  inline IntegerParameterRangeSpecification& WithMinValue(const char* value) { SetMinValue(value); return *this;}
80 
81 
85  inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
86 
90  inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
91 
95  inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
96 
100  inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
101 
105  inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
106 
110  inline IntegerParameterRangeSpecification& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
111 
115  inline IntegerParameterRangeSpecification& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
116 
120  inline IntegerParameterRangeSpecification& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
121 
122  private:
123 
124  Aws::String m_minValue;
125  bool m_minValueHasBeenSet;
126 
127  Aws::String m_maxValue;
128  bool m_maxValueHasBeenSet;
129  };
130 
131 } // namespace Model
132 } // namespace SageMaker
133 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMaxValue
void SetMaxValue(const Aws::String &value)
Definition: IntegerParameterRangeSpecification.h:95
Aws::SageMaker::Model::IntegerParameterRangeSpecification::GetMinValue
const Aws::String & GetMinValue() const
Definition: IntegerParameterRangeSpecification.h:44
Aws::SageMaker::Model::IntegerParameterRangeSpecification::IntegerParameterRangeSpecification
IntegerParameterRangeSpecification()
Aws::SageMaker::Model::IntegerParameterRangeSpecification::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMaxValue
IntegerParameterRangeSpecification & WithMaxValue(const Aws::String &value)
Definition: IntegerParameterRangeSpecification.h:110
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMinValue
IntegerParameterRangeSpecification & WithMinValue(const Aws::String &value)
Definition: IntegerParameterRangeSpecification.h:69
Aws::SageMaker::Model::IntegerParameterRangeSpecification::GetMaxValue
const Aws::String & GetMaxValue() const
Definition: IntegerParameterRangeSpecification.h:85
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMinValue
IntegerParameterRangeSpecification & WithMinValue(const char *value)
Definition: IntegerParameterRangeSpecification.h:79
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMinValue
IntegerParameterRangeSpecification & WithMinValue(Aws::String &&value)
Definition: IntegerParameterRangeSpecification.h:74
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::IntegerParameterRangeSpecification::operator=
IntegerParameterRangeSpecification & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::IntegerParameterRangeSpecification::MinValueHasBeenSet
bool MinValueHasBeenSet() const
Definition: IntegerParameterRangeSpecification.h:49
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMaxValue
void SetMaxValue(Aws::String &&value)
Definition: IntegerParameterRangeSpecification.h:100
Aws::SageMaker::Model::IntegerParameterRangeSpecification::IntegerParameterRangeSpecification
IntegerParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMaxValue
IntegerParameterRangeSpecification & WithMaxValue(const char *value)
Definition: IntegerParameterRangeSpecification.h:120
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMaxValue
void SetMaxValue(const char *value)
Definition: IntegerParameterRangeSpecification.h:105
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::IntegerParameterRangeSpecification::MaxValueHasBeenSet
bool MaxValueHasBeenSet() const
Definition: IntegerParameterRangeSpecification.h:90
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMinValue
void SetMinValue(const char *value)
Definition: IntegerParameterRangeSpecification.h:64
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMinValue
void SetMinValue(Aws::String &&value)
Definition: IntegerParameterRangeSpecification.h:59
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SageMaker::Model::IntegerParameterRangeSpecification::WithMaxValue
IntegerParameterRangeSpecification & WithMaxValue(Aws::String &&value)
Definition: IntegerParameterRangeSpecification.h:115
Aws::SageMaker::Model::IntegerParameterRangeSpecification::SetMinValue
void SetMinValue(const Aws::String &value)
Definition: IntegerParameterRangeSpecification.h:54
Aws::SageMaker::Model::IntegerParameterRangeSpecification
Definition: IntegerParameterRangeSpecification.h:33