AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
HyperParameterTuningJobSearchEntity.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/HyperParameterTuningJobCompletionDetails.h>
19#include <aws/sagemaker/model/HyperParameterTuningJobConsumedResources.h>
20#include <aws/sagemaker/model/Tag.h>
21#include <utility>
22
23namespace Aws
24{
25namespace Utils
26{
27namespace Json
28{
29 class JsonValue;
30 class JsonView;
31} // namespace Json
32} // namespace Utils
33namespace SageMaker
34{
35namespace Model
36{
37
47 {
48 public:
52 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
53
54
56
59 inline const Aws::String& GetHyperParameterTuningJobName() const{ return m_hyperParameterTuningJobName; }
60 inline bool HyperParameterTuningJobNameHasBeenSet() const { return m_hyperParameterTuningJobNameHasBeenSet; }
61 inline void SetHyperParameterTuningJobName(const Aws::String& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = value; }
62 inline void SetHyperParameterTuningJobName(Aws::String&& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = std::move(value); }
63 inline void SetHyperParameterTuningJobName(const char* value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName.assign(value); }
68
70
73 inline const Aws::String& GetHyperParameterTuningJobArn() const{ return m_hyperParameterTuningJobArn; }
74 inline bool HyperParameterTuningJobArnHasBeenSet() const { return m_hyperParameterTuningJobArnHasBeenSet; }
75 inline void SetHyperParameterTuningJobArn(const Aws::String& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = value; }
76 inline void SetHyperParameterTuningJobArn(Aws::String&& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = std::move(value); }
77 inline void SetHyperParameterTuningJobArn(const char* value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn.assign(value); }
82
84
85 inline const HyperParameterTuningJobConfig& GetHyperParameterTuningJobConfig() const{ return m_hyperParameterTuningJobConfig; }
86 inline bool HyperParameterTuningJobConfigHasBeenSet() const { return m_hyperParameterTuningJobConfigHasBeenSet; }
87 inline void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig& value) { m_hyperParameterTuningJobConfigHasBeenSet = true; m_hyperParameterTuningJobConfig = value; }
88 inline void SetHyperParameterTuningJobConfig(HyperParameterTuningJobConfig&& value) { m_hyperParameterTuningJobConfigHasBeenSet = true; m_hyperParameterTuningJobConfig = std::move(value); }
92
94
95 inline const HyperParameterTrainingJobDefinition& GetTrainingJobDefinition() const{ return m_trainingJobDefinition; }
96 inline bool TrainingJobDefinitionHasBeenSet() const { return m_trainingJobDefinitionHasBeenSet; }
97 inline void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = value; }
98 inline void SetTrainingJobDefinition(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinitionHasBeenSet = true; m_trainingJobDefinition = std::move(value); }
102
104
107 inline const Aws::Vector<HyperParameterTrainingJobDefinition>& GetTrainingJobDefinitions() const{ return m_trainingJobDefinitions; }
108 inline bool TrainingJobDefinitionsHasBeenSet() const { return m_trainingJobDefinitionsHasBeenSet; }
109 inline void SetTrainingJobDefinitions(const Aws::Vector<HyperParameterTrainingJobDefinition>& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions = value; }
110 inline void SetTrainingJobDefinitions(Aws::Vector<HyperParameterTrainingJobDefinition>&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions = std::move(value); }
113 inline HyperParameterTuningJobSearchEntity& AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions.push_back(value); return *this; }
114 inline HyperParameterTuningJobSearchEntity& AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition&& value) { m_trainingJobDefinitionsHasBeenSet = true; m_trainingJobDefinitions.push_back(std::move(value)); return *this; }
116
118
121 inline const HyperParameterTuningJobStatus& GetHyperParameterTuningJobStatus() const{ return m_hyperParameterTuningJobStatus; }
122 inline bool HyperParameterTuningJobStatusHasBeenSet() const { return m_hyperParameterTuningJobStatusHasBeenSet; }
123 inline void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus& value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = value; }
124 inline void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus&& value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = std::move(value); }
128
130
133 inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; }
134 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
135 inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; }
136 inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); }
140
142
145 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const{ return m_hyperParameterTuningEndTime; }
146 inline bool HyperParameterTuningEndTimeHasBeenSet() const { return m_hyperParameterTuningEndTimeHasBeenSet; }
147 inline void SetHyperParameterTuningEndTime(const Aws::Utils::DateTime& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = value; }
148 inline void SetHyperParameterTuningEndTime(Aws::Utils::DateTime&& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = std::move(value); }
152
154
157 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
158 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
159 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
160 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
164
166
167 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const{ return m_trainingJobStatusCounters; }
168 inline bool TrainingJobStatusCountersHasBeenSet() const { return m_trainingJobStatusCountersHasBeenSet; }
169 inline void SetTrainingJobStatusCounters(const TrainingJobStatusCounters& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = value; }
170 inline void SetTrainingJobStatusCounters(TrainingJobStatusCounters&& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = std::move(value); }
174
176
177 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const{ return m_objectiveStatusCounters; }
178 inline bool ObjectiveStatusCountersHasBeenSet() const { return m_objectiveStatusCountersHasBeenSet; }
179 inline void SetObjectiveStatusCounters(const ObjectiveStatusCounters& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = value; }
180 inline void SetObjectiveStatusCounters(ObjectiveStatusCounters&& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = std::move(value); }
184
186
187 inline const HyperParameterTrainingJobSummary& GetBestTrainingJob() const{ return m_bestTrainingJob; }
188 inline bool BestTrainingJobHasBeenSet() const { return m_bestTrainingJobHasBeenSet; }
189 inline void SetBestTrainingJob(const HyperParameterTrainingJobSummary& value) { m_bestTrainingJobHasBeenSet = true; m_bestTrainingJob = value; }
190 inline void SetBestTrainingJob(HyperParameterTrainingJobSummary&& value) { m_bestTrainingJobHasBeenSet = true; m_bestTrainingJob = std::move(value); }
194
196
197 inline const HyperParameterTrainingJobSummary& GetOverallBestTrainingJob() const{ return m_overallBestTrainingJob; }
198 inline bool OverallBestTrainingJobHasBeenSet() const { return m_overallBestTrainingJobHasBeenSet; }
199 inline void SetOverallBestTrainingJob(const HyperParameterTrainingJobSummary& value) { m_overallBestTrainingJobHasBeenSet = true; m_overallBestTrainingJob = value; }
200 inline void SetOverallBestTrainingJob(HyperParameterTrainingJobSummary&& value) { m_overallBestTrainingJobHasBeenSet = true; m_overallBestTrainingJob = std::move(value); }
204
206
207 inline const HyperParameterTuningJobWarmStartConfig& GetWarmStartConfig() const{ return m_warmStartConfig; }
208 inline bool WarmStartConfigHasBeenSet() const { return m_warmStartConfigHasBeenSet; }
209 inline void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig& value) { m_warmStartConfigHasBeenSet = true; m_warmStartConfig = value; }
210 inline void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig&& value) { m_warmStartConfigHasBeenSet = true; m_warmStartConfig = std::move(value); }
214
216
219 inline const Aws::String& GetFailureReason() const{ return m_failureReason; }
220 inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; }
221 inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; }
222 inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); }
223 inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); }
225 inline HyperParameterTuningJobSearchEntity& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;}
226 inline HyperParameterTuningJobSearchEntity& WithFailureReason(const char* value) { SetFailureReason(value); return *this;}
228
230
234 inline const HyperParameterTuningJobCompletionDetails& GetTuningJobCompletionDetails() const{ return m_tuningJobCompletionDetails; }
235 inline bool TuningJobCompletionDetailsHasBeenSet() const { return m_tuningJobCompletionDetailsHasBeenSet; }
236 inline void SetTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails& value) { m_tuningJobCompletionDetailsHasBeenSet = true; m_tuningJobCompletionDetails = value; }
237 inline void SetTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails&& value) { m_tuningJobCompletionDetailsHasBeenSet = true; m_tuningJobCompletionDetails = std::move(value); }
241
243
246 inline const HyperParameterTuningJobConsumedResources& GetConsumedResources() const{ return m_consumedResources; }
247 inline bool ConsumedResourcesHasBeenSet() const { return m_consumedResourcesHasBeenSet; }
248 inline void SetConsumedResources(const HyperParameterTuningJobConsumedResources& value) { m_consumedResourcesHasBeenSet = true; m_consumedResources = value; }
249 inline void SetConsumedResources(HyperParameterTuningJobConsumedResources&& value) { m_consumedResourcesHasBeenSet = true; m_consumedResources = std::move(value); }
253
255
261 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
262 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
263 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
264 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
265 inline HyperParameterTuningJobSearchEntity& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
266 inline HyperParameterTuningJobSearchEntity& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
267 inline HyperParameterTuningJobSearchEntity& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
268 inline HyperParameterTuningJobSearchEntity& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
270 private:
271
272 Aws::String m_hyperParameterTuningJobName;
273 bool m_hyperParameterTuningJobNameHasBeenSet = false;
274
275 Aws::String m_hyperParameterTuningJobArn;
276 bool m_hyperParameterTuningJobArnHasBeenSet = false;
277
278 HyperParameterTuningJobConfig m_hyperParameterTuningJobConfig;
279 bool m_hyperParameterTuningJobConfigHasBeenSet = false;
280
281 HyperParameterTrainingJobDefinition m_trainingJobDefinition;
282 bool m_trainingJobDefinitionHasBeenSet = false;
283
285 bool m_trainingJobDefinitionsHasBeenSet = false;
286
287 HyperParameterTuningJobStatus m_hyperParameterTuningJobStatus;
288 bool m_hyperParameterTuningJobStatusHasBeenSet = false;
289
290 Aws::Utils::DateTime m_creationTime;
291 bool m_creationTimeHasBeenSet = false;
292
293 Aws::Utils::DateTime m_hyperParameterTuningEndTime;
294 bool m_hyperParameterTuningEndTimeHasBeenSet = false;
295
296 Aws::Utils::DateTime m_lastModifiedTime;
297 bool m_lastModifiedTimeHasBeenSet = false;
298
299 TrainingJobStatusCounters m_trainingJobStatusCounters;
300 bool m_trainingJobStatusCountersHasBeenSet = false;
301
302 ObjectiveStatusCounters m_objectiveStatusCounters;
303 bool m_objectiveStatusCountersHasBeenSet = false;
304
305 HyperParameterTrainingJobSummary m_bestTrainingJob;
306 bool m_bestTrainingJobHasBeenSet = false;
307
308 HyperParameterTrainingJobSummary m_overallBestTrainingJob;
309 bool m_overallBestTrainingJobHasBeenSet = false;
310
312 bool m_warmStartConfigHasBeenSet = false;
313
314 Aws::String m_failureReason;
315 bool m_failureReasonHasBeenSet = false;
316
317 HyperParameterTuningJobCompletionDetails m_tuningJobCompletionDetails;
318 bool m_tuningJobCompletionDetailsHasBeenSet = false;
319
321 bool m_consumedResourcesHasBeenSet = false;
322
323 Aws::Vector<Tag> m_tags;
324 bool m_tagsHasBeenSet = false;
325 };
326
327} // namespace Model
328} // namespace SageMaker
329} // namespace Aws
const HyperParameterTuningJobConfig & GetHyperParameterTuningJobConfig() const
const HyperParameterTrainingJobDefinition & GetTrainingJobDefinition() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobArn(Aws::String &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobName(const char *value)
void SetWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
void SetHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
HyperParameterTuningJobSearchEntity & AddTags(const Tag &value)
void SetConsumedResources(HyperParameterTuningJobConsumedResources &&value)
HyperParameterTuningJobSearchEntity & WithCreationTime(Aws::Utils::DateTime &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningEndTime(Aws::Utils::DateTime &&value)
HyperParameterTuningJobSearchEntity & WithTrainingJobStatusCounters(TrainingJobStatusCounters &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobConfig(HyperParameterTuningJobConfig &&value)
HyperParameterTuningJobSearchEntity & AddTrainingJobDefinitions(const HyperParameterTrainingJobDefinition &value)
HyperParameterTuningJobSearchEntity & WithBestTrainingJob(HyperParameterTrainingJobSummary &&value)
const HyperParameterTuningJobWarmStartConfig & GetWarmStartConfig() const
HyperParameterTuningJobSearchEntity & WithTags(const Aws::Vector< Tag > &value)
HyperParameterTuningJobSearchEntity & WithCreationTime(const Aws::Utils::DateTime &value)
void SetTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
HyperParameterTuningJobSearchEntity & WithLastModifiedTime(Aws::Utils::DateTime &&value)
void SetTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
void SetOverallBestTrainingJob(const HyperParameterTrainingJobSummary &value)
HyperParameterTuningJobSearchEntity & WithFailureReason(const Aws::String &value)
HyperParameterTuningJobSearchEntity & WithBestTrainingJob(const HyperParameterTrainingJobSummary &value)
HyperParameterTuningJobSearchEntity & WithWarmStartConfig(HyperParameterTuningJobWarmStartConfig &&value)
HyperParameterTuningJobSearchEntity & WithWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobArn(const Aws::String &value)
HyperParameterTuningJobSearchEntity & WithOverallBestTrainingJob(const HyperParameterTrainingJobSummary &value)
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinitions(const Aws::Vector< HyperParameterTrainingJobDefinition > &value)
const HyperParameterTuningJobStatus & GetHyperParameterTuningJobStatus() const
void SetTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails &value)
void SetConsumedResources(const HyperParameterTuningJobConsumedResources &value)
HyperParameterTuningJobSearchEntity & WithObjectiveStatusCounters(const ObjectiveStatusCounters &value)
const Aws::Vector< HyperParameterTrainingJobDefinition > & GetTrainingJobDefinitions() const
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
HyperParameterTuningJobSearchEntity & WithObjectiveStatusCounters(ObjectiveStatusCounters &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobStatus(const HyperParameterTuningJobStatus &value)
HyperParameterTuningJobSearchEntity & WithTrainingJobStatusCounters(const TrainingJobStatusCounters &value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningEndTime(const Aws::Utils::DateTime &value)
AWS_SAGEMAKER_API HyperParameterTuningJobSearchEntity & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobName(const Aws::String &value)
AWS_SAGEMAKER_API HyperParameterTuningJobSearchEntity(Aws::Utils::Json::JsonView jsonValue)
void SetTrainingJobDefinitions(Aws::Vector< HyperParameterTrainingJobDefinition > &&value)
HyperParameterTuningJobSearchEntity & AddTrainingJobDefinitions(HyperParameterTrainingJobDefinition &&value)
void SetTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails &&value)
void SetBestTrainingJob(const HyperParameterTrainingJobSummary &value)
const HyperParameterTrainingJobSummary & GetOverallBestTrainingJob() const
void SetTrainingJobDefinition(HyperParameterTrainingJobDefinition &&value)
HyperParameterTuningJobSearchEntity & WithFailureReason(Aws::String &&value)
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobName(Aws::String &&value)
void SetHyperParameterTuningJobConfig(const HyperParameterTuningJobConfig &value)
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinition(const HyperParameterTrainingJobDefinition &value)
HyperParameterTuningJobSearchEntity & WithTrainingJobDefinition(HyperParameterTrainingJobDefinition &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobArn(const char *value)
HyperParameterTuningJobSearchEntity & WithTuningJobCompletionDetails(HyperParameterTuningJobCompletionDetails &&value)
const HyperParameterTuningJobCompletionDetails & GetTuningJobCompletionDetails() const
HyperParameterTuningJobSearchEntity & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus &&value)
HyperParameterTuningJobSearchEntity & WithTuningJobCompletionDetails(const HyperParameterTuningJobCompletionDetails &value)
void SetWarmStartConfig(const HyperParameterTuningJobWarmStartConfig &value)
const HyperParameterTuningJobConsumedResources & GetConsumedResources() const
HyperParameterTuningJobSearchEntity & WithFailureReason(const char *value)
HyperParameterTuningJobSearchEntity & WithLastModifiedTime(const Aws::Utils::DateTime &value)
HyperParameterTuningJobSearchEntity & WithTags(Aws::Vector< Tag > &&value)
HyperParameterTuningJobSearchEntity & WithOverallBestTrainingJob(HyperParameterTrainingJobSummary &&value)
HyperParameterTuningJobSearchEntity & WithConsumedResources(HyperParameterTuningJobConsumedResources &&value)
HyperParameterTuningJobSearchEntity & WithConsumedResources(const HyperParameterTuningJobConsumedResources &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