AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeHyperParameterTuningJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/HyperParameterTuningJobConfig.h>
10#include <aws/sagemaker/model/HyperParameterTrainingJobDefinition.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/sagemaker/model/HyperParameterTuningJobStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sagemaker/model/TrainingJobStatusCounters.h>
15#include <aws/sagemaker/model/ObjectiveStatusCounters.h>
16#include <aws/sagemaker/model/HyperParameterTrainingJobSummary.h>
17#include <aws/sagemaker/model/HyperParameterTuningJobWarmStartConfig.h>
18#include <aws/sagemaker/model/Autotune.h>
19#include <aws/sagemaker/model/HyperParameterTuningJobCompletionDetails.h>
20#include <aws/sagemaker/model/HyperParameterTuningJobConsumedResources.h>
21#include <utility>
22
23namespace Aws
24{
25template<typename RESULT_TYPE>
26class AmazonWebServiceResult;
27
28namespace Utils
29{
30namespace Json
31{
32 class JsonValue;
33} // namespace Json
34} // namespace Utils
35namespace SageMaker
36{
37namespace Model
38{
40 {
41 public:
42 AWS_SAGEMAKER_API DescribeHyperParameterTuningJobResult() = default;
45
46
48
51 inline const Aws::String& GetHyperParameterTuningJobName() const { return m_hyperParameterTuningJobName; }
52 template<typename HyperParameterTuningJobNameT = Aws::String>
53 void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = std::forward<HyperParameterTuningJobNameT>(value); }
54 template<typename HyperParameterTuningJobNameT = Aws::String>
55 DescribeHyperParameterTuningJobResult& WithHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) { SetHyperParameterTuningJobName(std::forward<HyperParameterTuningJobNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetHyperParameterTuningJobArn() const { return m_hyperParameterTuningJobArn; }
63 template<typename HyperParameterTuningJobArnT = Aws::String>
64 void SetHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = std::forward<HyperParameterTuningJobArnT>(value); }
65 template<typename HyperParameterTuningJobArnT = Aws::String>
66 DescribeHyperParameterTuningJobResult& WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) { SetHyperParameterTuningJobArn(std::forward<HyperParameterTuningJobArnT>(value)); return *this;}
68
70
75 inline const HyperParameterTuningJobConfig& GetHyperParameterTuningJobConfig() const { return m_hyperParameterTuningJobConfig; }
76 template<typename HyperParameterTuningJobConfigT = HyperParameterTuningJobConfig>
77 void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT&& value) { m_hyperParameterTuningJobConfigHasBeenSet = true; m_hyperParameterTuningJobConfig = std::forward<HyperParameterTuningJobConfigT>(value); }
78 template<typename HyperParameterTuningJobConfigT = HyperParameterTuningJobConfig>
79 DescribeHyperParameterTuningJobResult& WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT&& value) { SetHyperParameterTuningJobConfig(std::forward<HyperParameterTuningJobConfigT>(value)); return *this;}
81
83
89 inline const HyperParameterTrainingJobDefinition& GetTrainingJobDefinition() const { return m_trainingJobDefinition; }
90 template<typename TrainingJobDefinitionT = HyperParameterTrainingJobDefinition>
91 void SetTrainingJobDefinition(TrainingJobDefinitionT&& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = std::forward<TrainingJobDefinitionT>(value); }
92 template<typename TrainingJobDefinitionT = HyperParameterTrainingJobDefinition>
93 DescribeHyperParameterTuningJobResult& WithTrainingJobDefinition(TrainingJobDefinitionT&& value) { SetTrainingJobDefinition(std::forward<TrainingJobDefinitionT>(value)); return *this;}
95
97
102 inline const Aws::Vector<HyperParameterTrainingJobDefinition>& GetTrainingJobDefinitions() const { return m_trainingJobDefinitions; }
103 template<typename TrainingJobDefinitionsT = Aws::Vector<HyperParameterTrainingJobDefinition>>
104 void SetTrainingJobDefinitions(TrainingJobDefinitionsT&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions = std::forward<TrainingJobDefinitionsT>(value); }
105 template<typename TrainingJobDefinitionsT = Aws::Vector<HyperParameterTrainingJobDefinition>>
106 DescribeHyperParameterTuningJobResult& WithTrainingJobDefinitions(TrainingJobDefinitionsT&& value) { SetTrainingJobDefinitions(std::forward<TrainingJobDefinitionsT>(value)); return *this;}
107 template<typename TrainingJobDefinitionsT = HyperParameterTrainingJobDefinition>
108 DescribeHyperParameterTuningJobResult& AddTrainingJobDefinitions(TrainingJobDefinitionsT&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions.emplace_back(std::forward<TrainingJobDefinitionsT>(value)); return *this; }
110
112
115 inline HyperParameterTuningJobStatus GetHyperParameterTuningJobStatus() const { return m_hyperParameterTuningJobStatus; }
116 inline void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = value; }
119
121
124 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
125 template<typename CreationTimeT = Aws::Utils::DateTime>
126 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
127 template<typename CreationTimeT = Aws::Utils::DateTime>
128 DescribeHyperParameterTuningJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
130
132
135 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const { return m_hyperParameterTuningEndTime; }
136 template<typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
137 void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = std::forward<HyperParameterTuningEndTimeT>(value); }
138 template<typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
139 DescribeHyperParameterTuningJobResult& WithHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) { SetHyperParameterTuningEndTime(std::forward<HyperParameterTuningEndTimeT>(value)); return *this;}
141
143
146 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
147 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
148 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
149 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
150 DescribeHyperParameterTuningJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
152
154
160 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const { return m_trainingJobStatusCounters; }
161 template<typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
162 void SetTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = std::forward<TrainingJobStatusCountersT>(value); }
163 template<typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
164 DescribeHyperParameterTuningJobResult& WithTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) { SetTrainingJobStatusCounters(std::forward<TrainingJobStatusCountersT>(value)); return *this;}
166
168
174 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const { return m_objectiveStatusCounters; }
175 template<typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
176 void SetObjectiveStatusCounters(ObjectiveStatusCountersT&& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = std::forward<ObjectiveStatusCountersT>(value); }
177 template<typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
178 DescribeHyperParameterTuningJobResult& WithObjectiveStatusCounters(ObjectiveStatusCountersT&& value) { SetObjectiveStatusCounters(std::forward<ObjectiveStatusCountersT>(value)); return *this;}
180
182
188 inline const HyperParameterTrainingJobSummary& GetBestTrainingJob() const { return m_bestTrainingJob; }
189 template<typename BestTrainingJobT = HyperParameterTrainingJobSummary>
190 void SetBestTrainingJob(BestTrainingJobT&& value) { m_bestTrainingJobHasBeenSet = true; m_bestTrainingJob = std::forward<BestTrainingJobT>(value); }
191 template<typename BestTrainingJobT = HyperParameterTrainingJobSummary>
192 DescribeHyperParameterTuningJobResult& WithBestTrainingJob(BestTrainingJobT&& value) { SetBestTrainingJob(std::forward<BestTrainingJobT>(value)); return *this;}
194
196
205 inline const HyperParameterTrainingJobSummary& GetOverallBestTrainingJob() const { return m_overallBestTrainingJob; }
206 template<typename OverallBestTrainingJobT = HyperParameterTrainingJobSummary>
207 void SetOverallBestTrainingJob(OverallBestTrainingJobT&& value) { m_overallBestTrainingJobHasBeenSet = true; m_overallBestTrainingJob = std::forward<OverallBestTrainingJobT>(value); }
208 template<typename OverallBestTrainingJobT = HyperParameterTrainingJobSummary>
209 DescribeHyperParameterTuningJobResult& WithOverallBestTrainingJob(OverallBestTrainingJobT&& value) { SetOverallBestTrainingJob(std::forward<OverallBestTrainingJobT>(value)); return *this;}
211
213
219 inline const HyperParameterTuningJobWarmStartConfig& GetWarmStartConfig() const { return m_warmStartConfig; }
220 template<typename WarmStartConfigT = HyperParameterTuningJobWarmStartConfig>
221 void SetWarmStartConfig(WarmStartConfigT&& value) { m_warmStartConfigHasBeenSet = true; m_warmStartConfig = std::forward<WarmStartConfigT>(value); }
222 template<typename WarmStartConfigT = HyperParameterTuningJobWarmStartConfig>
223 DescribeHyperParameterTuningJobResult& WithWarmStartConfig(WarmStartConfigT&& value) { SetWarmStartConfig(std::forward<WarmStartConfigT>(value)); return *this;}
225
227
231 inline const Autotune& GetAutotune() const { return m_autotune; }
232 template<typename AutotuneT = Autotune>
233 void SetAutotune(AutotuneT&& value) { m_autotuneHasBeenSet = true; m_autotune = std::forward<AutotuneT>(value); }
234 template<typename AutotuneT = Autotune>
235 DescribeHyperParameterTuningJobResult& WithAutotune(AutotuneT&& value) { SetAutotune(std::forward<AutotuneT>(value)); return *this;}
237
239
242 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
243 template<typename FailureReasonT = Aws::String>
244 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
245 template<typename FailureReasonT = Aws::String>
246 DescribeHyperParameterTuningJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
248
250
256 inline const HyperParameterTuningJobCompletionDetails& GetTuningJobCompletionDetails() const { return m_tuningJobCompletionDetails; }
257 template<typename TuningJobCompletionDetailsT = HyperParameterTuningJobCompletionDetails>
258 void SetTuningJobCompletionDetails(TuningJobCompletionDetailsT&& value) { m_tuningJobCompletionDetailsHasBeenSet = true; m_tuningJobCompletionDetails = std::forward<TuningJobCompletionDetailsT>(value); }
259 template<typename TuningJobCompletionDetailsT = HyperParameterTuningJobCompletionDetails>
260 DescribeHyperParameterTuningJobResult& WithTuningJobCompletionDetails(TuningJobCompletionDetailsT&& value) { SetTuningJobCompletionDetails(std::forward<TuningJobCompletionDetailsT>(value)); return *this;}
262
264
265 inline const HyperParameterTuningJobConsumedResources& GetConsumedResources() const { return m_consumedResources; }
266 template<typename ConsumedResourcesT = HyperParameterTuningJobConsumedResources>
267 void SetConsumedResources(ConsumedResourcesT&& value) { m_consumedResourcesHasBeenSet = true; m_consumedResources = std::forward<ConsumedResourcesT>(value); }
268 template<typename ConsumedResourcesT = HyperParameterTuningJobConsumedResources>
269 DescribeHyperParameterTuningJobResult& WithConsumedResources(ConsumedResourcesT&& value) { SetConsumedResources(std::forward<ConsumedResourcesT>(value)); return *this;}
271
273
274 inline const Aws::String& GetRequestId() const { return m_requestId; }
275 template<typename RequestIdT = Aws::String>
276 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
277 template<typename RequestIdT = Aws::String>
278 DescribeHyperParameterTuningJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
280 private:
281
282 Aws::String m_hyperParameterTuningJobName;
283 bool m_hyperParameterTuningJobNameHasBeenSet = false;
284
285 Aws::String m_hyperParameterTuningJobArn;
286 bool m_hyperParameterTuningJobArnHasBeenSet = false;
287
288 HyperParameterTuningJobConfig m_hyperParameterTuningJobConfig;
289 bool m_hyperParameterTuningJobConfigHasBeenSet = false;
290
291 HyperParameterTrainingJobDefinition m_trainingJobDefinition;
292 bool m_trainingJobDefinitionHasBeenSet = false;
293
295 bool m_trainingJobDefinitionsHasBeenSet = false;
296
298 bool m_hyperParameterTuningJobStatusHasBeenSet = false;
299
300 Aws::Utils::DateTime m_creationTime{};
301 bool m_creationTimeHasBeenSet = false;
302
303 Aws::Utils::DateTime m_hyperParameterTuningEndTime{};
304 bool m_hyperParameterTuningEndTimeHasBeenSet = false;
305
306 Aws::Utils::DateTime m_lastModifiedTime{};
307 bool m_lastModifiedTimeHasBeenSet = false;
308
309 TrainingJobStatusCounters m_trainingJobStatusCounters;
310 bool m_trainingJobStatusCountersHasBeenSet = false;
311
312 ObjectiveStatusCounters m_objectiveStatusCounters;
313 bool m_objectiveStatusCountersHasBeenSet = false;
314
315 HyperParameterTrainingJobSummary m_bestTrainingJob;
316 bool m_bestTrainingJobHasBeenSet = false;
317
318 HyperParameterTrainingJobSummary m_overallBestTrainingJob;
319 bool m_overallBestTrainingJobHasBeenSet = false;
320
321 HyperParameterTuningJobWarmStartConfig m_warmStartConfig;
322 bool m_warmStartConfigHasBeenSet = false;
323
324 Autotune m_autotune;
325 bool m_autotuneHasBeenSet = false;
326
327 Aws::String m_failureReason;
328 bool m_failureReasonHasBeenSet = false;
329
330 HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails;
331 bool m_tuningJobCompletionDetailsHasBeenSet = false;
332
333 HyperParameterTuningJobConsumedResources m_consumedResources;
334 bool m_consumedResourcesHasBeenSet = false;
335
336 Aws::String m_requestId;
337 bool m_requestIdHasBeenSet = false;
338 };
339
340} // namespace Model
341} // namespace SageMaker
342} // namespace Aws
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinition(TrainingJobDefinitionT &&value)
DescribeHyperParameterTuningJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
AWS_SAGEMAKER_API DescribeHyperParameterTuningJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< HyperParameterTrainingJobDefinition > & GetTrainingJobDefinitions() const
DescribeHyperParameterTuningJobResult & WithObjectiveStatusCounters(ObjectiveStatusCountersT &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT &&value)
DescribeHyperParameterTuningJobResult & WithFailureReason(FailureReasonT &&value)
DescribeHyperParameterTuningJobResult & WithWarmStartConfig(WarmStartConfigT &&value)
const HyperParameterTuningJobWarmStartConfig & GetWarmStartConfig() const
DescribeHyperParameterTuningJobResult & WithRequestId(RequestIdT &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfigT &&value)
AWS_SAGEMAKER_API DescribeHyperParameterTuningJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHyperParameterTuningJobResult & WithTuningJobCompletionDetails(TuningJobCompletionDetailsT &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningEndTime(HyperParameterTuningEndTimeT &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobName(HyperParameterTuningJobNameT &&value)
DescribeHyperParameterTuningJobResult & WithConsumedResources(ConsumedResourcesT &&value)
const HyperParameterTrainingJobDefinition & GetTrainingJobDefinition() const
DescribeHyperParameterTuningJobResult & WithBestTrainingJob(BestTrainingJobT &&value)
DescribeHyperParameterTuningJobResult & WithAutotune(AutotuneT &&value)
DescribeHyperParameterTuningJobResult & WithCreationTime(CreationTimeT &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value)
const HyperParameterTuningJobConsumedResources & GetConsumedResources() const
DescribeHyperParameterTuningJobResult & WithTrainingJobStatusCounters(TrainingJobStatusCountersT &&value)
const HyperParameterTuningJobCompletionDetails & GetTuningJobCompletionDetails() const
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinitions(TrainingJobDefinitionsT &&value)
DescribeHyperParameterTuningJobResult & WithOverallBestTrainingJob(OverallBestTrainingJobT &&value)
DescribeHyperParameterTuningJobResult & AddTrainingJobDefinitions(TrainingJobDefinitionsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue