AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
45
46
48
51 inline const Aws::String& GetHyperParameterTuningJobName() const{ return m_hyperParameterTuningJobName; }
52 inline void SetHyperParameterTuningJobName(const Aws::String& value) { m_hyperParameterTuningJobName = value; }
53 inline void SetHyperParameterTuningJobName(Aws::String&& value) { m_hyperParameterTuningJobName = std::move(value); }
54 inline void SetHyperParameterTuningJobName(const char* value) { m_hyperParameterTuningJobName.assign(value); }
59
61
64 inline const Aws::String& GetHyperParameterTuningJobArn() const{ return m_hyperParameterTuningJobArn; }
65 inline void SetHyperParameterTuningJobArn(const Aws::String& value) { m_hyperParameterTuningJobArn = value; }
66 inline void SetHyperParameterTuningJobArn(Aws::String&& value) { m_hyperParameterTuningJobArn = std::move(value); }
67 inline void SetHyperParameterTuningJobArn(const char* value) { m_hyperParameterTuningJobArn.assign(value); }
72
74
79 inline const HyperParameterTuningJobConfig& GetHyperParameterTuningJobConfig() const{ return m_hyperParameterTuningJobConfig; }
80 inline void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig& value) { m_hyperParameterTuningJobConfig = value; }
81 inline void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfig&& value) { m_hyperParameterTuningJobConfig = std::move(value); }
85
87
93 inline const HyperParameterTrainingJobDefinition& GetTrainingJobDefinition() const{ return m_trainingJobDefinition; }
94 inline void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinition = value; }
95 inline void SetTrainingJobDefinition(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinition = std::move(value); }
99
101
106 inline const Aws::Vector<HyperParameterTrainingJobDefinition>& GetTrainingJobDefinitions() const{ return m_trainingJobDefinitions; }
107 inline void SetTrainingJobDefinitions(const Aws::Vector<HyperParameterTrainingJobDefinition>& value) { m_trainingJobDefinitions = value; }
108 inline void SetTrainingJobDefinitions(Aws::Vector<HyperParameterTrainingJobDefinition>&& value) { m_trainingJobDefinitions = std::move(value); }
111 inline DescribeHyperParameterTuningJobResult& AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinitions.push_back(value); return *this; }
112 inline DescribeHyperParameterTuningJobResult& AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinitions.push_back(std::move(value)); return *this; }
114
116
119 inline const HyperParameterTuningJobStatus& GetHyperParameterTuningJobStatus() const{ return m_hyperParameterTuningJobStatus; }
120 inline void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus& value) { m_hyperParameterTuningJobStatus = value; }
121 inline void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus&& value) { m_hyperParameterTuningJobStatus = std::move(value); }
125
127
130 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
131 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTime = value; }
132 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTime = std::move(value); }
136
138
141 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const{ return m_hyperParameterTuningEndTime; }
142 inline void SetHyperParameterTuningEndTime(const Aws::Utils::DateTime& value) { m_hyperParameterTuningEndTime = value; }
143 inline void SetHyperParameterTuningEndTime(Aws::Utils::DateTime&& value) { m_hyperParameterTuningEndTime = std::move(value); }
147
149
152 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
153 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTime = value; }
154 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTime = std::move(value); }
158
160
166 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const{ return m_trainingJobStatusCounters; }
167 inline void SetTrainingJobStatusCounters(const TrainingJobStatusCounters& value) { m_trainingJobStatusCounters = value; }
168 inline void SetTrainingJobStatusCounters(TrainingJobStatusCounters&& value) { m_trainingJobStatusCounters = std::move(value); }
172
174
180 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const{ return m_objectiveStatusCounters; }
181 inline void SetObjectiveStatusCounters(const ObjectiveStatusCounters& value) { m_objectiveStatusCounters = value; }
182 inline void SetObjectiveStatusCounters(ObjectiveStatusCounters&& value) { m_objectiveStatusCounters = std::move(value); }
186
188
194 inline const HyperParameterTrainingJobSummary& GetBestTrainingJob() const{ return m_bestTrainingJob; }
195 inline void SetBestTrainingJob(const HyperParameterTrainingJobSummary& value) { m_bestTrainingJob = value; }
196 inline void SetBestTrainingJob(HyperParameterTrainingJobSummary&& value) { m_bestTrainingJob = std::move(value); }
200
202
211 inline const HyperParameterTrainingJobSummary& GetOverallBestTrainingJob() const{ return m_overallBestTrainingJob; }
212 inline void SetOverallBestTrainingJob(const HyperParameterTrainingJobSummary& value) { m_overallBestTrainingJob = value; }
213 inline void SetOverallBestTrainingJob(HyperParameterTrainingJobSummary&& value) { m_overallBestTrainingJob = std::move(value); }
217
219
225 inline const HyperParameterTuningJobWarmStartConfig& GetWarmStartConfig() const{ return m_warmStartConfig; }
226 inline void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig& value) { m_warmStartConfig = value; }
227 inline void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig&& value) { m_warmStartConfig = std::move(value); }
231
233
237 inline const Autotune& GetAutotune() const{ return m_autotune; }
238 inline void SetAutotune(const Autotune& value) { m_autotune = value; }
239 inline void SetAutotune(Autotune&& value) { m_autotune = std::move(value); }
240 inline DescribeHyperParameterTuningJobResult& WithAutotune(const Autotune& value) { SetAutotune(value); return *this;}
241 inline DescribeHyperParameterTuningJobResult& WithAutotune(Autotune&& value) { SetAutotune(std::move(value)); return *this;}
243
245
248 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
249 inline void SetFailureReason(const Aws::String& value) { m_failureReason = value; }
250 inline void SetFailureReason(Aws::String&& value) { m_failureReason = std::move(value); }
251 inline void SetFailureReason(const char* value) { m_failureReason.assign(value); }
253 inline DescribeHyperParameterTuningJobResult& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
254 inline DescribeHyperParameterTuningJobResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
256
258
264 inline const HyperParameterTuningJobCompletionDetails& GetTuningJobCompletionDetails() const{ return m_tuningJobCompletionDetails; }
265 inline void SetTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails& value) { m_tuningJobCompletionDetails = value; }
266 inline void SetTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails&& value) { m_tuningJobCompletionDetails = std::move(value); }
270
272
273 inline const HyperParameterTuningJobConsumedResources& GetConsumedResources() const{ return m_consumedResources; }
274 inline void SetConsumedResources(const HyperParameterTuningJobConsumedResources& value) { m_consumedResources = value; }
275 inline void SetConsumedResources(HyperParameterTuningJobConsumedResources&& value) { m_consumedResources = std::move(value); }
279
281
282 inline const Aws::String& GetRequestId() const{ return m_requestId; }
283 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
284 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
285 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
287 inline DescribeHyperParameterTuningJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
288 inline DescribeHyperParameterTuningJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
290 private:
291
292 Aws::String m_hyperParameterTuningJobName;
293
294 Aws::String m_hyperParameterTuningJobArn;
295
296 HyperParameterTuningJobConfig m_hyperParameterTuningJobConfig;
297
298 HyperParameterTrainingJobDefinition m_trainingJobDefinition;
299
301
302 HyperParameterTuningJobStatus m_hyperParameterTuningJobStatus;
303
304 Aws::Utils::DateTime m_creationTime;
305
306 Aws::Utils::DateTime m_hyperParameterTuningEndTime;
307
308 Aws::Utils::DateTime m_lastModifiedTime;
309
310 TrainingJobStatusCounters m_trainingJobStatusCounters;
311
312 ObjectiveStatusCounters m_objectiveStatusCounters;
313
314 HyperParameterTrainingJobSummary m_bestTrainingJob;
315
316 HyperParameterTrainingJobSummary m_overallBestTrainingJob;
317
319
320 Autotune m_autotune;
321
322 Aws::String m_failureReason;
323
324 HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails;
325
327
328 Aws::String m_requestId;
329 };
330
331} // namespace Model
332} // namespace SageMaker
333} // namespace Aws
DescribeHyperParameterTuningJobResult & WithRequestId(Aws::String &&value)
AWS_SAGEMAKER_API DescribeHyperParameterTuningJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobName(Aws::String &&value)
DescribeHyperParameterTuningJobResult & AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition &value)
const Aws::Vector< HyperParameterTrainingJobDefinition > & GetTrainingJobDefinitions() const
DescribeHyperParameterTuningJobResult & WithFailureReason(const char *value)
DescribeHyperParameterTuningJobResult & WithFailureReason(const Aws::String &value)
DescribeHyperParameterTuningJobResult & WithTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobArn(Aws::String &&value)
void SetTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails &&value)
DescribeHyperParameterTuningJobResult & WithTrainingJobStatusCounters(const TrainingJobStatusCounters &value)
DescribeHyperParameterTuningJobResult & WithObjectiveStatusCounters(ObjectiveStatusCounters &&value)
void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus &&value)
DescribeHyperParameterTuningJobResult & WithFailureReason(Aws::String &&value)
void SetConsumedResources(const HyperParameterTuningJobConsumedResources &value)
const HyperParameterTuningJobWarmStartConfig & GetWarmStartConfig() const
DescribeHyperParameterTuningJobResult & WithCreationTime(const Aws::Utils::DateTime &value)
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
DescribeHyperParameterTuningJobResult & WithTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobName(const Aws::String &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobArn(const Aws::String &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
AWS_SAGEMAKER_API DescribeHyperParameterTuningJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
DescribeHyperParameterTuningJobResult & WithOverallBestTrainingJob(const HyperParameterTrainingJobSummary &value)
DescribeHyperParameterTuningJobResult & WithAutotune(Autotune &&value)
void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
DescribeHyperParameterTuningJobResult & WithAutotune(const Autotune &value)
DescribeHyperParameterTuningJobResult & WithConsumedResources(HyperParameterTuningJobConsumedResources &&value)
DescribeHyperParameterTuningJobResult & AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition &&value)
DescribeHyperParameterTuningJobResult & WithObjectiveStatusCounters(const ObjectiveStatusCounters &value)
DescribeHyperParameterTuningJobResult & WithOverallBestTrainingJob(HyperParameterTrainingJobSummary &&value)
DescribeHyperParameterTuningJobResult & WithWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
DescribeHyperParameterTuningJobResult & WithRequestId(const Aws::String &value)
const HyperParameterTrainingJobDefinition & GetTrainingJobDefinition() const
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfig &&value)
DescribeHyperParameterTuningJobResult & WithRequestId(const char *value)
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
DescribeHyperParameterTuningJobResult & WithWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
void SetOverallBestTrainingJob(const HyperParameterTrainingJobSummary &value)
void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningEndTime(const Aws::Utils::DateTime &value)
DescribeHyperParameterTuningJobResult & WithTrainingJobStatusCounters(TrainingJobStatusCounters &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobArn(const char *value)
DescribeHyperParameterTuningJobResult & WithCreationTime(Aws::Utils::DateTime &&value)
DescribeHyperParameterTuningJobResult & WithBestTrainingJob(HyperParameterTrainingJobSummary &&value)
DescribeHyperParameterTuningJobResult & WithTrainingJobDefinition(HyperParameterTrainingJobDefinition &&value)
void SetTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
void SetConsumedResources(HyperParameterTuningJobConsumedResources &&value)
const HyperParameterTuningJobConsumedResources & GetConsumedResources() const
void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
void SetTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningJobName(const char *value)
DescribeHyperParameterTuningJobResult & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails &value)
const HyperParameterTuningJobCompletionDetails & GetTuningJobCompletionDetails() const
DescribeHyperParameterTuningJobResult & WithLastModifiedTime(const Aws::Utils::DateTime &value)
DescribeHyperParameterTuningJobResult & WithBestTrainingJob(const HyperParameterTrainingJobSummary &value)
DescribeHyperParameterTuningJobResult & WithConsumedResources(const HyperParameterTuningJobConsumedResources &value)
DescribeHyperParameterTuningJobResult & WithHyperParameterTuningEndTime(Aws::Utils::DateTime &&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