AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
HyperParameterTuningJobSummary.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/SageMaker_EXPORTS.h>
10#include <aws/sagemaker/model/HyperParameterTuningJobStatus.h>
11#include <aws/sagemaker/model/HyperParameterTuningJobStrategyType.h>
12#include <aws/sagemaker/model/ObjectiveStatusCounters.h>
13#include <aws/sagemaker/model/ResourceLimits.h>
14#include <aws/sagemaker/model/TrainingJobStatusCounters.h>
15
16#include <utility>
17
18namespace Aws {
19namespace Utils {
20namespace Json {
21class JsonValue;
22class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker {
26namespace Model {
27
35 public:
36 AWS_SAGEMAKER_API HyperParameterTuningJobSummary() = default;
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
42
45 inline const Aws::String& GetHyperParameterTuningJobName() const { return m_hyperParameterTuningJobName; }
46 inline bool HyperParameterTuningJobNameHasBeenSet() const { return m_hyperParameterTuningJobNameHasBeenSet; }
47 template <typename HyperParameterTuningJobNameT = Aws::String>
48 void SetHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) {
49 m_hyperParameterTuningJobNameHasBeenSet = true;
50 m_hyperParameterTuningJobName = std::forward<HyperParameterTuningJobNameT>(value);
51 }
52 template <typename HyperParameterTuningJobNameT = Aws::String>
53 HyperParameterTuningJobSummary& WithHyperParameterTuningJobName(HyperParameterTuningJobNameT&& value) {
54 SetHyperParameterTuningJobName(std::forward<HyperParameterTuningJobNameT>(value));
55 return *this;
56 }
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) {
67 m_hyperParameterTuningJobArnHasBeenSet = true;
68 m_hyperParameterTuningJobArn = std::forward<HyperParameterTuningJobArnT>(value);
69 }
70 template <typename HyperParameterTuningJobArnT = Aws::String>
71 HyperParameterTuningJobSummary& WithHyperParameterTuningJobArn(HyperParameterTuningJobArnT&& value) {
72 SetHyperParameterTuningJobArn(std::forward<HyperParameterTuningJobArnT>(value));
73 return *this;
74 }
76
78
81 inline HyperParameterTuningJobStatus GetHyperParameterTuningJobStatus() const { return m_hyperParameterTuningJobStatus; }
82 inline bool HyperParameterTuningJobStatusHasBeenSet() const { return m_hyperParameterTuningJobStatusHasBeenSet; }
84 m_hyperParameterTuningJobStatusHasBeenSet = true;
85 m_hyperParameterTuningJobStatus = value;
86 }
89 return *this;
90 }
92
94
98 inline HyperParameterTuningJobStrategyType GetStrategy() const { return m_strategy; }
99 inline bool StrategyHasBeenSet() const { return m_strategyHasBeenSet; }
101 m_strategyHasBeenSet = true;
102 m_strategy = value;
103 }
105 SetStrategy(value);
106 return *this;
107 }
109
111
114 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
115 inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; }
116 template <typename CreationTimeT = Aws::Utils::DateTime>
117 void SetCreationTime(CreationTimeT&& value) {
118 m_creationTimeHasBeenSet = true;
119 m_creationTime = std::forward<CreationTimeT>(value);
120 }
121 template <typename CreationTimeT = Aws::Utils::DateTime>
123 SetCreationTime(std::forward<CreationTimeT>(value));
124 return *this;
125 }
127
129
132 inline const Aws::Utils::DateTime& GetHyperParameterTuningEndTime() const { return m_hyperParameterTuningEndTime; }
133 inline bool HyperParameterTuningEndTimeHasBeenSet() const { return m_hyperParameterTuningEndTimeHasBeenSet; }
134 template <typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
135 void SetHyperParameterTuningEndTime(HyperParameterTuningEndTimeT&& value) {
136 m_hyperParameterTuningEndTimeHasBeenSet = true;
137 m_hyperParameterTuningEndTime = std::forward<HyperParameterTuningEndTimeT>(value);
138 }
139 template <typename HyperParameterTuningEndTimeT = Aws::Utils::DateTime>
141 SetHyperParameterTuningEndTime(std::forward<HyperParameterTuningEndTimeT>(value));
142 return *this;
143 }
145
147
150 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
151 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
152 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
153 void SetLastModifiedTime(LastModifiedTimeT&& value) {
154 m_lastModifiedTimeHasBeenSet = true;
155 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
156 }
157 template <typename LastModifiedTimeT = Aws::Utils::DateTime>
159 SetLastModifiedTime(std::forward<LastModifiedTimeT>(value));
160 return *this;
161 }
163
165
171 inline const TrainingJobStatusCounters& GetTrainingJobStatusCounters() const { return m_trainingJobStatusCounters; }
172 inline bool TrainingJobStatusCountersHasBeenSet() const { return m_trainingJobStatusCountersHasBeenSet; }
173 template <typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
174 void SetTrainingJobStatusCounters(TrainingJobStatusCountersT&& value) {
175 m_trainingJobStatusCountersHasBeenSet = true;
176 m_trainingJobStatusCounters = std::forward<TrainingJobStatusCountersT>(value);
177 }
178 template <typename TrainingJobStatusCountersT = TrainingJobStatusCounters>
180 SetTrainingJobStatusCounters(std::forward<TrainingJobStatusCountersT>(value));
181 return *this;
182 }
184
186
192 inline const ObjectiveStatusCounters& GetObjectiveStatusCounters() const { return m_objectiveStatusCounters; }
193 inline bool ObjectiveStatusCountersHasBeenSet() const { return m_objectiveStatusCountersHasBeenSet; }
194 template <typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
195 void SetObjectiveStatusCounters(ObjectiveStatusCountersT&& value) {
196 m_objectiveStatusCountersHasBeenSet = true;
197 m_objectiveStatusCounters = std::forward<ObjectiveStatusCountersT>(value);
198 }
199 template <typename ObjectiveStatusCountersT = ObjectiveStatusCounters>
201 SetObjectiveStatusCounters(std::forward<ObjectiveStatusCountersT>(value));
202 return *this;
203 }
205
207
213 inline const ResourceLimits& GetResourceLimits() const { return m_resourceLimits; }
214 inline bool ResourceLimitsHasBeenSet() const { return m_resourceLimitsHasBeenSet; }
215 template <typename ResourceLimitsT = ResourceLimits>
216 void SetResourceLimits(ResourceLimitsT&& value) {
217 m_resourceLimitsHasBeenSet = true;
218 m_resourceLimits = std::forward<ResourceLimitsT>(value);
219 }
220 template <typename ResourceLimitsT = ResourceLimits>
222 SetResourceLimits(std::forward<ResourceLimitsT>(value));
223 return *this;
224 }
226 private:
227 Aws::String m_hyperParameterTuningJobName;
228
229 Aws::String m_hyperParameterTuningJobArn;
230
232
234
235 Aws::Utils::DateTime m_creationTime{};
236
237 Aws::Utils::DateTime m_hyperParameterTuningEndTime{};
238
239 Aws::Utils::DateTime m_lastModifiedTime{};
240
241 TrainingJobStatusCounters m_trainingJobStatusCounters;
242
243 ObjectiveStatusCounters m_objectiveStatusCounters;
244
245 ResourceLimits m_resourceLimits;
246 bool m_hyperParameterTuningJobNameHasBeenSet = false;
247 bool m_hyperParameterTuningJobArnHasBeenSet = false;
248 bool m_hyperParameterTuningJobStatusHasBeenSet = false;
249 bool m_strategyHasBeenSet = false;
250 bool m_creationTimeHasBeenSet = false;
251 bool m_hyperParameterTuningEndTimeHasBeenSet = false;
252 bool m_lastModifiedTimeHasBeenSet = false;
253 bool m_trainingJobStatusCountersHasBeenSet = false;
254 bool m_objectiveStatusCountersHasBeenSet = false;
255 bool m_resourceLimitsHasBeenSet = false;
256};
257
258} // namespace Model
259} // namespace SageMaker
260} // 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