/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Specifies the maximum number of training jobs and parallel training jobs that
* a hyperparameter tuning job can launch.See Also:
AWS
* API Reference
The maximum number of training jobs that a hyperparameter tuning job can * launch.
*/ inline int GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; } /** *The maximum number of training jobs that a hyperparameter tuning job can * launch.
*/ inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; } /** *The maximum number of training jobs that a hyperparameter tuning job can * launch.
*/ inline void SetMaxNumberOfTrainingJobs(int value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; } /** *The maximum number of training jobs that a hyperparameter tuning job can * launch.
*/ inline ResourceLimits& WithMaxNumberOfTrainingJobs(int value) { SetMaxNumberOfTrainingJobs(value); return *this;} /** *The maximum number of concurrent training jobs that a hyperparameter tuning * job can launch.
*/ inline int GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; } /** *The maximum number of concurrent training jobs that a hyperparameter tuning * job can launch.
*/ inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; } /** *The maximum number of concurrent training jobs that a hyperparameter tuning * job can launch.
*/ inline void SetMaxParallelTrainingJobs(int value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; } /** *The maximum number of concurrent training jobs that a hyperparameter tuning * job can launch.
*/ inline ResourceLimits& WithMaxParallelTrainingJobs(int value) { SetMaxParallelTrainingJobs(value); return *this;} /** *The maximum time in seconds that a hyperparameter tuning job can run.
*/ inline int GetMaxRuntimeInSeconds() const{ return m_maxRuntimeInSeconds; } /** *The maximum time in seconds that a hyperparameter tuning job can run.
*/ inline bool MaxRuntimeInSecondsHasBeenSet() const { return m_maxRuntimeInSecondsHasBeenSet; } /** *The maximum time in seconds that a hyperparameter tuning job can run.
*/ inline void SetMaxRuntimeInSeconds(int value) { m_maxRuntimeInSecondsHasBeenSet = true; m_maxRuntimeInSeconds = value; } /** *The maximum time in seconds that a hyperparameter tuning job can run.
*/ inline ResourceLimits& WithMaxRuntimeInSeconds(int value) { SetMaxRuntimeInSeconds(value); return *this;} private: int m_maxNumberOfTrainingJobs; bool m_maxNumberOfTrainingJobsHasBeenSet = false; int m_maxParallelTrainingJobs; bool m_maxParallelTrainingJobsHasBeenSet = false; int m_maxRuntimeInSeconds; bool m_maxRuntimeInSecondsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws