134 lines
3.9 KiB
C++
134 lines
3.9 KiB
C++
/**
|
|
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
|
|
* SPDX-License-Identifier: Apache-2.0.
|
|
*/
|
|
|
|
#pragma once
|
|
#include <aws/sagemaker/SageMaker_EXPORTS.h>
|
|
#include <aws/core/utils/memory/stl/AWSString.h>
|
|
#include <utility>
|
|
|
|
namespace Aws
|
|
{
|
|
namespace Utils
|
|
{
|
|
namespace Json
|
|
{
|
|
class JsonValue;
|
|
class JsonView;
|
|
} // namespace Json
|
|
} // namespace Utils
|
|
namespace SageMaker
|
|
{
|
|
namespace Model
|
|
{
|
|
|
|
/**
|
|
* <p>Defines the possible values for an integer hyperparameter.</p><p><h3>See
|
|
* Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-2017-07-24/IntegerParameterRangeSpecification">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_SAGEMAKER_API IntegerParameterRangeSpecification
|
|
{
|
|
public:
|
|
IntegerParameterRangeSpecification();
|
|
IntegerParameterRangeSpecification(Aws::Utils::Json::JsonView jsonValue);
|
|
IntegerParameterRangeSpecification& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline const Aws::String& GetMinValue() const{ return m_minValue; }
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline void SetMinValue(const Aws::String& value) { m_minValueHasBeenSet = true; m_minValue = value; }
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline void SetMinValue(Aws::String&& value) { m_minValueHasBeenSet = true; m_minValue = std::move(value); }
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline void SetMinValue(const char* value) { m_minValueHasBeenSet = true; m_minValue.assign(value); }
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMinValue(const Aws::String& value) { SetMinValue(value); return *this;}
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMinValue(Aws::String&& value) { SetMinValue(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The minimum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMinValue(const char* value) { SetMinValue(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline const Aws::String& GetMaxValue() const{ return m_maxValue; }
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline void SetMaxValue(const Aws::String& value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline void SetMaxValue(Aws::String&& value) { m_maxValueHasBeenSet = true; m_maxValue = std::move(value); }
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline void SetMaxValue(const char* value) { m_maxValueHasBeenSet = true; m_maxValue.assign(value); }
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMaxValue(const Aws::String& value) { SetMaxValue(value); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMaxValue(Aws::String&& value) { SetMaxValue(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum integer value allowed.</p>
|
|
*/
|
|
inline IntegerParameterRangeSpecification& WithMaxValue(const char* value) { SetMaxValue(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_minValue;
|
|
bool m_minValueHasBeenSet;
|
|
|
|
Aws::String m_maxValue;
|
|
bool m_maxValueHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace SageMaker
|
|
} // namespace Aws
|