AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AutoMLJobCompletionCriteria.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8
9namespace Aws
10{
11namespace Utils
12{
13namespace Json
14{
15 class JsonValue;
16 class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SageMaker
20{
21namespace Model
22{
23
31 {
32 public:
33 AWS_SAGEMAKER_API AutoMLJobCompletionCriteria();
36 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
37
38
40
46 inline int GetMaxCandidates() const{ return m_maxCandidates; }
47 inline bool MaxCandidatesHasBeenSet() const { return m_maxCandidatesHasBeenSet; }
48 inline void SetMaxCandidates(int value) { m_maxCandidatesHasBeenSet = true; m_maxCandidates = value; }
49 inline AutoMLJobCompletionCriteria& WithMaxCandidates(int value) { SetMaxCandidates(value); return *this;}
51
53
66 inline int GetMaxRuntimePerTrainingJobInSeconds() const{ return m_maxRuntimePerTrainingJobInSeconds; }
67 inline bool MaxRuntimePerTrainingJobInSecondsHasBeenSet() const { return m_maxRuntimePerTrainingJobInSecondsHasBeenSet; }
68 inline void SetMaxRuntimePerTrainingJobInSeconds(int value) { m_maxRuntimePerTrainingJobInSecondsHasBeenSet = true; m_maxRuntimePerTrainingJobInSeconds = value; }
71
73
81 inline int GetMaxAutoMLJobRuntimeInSeconds() const{ return m_maxAutoMLJobRuntimeInSeconds; }
82 inline bool MaxAutoMLJobRuntimeInSecondsHasBeenSet() const { return m_maxAutoMLJobRuntimeInSecondsHasBeenSet; }
83 inline void SetMaxAutoMLJobRuntimeInSeconds(int value) { m_maxAutoMLJobRuntimeInSecondsHasBeenSet = true; m_maxAutoMLJobRuntimeInSeconds = value; }
86 private:
87
88 int m_maxCandidates;
89 bool m_maxCandidatesHasBeenSet = false;
90
91 int m_maxRuntimePerTrainingJobInSeconds;
92 bool m_maxRuntimePerTrainingJobInSecondsHasBeenSet = false;
93
94 int m_maxAutoMLJobRuntimeInSeconds;
95 bool m_maxAutoMLJobRuntimeInSecondsHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace SageMaker
100} // namespace Aws
AutoMLJobCompletionCriteria & WithMaxAutoMLJobRuntimeInSeconds(int value)
AutoMLJobCompletionCriteria & WithMaxCandidates(int value)
AWS_SAGEMAKER_API AutoMLJobCompletionCriteria(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API AutoMLJobCompletionCriteria & operator=(Aws::Utils::Json::JsonView jsonValue)
AutoMLJobCompletionCriteria & WithMaxRuntimePerTrainingJobInSeconds(int value)
Aws::Utils::Json::JsonValue JsonValue