AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperParameterTrainingJobSummary.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/sagemaker/model/TrainingJobStatus.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/sagemaker/model/FinalHyperParameterTuningJobObjectiveMetric.h>
13#include <aws/sagemaker/model/ObjectiveStatus.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace SageMaker
27{
28namespace Model
29{
30
38 {
39 public:
43 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetTrainingJobDefinitionName() const{ return m_trainingJobDefinitionName; }
51 inline bool TrainingJobDefinitionNameHasBeenSet() const { return m_trainingJobDefinitionNameHasBeenSet; }
52 inline void SetTrainingJobDefinitionName(const Aws::String& value) { m_trainingJobDefinitionNameHasBeenSet = true; m_trainingJobDefinitionName = value; }
53 inline void SetTrainingJobDefinitionName(Aws::String&& value) { m_trainingJobDefinitionNameHasBeenSet = true; m_trainingJobDefinitionName = std::move(value); }
54 inline void SetTrainingJobDefinitionName(const char* value) { m_trainingJobDefinitionNameHasBeenSet = true; m_trainingJobDefinitionName.assign(value); }
59
61
64 inline const Aws::String& GetTrainingJobName() const{ return m_trainingJobName; }
65 inline bool TrainingJobNameHasBeenSet() const { return m_trainingJobNameHasBeenSet; }
66 inline void SetTrainingJobName(const Aws::String& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = value; }
67 inline void SetTrainingJobName(Aws::String&& value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName = std::move(value); }
68 inline void SetTrainingJobName(const char* value) { m_trainingJobNameHasBeenSet = true; m_trainingJobName.assign(value); }
70 inline HyperParameterTrainingJobSummary& WithTrainingJobName(Aws::String&& value) { SetTrainingJobName(std::move(value)); return *this;}
71 inline HyperParameterTrainingJobSummary& WithTrainingJobName(const char* value) { SetTrainingJobName(value); return *this;}
73
75
78 inline const Aws::String& GetTrainingJobArn() const{ return m_trainingJobArn; }
79 inline bool TrainingJobArnHasBeenSet() const { return m_trainingJobArnHasBeenSet; }
80 inline void SetTrainingJobArn(const Aws::String& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = value; }
81 inline void SetTrainingJobArn(Aws::String&& value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn = std::move(value); }
82 inline void SetTrainingJobArn(const char* value) { m_trainingJobArnHasBeenSet = true; m_trainingJobArn.assign(value); }
84 inline HyperParameterTrainingJobSummary& WithTrainingJobArn(Aws::String&& value) { SetTrainingJobArn(std::move(value)); return *this;}
85 inline HyperParameterTrainingJobSummary& WithTrainingJobArn(const char* value) { SetTrainingJobArn(value); return *this;}
87
89
92 inline const Aws::String& GetTuningJobName() const{ return m_tuningJobName; }
93 inline bool TuningJobNameHasBeenSet() const { return m_tuningJobNameHasBeenSet; }
94 inline void SetTuningJobName(const Aws::String& value) { m_tuningJobNameHasBeenSet = true; m_tuningJobName = value; }
95 inline void SetTuningJobName(Aws::String&& value) { m_tuningJobNameHasBeenSet = true; m_tuningJobName = std::move(value); }
96 inline void SetTuningJobName(const char* value) { m_tuningJobNameHasBeenSet = true; m_tuningJobName.assign(value); }
98 inline HyperParameterTrainingJobSummary& WithTuningJobName(Aws::String&& value) { SetTuningJobName(std::move(value)); return *this;}
99 inline HyperParameterTrainingJobSummary& WithTuningJobName(const char* value) { SetTuningJobName(value); return *this;}
101
103
106 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
107 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
108 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
109 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
113
115
118 inline const Aws::Utils::DateTime& GetTrainingStartTime() const{ return m_trainingStartTime; }
119 inline bool TrainingStartTimeHasBeenSet() const { return m_trainingStartTimeHasBeenSet; }
120 inline void SetTrainingStartTime(const Aws::Utils::DateTime& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = value; }
121 inline void SetTrainingStartTime(Aws::Utils::DateTime&& value) { m_trainingStartTimeHasBeenSet = true; m_trainingStartTime = std::move(value); }
125
127
134 inline const Aws::Utils::DateTime& GetTrainingEndTime() const{ return m_trainingEndTime; }
135 inline bool TrainingEndTimeHasBeenSet() const { return m_trainingEndTimeHasBeenSet; }
136 inline void SetTrainingEndTime(const Aws::Utils::DateTime& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = value; }
137 inline void SetTrainingEndTime(Aws::Utils::DateTime&& value) { m_trainingEndTimeHasBeenSet = true; m_trainingEndTime = std::move(value); }
141
143
146 inline const TrainingJobStatus& GetTrainingJobStatus() const{ return m_trainingJobStatus; }
147 inline bool TrainingJobStatusHasBeenSet() const { return m_trainingJobStatusHasBeenSet; }
148 inline void SetTrainingJobStatus(const TrainingJobStatus& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = value; }
149 inline void SetTrainingJobStatus(TrainingJobStatus&& value) { m_trainingJobStatusHasBeenSet = true; m_trainingJobStatus = std::move(value); }
153
155
158 inline const Aws::Map<Aws::String, Aws::String>& GetTunedHyperParameters() const{ return m_tunedHyperParameters; }
159 inline bool TunedHyperParametersHasBeenSet() const { return m_tunedHyperParametersHasBeenSet; }
160 inline void SetTunedHyperParameters(const Aws::Map<Aws::String, Aws::String>& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters = value; }
161 inline void SetTunedHyperParameters(Aws::Map<Aws::String, Aws::String>&& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters = std::move(value); }
164 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(const Aws::String& key, const Aws::String& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(key, value); return *this; }
165 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(Aws::String&& key, const Aws::String& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(std::move(key), value); return *this; }
166 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(const Aws::String& key, Aws::String&& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(key, std::move(value)); return *this; }
167 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(Aws::String&& key, Aws::String&& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(std::move(key), std::move(value)); return *this; }
168 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(const char* key, Aws::String&& value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(key, std::move(value)); return *this; }
169 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(Aws::String&& key, const char* value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(std::move(key), value); return *this; }
170 inline HyperParameterTrainingJobSummary& AddTunedHyperParameters(const char* key, const char* value) { m_tunedHyperParametersHasBeenSet = true; m_tunedHyperParameters.emplace(key, value); return *this; }
172
174
177 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
178 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
179 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
180 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
181 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
183 inline HyperParameterTrainingJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
184 inline HyperParameterTrainingJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
186
188
194 inline const FinalHyperParameterTuningJobObjectiveMetric& GetFinalHyperParameterTuningJobObjectiveMetric() const{ return m_finalHyperParameterTuningJobObjectiveMetric; }
195 inline bool FinalHyperParameterTuningJobObjectiveMetricHasBeenSet() const { return m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet; }
196 inline void SetFinalHyperParameterTuningJobObjectiveMetric(const FinalHyperParameterTuningJobObjectiveMetric& value) { m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet = true; m_finalHyperParameterTuningJobObjectiveMetric = value; }
197 inline void SetFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetric&& value) { m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet = true; m_finalHyperParameterTuningJobObjectiveMetric = std::move(value); }
201
203
213 inline const ObjectiveStatus& GetObjectiveStatus() const{ return m_objectiveStatus; }
214 inline bool ObjectiveStatusHasBeenSet() const { return m_objectiveStatusHasBeenSet; }
215 inline void SetObjectiveStatus(const ObjectiveStatus& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = value; }
216 inline void SetObjectiveStatus(ObjectiveStatus&& value) { m_objectiveStatusHasBeenSet = true; m_objectiveStatus = std::move(value); }
220 private:
221
222 Aws::String m_trainingJobDefinitionName;
223 bool m_trainingJobDefinitionNameHasBeenSet = false;
224
225 Aws::String m_trainingJobName;
226 bool m_trainingJobNameHasBeenSet = false;
227
228 Aws::String m_trainingJobArn;
229 bool m_trainingJobArnHasBeenSet = false;
230
231 Aws::String m_tuningJobName;
232 bool m_tuningJobNameHasBeenSet = false;
233
234 Aws::Utils::DateTime m_creationTime;
235 bool m_creationTimeHasBeenSet = false;
236
237 Aws::Utils::DateTime m_trainingStartTime;
238 bool m_trainingStartTimeHasBeenSet = false;
239
240 Aws::Utils::DateTime m_trainingEndTime;
241 bool m_trainingEndTimeHasBeenSet = false;
242
243 TrainingJobStatus m_trainingJobStatus;
244 bool m_trainingJobStatusHasBeenSet = false;
245
246 Aws::Map<Aws::String, Aws::String> m_tunedHyperParameters;
247 bool m_tunedHyperParametersHasBeenSet = false;
248
249 Aws::String m_failureReason;
250 bool m_failureReasonHasBeenSet = false;
251
252 FinalHyperParameterTuningJobObjectiveMetric m_finalHyperParameterTuningJobObjectiveMetric;
253 bool m_finalHyperParameterTuningJobObjectiveMetricHasBeenSet = false;
254
255 ObjectiveStatus m_objectiveStatus;
256 bool m_objectiveStatusHasBeenSet = false;
257 };
258
259} // namespace Model
260} // namespace SageMaker
261} // namespace Aws
HyperParameterTrainingJobSummary & WithFailureReason(Aws::String &&value)
HyperParameterTrainingJobSummary & WithObjectiveStatus(ObjectiveStatus &&value)
HyperParameterTrainingJobSummary & WithTrainingJobArn(const Aws::String &value)
void SetTunedHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTrainingJobSummary & WithTunedHyperParameters(const Aws::Map< Aws::String, Aws::String > &value)
HyperParameterTrainingJobSummary & WithTrainingStartTime(Aws::Utils::DateTime &&value)
HyperParameterTrainingJobSummary & WithTrainingJobName(const Aws::String &value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(const char *key, const char *value)
HyperParameterTrainingJobSummary & WithFailureReason(const char *value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(const char *key, Aws::String &&value)
AWS_SAGEMAKER_API HyperParameterTrainingJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTrainingJobSummary & WithCreationTime(const Aws::Utils::DateTime &value)
const FinalHyperParameterTuningJobObjectiveMetric & GetFinalHyperParameterTuningJobObjectiveMetric() const
HyperParameterTrainingJobSummary & WithTrainingJobStatus(const TrainingJobStatus &value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(const Aws::String &key, Aws::String &&value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(const Aws::String &key, const Aws::String &value)
HyperParameterTrainingJobSummary & WithTrainingJobDefinitionName(const Aws::String &value)
HyperParameterTrainingJobSummary & WithTrainingStartTime(const Aws::Utils::DateTime &value)
HyperParameterTrainingJobSummary & WithFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetric &&value)
void SetFinalHyperParameterTuningJobObjectiveMetric(const FinalHyperParameterTuningJobObjectiveMetric &value)
const Aws::Map< Aws::String, Aws::String > & GetTunedHyperParameters() const
HyperParameterTrainingJobSummary & WithTrainingJobDefinitionName(Aws::String &&value)
HyperParameterTrainingJobSummary & WithTuningJobName(const Aws::String &value)
AWS_SAGEMAKER_API HyperParameterTrainingJobSummary(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTrainingJobSummary & WithTrainingJobArn(Aws::String &&value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(Aws::String &&key, const Aws::String &value)
HyperParameterTrainingJobSummary & WithTrainingEndTime(Aws::Utils::DateTime &&value)
HyperParameterTrainingJobSummary & WithFailureReason(const Aws::String &value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(Aws::String &&key, Aws::String &&value)
void SetTunedHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
HyperParameterTrainingJobSummary & AddTunedHyperParameters(Aws::String &&key, const char *value)
HyperParameterTrainingJobSummary & WithCreationTime(Aws::Utils::DateTime &&value)
HyperParameterTrainingJobSummary & WithObjectiveStatus(const ObjectiveStatus &value)
HyperParameterTrainingJobSummary & WithTuningJobName(const char *value)
void SetFinalHyperParameterTuningJobObjectiveMetric(FinalHyperParameterTuningJobObjectiveMetric &&value)
HyperParameterTrainingJobSummary & WithTrainingJobName(Aws::String &&value)
HyperParameterTrainingJobSummary & WithTrainingJobArn(const char *value)
HyperParameterTrainingJobSummary & WithFinalHyperParameterTuningJobObjectiveMetric(const FinalHyperParameterTuningJobObjectiveMetric &value)
HyperParameterTrainingJobSummary & WithTrainingEndTime(const Aws::Utils::DateTime &value)
HyperParameterTrainingJobSummary & WithTrainingJobName(const char *value)
HyperParameterTrainingJobSummary & WithTunedHyperParameters(Aws::Map< Aws::String, Aws::String > &&value)
HyperParameterTrainingJobSummary & WithTrainingJobStatus(TrainingJobStatus &&value)
HyperParameterTrainingJobSummary & WithTrainingJobDefinitionName(const char *value)
HyperParameterTrainingJobSummary & WithTuningJobName(Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue