This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-personalize/include/aws/personalize/model/IntegerHyperParameterRange.h

138 lines
3.7 KiB
C++

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/personalize/Personalize_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 Personalize
{
namespace Model
{
/**
* <p>Provides the name and range of an integer-valued
* hyperparameter.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/IntegerHyperParameterRange">AWS
* API Reference</a></p>
*/
class AWS_PERSONALIZE_API IntegerHyperParameterRange
{
public:
IntegerHyperParameterRange();
IntegerHyperParameterRange(Aws::Utils::Json::JsonView jsonValue);
IntegerHyperParameterRange& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The name of the hyperparameter.</p>
*/
inline const Aws::String& GetName() const{ return m_name; }
/**
* <p>The name of the hyperparameter.</p>
*/
inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
/**
* <p>The name of the hyperparameter.</p>
*/
inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
/**
* <p>The name of the hyperparameter.</p>
*/
inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
/**
* <p>The name of the hyperparameter.</p>
*/
inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
/**
* <p>The name of the hyperparameter.</p>
*/
inline IntegerHyperParameterRange& WithName(const Aws::String& value) { SetName(value); return *this;}
/**
* <p>The name of the hyperparameter.</p>
*/
inline IntegerHyperParameterRange& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
/**
* <p>The name of the hyperparameter.</p>
*/
inline IntegerHyperParameterRange& WithName(const char* value) { SetName(value); return *this;}
/**
* <p>The minimum allowable value for the hyperparameter.</p>
*/
inline int GetMinValue() const{ return m_minValue; }
/**
* <p>The minimum allowable value for the hyperparameter.</p>
*/
inline bool MinValueHasBeenSet() const { return m_minValueHasBeenSet; }
/**
* <p>The minimum allowable value for the hyperparameter.</p>
*/
inline void SetMinValue(int value) { m_minValueHasBeenSet = true; m_minValue = value; }
/**
* <p>The minimum allowable value for the hyperparameter.</p>
*/
inline IntegerHyperParameterRange& WithMinValue(int value) { SetMinValue(value); return *this;}
/**
* <p>The maximum allowable value for the hyperparameter.</p>
*/
inline int GetMaxValue() const{ return m_maxValue; }
/**
* <p>The maximum allowable value for the hyperparameter.</p>
*/
inline bool MaxValueHasBeenSet() const { return m_maxValueHasBeenSet; }
/**
* <p>The maximum allowable value for the hyperparameter.</p>
*/
inline void SetMaxValue(int value) { m_maxValueHasBeenSet = true; m_maxValue = value; }
/**
* <p>The maximum allowable value for the hyperparameter.</p>
*/
inline IntegerHyperParameterRange& WithMaxValue(int value) { SetMaxValue(value); return *this;}
private:
Aws::String m_name;
bool m_nameHasBeenSet;
int m_minValue;
bool m_minValueHasBeenSet;
int m_maxValue;
bool m_maxValueHasBeenSet;
};
} // namespace Model
} // namespace Personalize
} // namespace Aws