AWS SDK for C++  1.9.153
AWS SDK for C++
ResourceLimits.h
Go to the documentation of this file.
1 
6 #pragma once
8 
9 namespace Aws
10 {
11 namespace Utils
12 {
13 namespace Json
14 {
15  class JsonValue;
16  class JsonView;
17 } // namespace Json
18 } // namespace Utils
19 namespace SageMaker
20 {
21 namespace Model
22 {
23 
31  {
32  public:
37 
38 
43  inline int GetMaxNumberOfTrainingJobs() const{ return m_maxNumberOfTrainingJobs; }
44 
49  inline bool MaxNumberOfTrainingJobsHasBeenSet() const { return m_maxNumberOfTrainingJobsHasBeenSet; }
50 
55  inline void SetMaxNumberOfTrainingJobs(int value) { m_maxNumberOfTrainingJobsHasBeenSet = true; m_maxNumberOfTrainingJobs = value; }
56 
61  inline ResourceLimits& WithMaxNumberOfTrainingJobs(int value) { SetMaxNumberOfTrainingJobs(value); return *this;}
62 
63 
68  inline int GetMaxParallelTrainingJobs() const{ return m_maxParallelTrainingJobs; }
69 
74  inline bool MaxParallelTrainingJobsHasBeenSet() const { return m_maxParallelTrainingJobsHasBeenSet; }
75 
80  inline void SetMaxParallelTrainingJobs(int value) { m_maxParallelTrainingJobsHasBeenSet = true; m_maxParallelTrainingJobs = value; }
81 
86  inline ResourceLimits& WithMaxParallelTrainingJobs(int value) { SetMaxParallelTrainingJobs(value); return *this;}
87 
88  private:
89 
90  int m_maxNumberOfTrainingJobs;
91  bool m_maxNumberOfTrainingJobsHasBeenSet;
92 
93  int m_maxParallelTrainingJobs;
94  bool m_maxParallelTrainingJobsHasBeenSet;
95  };
96 
97 } // namespace Model
98 } // namespace SageMaker
99 } // namespace Aws
Aws::SavingsPlans::Model::SavingsPlanProductType::NOT_SET
@ NOT_SET
SageMaker_EXPORTS.h
Aws::SageMaker::Model::ResourceLimits::ResourceLimits
ResourceLimits(Aws::Utils::Json::JsonView jsonValue)
Aws::SageMaker::Model::ResourceLimits::SetMaxParallelTrainingJobs
void SetMaxParallelTrainingJobs(int value)
Definition: ResourceLimits.h:80
Aws::SageMaker::Model::ResourceLimits::MaxNumberOfTrainingJobsHasBeenSet
bool MaxNumberOfTrainingJobsHasBeenSet() const
Definition: ResourceLimits.h:49
Aws::SageMaker::Model::ResourceLimits::WithMaxNumberOfTrainingJobs
ResourceLimits & WithMaxNumberOfTrainingJobs(int value)
Definition: ResourceLimits.h:61
AWS_SAGEMAKER_API
#define AWS_SAGEMAKER_API
Definition: SageMaker_EXPORTS.h:28
Aws::SageMaker::Model::ResourceLimits::GetMaxNumberOfTrainingJobs
int GetMaxNumberOfTrainingJobs() const
Definition: ResourceLimits.h:43
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::SageMaker::Model::ResourceLimits
Definition: ResourceLimits.h:31
Aws::SageMaker::Model::ResourceLimits::operator=
ResourceLimits & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SageMaker::Model::ResourceLimits::ResourceLimits
ResourceLimits()
Aws::SageMaker::Model::ResourceLimits::GetMaxParallelTrainingJobs
int GetMaxParallelTrainingJobs() const
Definition: ResourceLimits.h:68
Aws::SageMaker::Model::ResourceLimits::WithMaxParallelTrainingJobs
ResourceLimits & WithMaxParallelTrainingJobs(int value)
Definition: ResourceLimits.h:86
Aws::SageMaker::Model::ResourceLimits::MaxParallelTrainingJobsHasBeenSet
bool MaxParallelTrainingJobsHasBeenSet() const
Definition: ResourceLimits.h:74
Aws::SageMaker::Model::ResourceLimits::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::SageMaker::Model::ResourceLimits::SetMaxNumberOfTrainingJobs
void SetMaxNumberOfTrainingJobs(int value)
Definition: ResourceLimits.h:55