158 lines
6.4 KiB
C++
158 lines
6.4 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>Describes the resource configuration for hyperparameter optimization
|
|
* (HPO).</p><p><h3>See Also:</h3> <a
|
|
* href="http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/HPOResourceConfig">AWS
|
|
* API Reference</a></p>
|
|
*/
|
|
class AWS_PERSONALIZE_API HPOResourceConfig
|
|
{
|
|
public:
|
|
HPOResourceConfig();
|
|
HPOResourceConfig(Aws::Utils::Json::JsonView jsonValue);
|
|
HPOResourceConfig& operator=(Aws::Utils::Json::JsonView jsonValue);
|
|
Aws::Utils::Json::JsonValue Jsonize() const;
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline const Aws::String& GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; }
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline void SetMaxNumberOfTrainingJobs(const Aws::String& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline void SetMaxNumberOfTrainingJobs(Aws::String&& value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = std::move(value); }
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline void SetMaxNumberOfTrainingJobs(const char* value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs.assign(value); }
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const Aws::String& value) { SetMaxNumberOfTrainingJobs(value); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(Aws::String&& value) { SetMaxNumberOfTrainingJobs(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum number of training jobs when you create a solution version. The
|
|
* maximum value for <code>maxNumberOfTrainingJobs</code> is <code>40</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxNumberOfTrainingJobs(const char* value) { SetMaxNumberOfTrainingJobs(value); return *this;}
|
|
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline const Aws::String& GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; }
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline void SetMaxParallelTrainingJobs(const Aws::String& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; }
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline void SetMaxParallelTrainingJobs(Aws::String&& value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = std::move(value); }
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline void SetMaxParallelTrainingJobs(const char* value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs.assign(value); }
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxParallelTrainingJobs(const Aws::String& value) { SetMaxParallelTrainingJobs(value); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxParallelTrainingJobs(Aws::String&& value) { SetMaxParallelTrainingJobs(std::move(value)); return *this;}
|
|
|
|
/**
|
|
* <p>The maximum number of parallel training jobs when you create a solution
|
|
* version. The maximum value for <code>maxParallelTrainingJobs</code> is
|
|
* <code>10</code>.</p>
|
|
*/
|
|
inline HPOResourceConfig& WithMaxParallelTrainingJobs(const char* value) { SetMaxParallelTrainingJobs(value); return *this;}
|
|
|
|
private:
|
|
|
|
Aws::String m_maxNumberOfTrainingJobs;
|
|
bool m_maxNumberOfTrainingJobsHasBeenSet;
|
|
|
|
Aws::String m_maxParallelTrainingJobs;
|
|
bool m_maxParallelTrainingJobsHasBeenSet;
|
|
};
|
|
|
|
} // namespace Model
|
|
} // namespace Personalize
|
|
} // namespace Aws
|