AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
HyperParameterTuningJobSummary.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/HyperParameterTuningJobStatus.h>
10#include <aws/sagemaker/model/HyperParameterTuningJobStrategyType.h>
11#include <aws/core/utils/DateTime.h>
12#include <aws/sagemaker/model/TrainingJobStatusCounters.h>
13#include <aws/sagemaker/model/ObjectiveStatusCounters.h>
14#include <aws/sagemaker/model/ResourceLimits.h>
15#include <utility>
16
17namespace Aws
18{
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24 class JsonView;
25} // namespace Json
26} // namespace Utils
27namespace SageMaker
28{
29namespace Model
30{
31
39 {
40 public:
41 AWS_SAGEMAKER_API HyperParameterTuningJobSummary() = default;
44 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetHyperParameterTuningJobName() const { return m_hyperParameterTuningJobName; }
52 inline bool HyperParameterTuningJobNameHasBeenSet() const { return m_hyperParameterTuningJobNameHasBeenSet; }
53 template<typename HyperParameterTuningJobNameT = Aws::String>
54 void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) { m_hyperParameterTuningJobNameHasBeenSet = true; m_hyperParameterTuningJobName = std::forward<HyperParameterTuningJobNameT>(value); }
55 template<typename HyperParameterTuningJobNameT = Aws::String>
56 HyperParameterTuningJobSummary& WithHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) { SetHyperParameterTuningJobName(std::forward<HyperParameterTuningJobNameT>(value)); return *this;}
58
60
63 inline const Aws::String& GetHyperParameterTuningJobArn() const { return m_hyperParameterTuningJobArn; }
64 inline bool HyperParameterTuningJobArnHasBeenSet() const { return m_hyperParameterTuningJobArnHasBeenSet; }
65 template<typename HyperParameterTuningJobArnT = Aws::String>
66 void SetHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) { m_hyperParameterTuningJobArnHasBeenSet = true; m_hyperParameterTuningJobArn = std::forward<HyperParameterTuningJobArnT>(value); }
67 template<typename HyperParameterTuningJobArnT = Aws::String>
68 HyperParameterTuningJobSummary& WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) { SetHyperParameterTuningJobArn(std::forward<HyperParameterTuningJobArnT>(value)); return *this;}
70
72
75 inline HyperParameterTuningJobStatus GetHyperParameterTuningJobStatus() const { return m_hyperParameterTuningJobStatus; }
76 inline bool HyperParameterTuningJobStatusHasBeenSet() const { return m_hyperParameterTuningJobStatusHasBeenSet; }
77 inline void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value) { m_hyperParameterTuningJobStatusHasBeenSet = true; m_hyperParameterTuningJobStatus = value; }
80
82
86 inline HyperParameterTuningJobStrategyType GetStrategy() const { return m_strategy; }
87 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
88 inline void SetStrategy(HyperParameterTuningJobStrategyType value) { m_strategyHasBeenSet = true; m_strategy = value; }
91
93
96 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
97 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
98 template<typename CreationTimeT = Aws::Utils::DateTime>
99 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
100 template<typename CreationTimeT = Aws::Utils::DateTime>
101 HyperParameterTuningJobSummary& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
103
105
108 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const { return m_hyperParameterTuningEndTime; }
109 inline bool HyperParameterTuningEndTimeHasBeenSet() const { return m_hyperParameterTuningEndTimeHasBeenSet; }
110 template<typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
111 void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) { m_hyperParameterTuningEndTimeHasBeenSet = true; m_hyperParameterTuningEndTime = std::forward<HyperParameterTuningEndTimeT>(value); }
112 template<typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
113 HyperParameterTuningJobSummary& WithHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) { SetHyperParameterTuningEndTime(std::forward<HyperParameterTuningEndTimeT>(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
121 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
122 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
123 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
124 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
125 HyperParameterTuningJobSummary& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
127
129
135 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const { return m_trainingJobStatusCounters; }
136 inline bool TrainingJobStatusCountersHasBeenSet() const { return m_trainingJobStatusCountersHasBeenSet; }
137 template<typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
138 void SetTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) { m_trainingJobStatusCountersHasBeenSet = true; m_trainingJobStatusCounters = std::forward<TrainingJobStatusCountersT>(value); }
139 template<typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
140 HyperParameterTuningJobSummary& WithTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) { SetTrainingJobStatusCounters(std::forward<TrainingJobStatusCountersT>(value)); return *this;}
142
144
150 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const { return m_objectiveStatusCounters; }
151 inline bool ObjectiveStatusCountersHasBeenSet() const { return m_objectiveStatusCountersHasBeenSet; }
152 template<typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
153 void SetObjectiveStatusCounters(ObjectiveStatusCountersT&& value) { m_objectiveStatusCountersHasBeenSet = true; m_objectiveStatusCounters = std::forward<ObjectiveStatusCountersT>(value); }
154 template<typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
155 HyperParameterTuningJobSummary& WithObjectiveStatusCounters(ObjectiveStatusCountersT&& value) { SetObjectiveStatusCounters(std::forward<ObjectiveStatusCountersT>(value)); return *this;}
157
159
165 inline const ResourceLimits& GetResourceLimits() const { return m_resourceLimits; }
166 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
167 template<typename ResourceLimitsT = ResourceLimits>
168 void SetResourceLimits(ResourceLimitsT&& value) { m_resourceLimitsHasBeenSet = true; m_resourceLimits = std::forward<ResourceLimitsT>(value); }
169 template<typename ResourceLimitsT = ResourceLimits>
170 HyperParameterTuningJobSummary& WithResourceLimits(ResourceLimitsT&& value) { SetResourceLimits(std::forward<ResourceLimitsT>(value)); return *this;}
172 private:
173
174 Aws::String m_hyperParameterTuningJobName;
175 bool m_hyperParameterTuningJobNameHasBeenSet = false;
176
177 Aws::String m_hyperParameterTuningJobArn;
178 bool m_hyperParameterTuningJobArnHasBeenSet = false;
179
181 bool m_hyperParameterTuningJobStatusHasBeenSet = false;
182
184 bool m_strategyHasBeenSet = false;
185
186 Aws::Utils::DateTime m_creationTime{};
187 bool m_creationTimeHasBeenSet = false;
188
189 Aws::Utils::DateTime m_hyperParameterTuningEndTime{};
190 bool m_hyperParameterTuningEndTimeHasBeenSet = false;
191
192 Aws::Utils::DateTime m_lastModifiedTime{};
193 bool m_lastModifiedTimeHasBeenSet = false;
194
195 TrainingJobStatusCounters m_trainingJobStatusCounters;
196 bool m_trainingJobStatusCountersHasBeenSet = false;
197
198 ObjectiveStatusCounters m_objectiveStatusCounters;
199 bool m_objectiveStatusCountersHasBeenSet = false;
200
201 ResourceLimits m_resourceLimits;
202 bool m_resourceLimitsHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace SageMaker
207} // namespace Aws
AWS_SAGEMAKER_API HyperParameterTuningJobSummary(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSummary & WithStrategy(HyperParameterTuningJobStrategyType value)
AWS_SAGEMAKER_API HyperParameterTuningJobSummary()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API HyperParameterTuningJobSummary & operator=(Aws::Utils::Json::JsonView jsonValue)
HyperParameterTuningJobSummary & WithHyperParameterTuningEndTime(HyperParameterTuningEndTimeT &&value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT &&value)
HyperParameterTuningJobSummary & WithObjectiveStatusCounters(ObjectiveStatusCountersT &&value)
HyperParameterTuningJobSummary & WithResourceLimits(ResourceLimitsT &&value)
void SetHyperParameterTuningJobArn(HyperParameterTuningJobArnT &&value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value)
HyperParameterTuningJobSummary & WithLastModifiedTime(LastModifiedTimeT &&value)
HyperParameterTuningJobSummary & WithHyperParameterTuningJobName(HyperParameterTuningJobNameT &&value)
void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT &&value)
const TrainingJobStatusCounters & GetTrainingJobStatusCounters() const
void SetTrainingJobStatusCounters(TrainingJobStatusCountersT &&value)
void SetStrategy(HyperParameterTuningJobStrategyType value)
void SetHyperParameterTuningJobStatus(HyperParameterTuningJobStatus value)
HyperParameterTuningJobSummary & WithCreationTime(CreationTimeT &&value)
void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT &&value)
HyperParameterTuningJobSummary & WithTrainingJobStatusCounters(TrainingJobStatusCountersT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue