AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
DescribeAutoMLJobResult.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/model/AutoMLOutputDataConfig.h>
11#include <aws/sagemaker/model/AutoMLJobObjective.h>
12#include <aws/sagemaker/model/ProblemType.h>
13#include <aws/sagemaker/model/AutoMLJobConfig.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/sagemaker/model/AutoMLCandidate.h>
16#include <aws/sagemaker/model/AutoMLJobStatus.h>
17#include <aws/sagemaker/model/AutoMLJobSecondaryStatus.h>
18#include <aws/sagemaker/model/AutoMLJobArtifacts.h>
19#include <aws/sagemaker/model/ResolvedAttributes.h>
20#include <aws/sagemaker/model/ModelDeployConfig.h>
21#include <aws/sagemaker/model/ModelDeployResult.h>
22#include <aws/sagemaker/model/AutoMLChannel.h>
23#include <aws/sagemaker/model/AutoMLPartialFailureReason.h>
24#include <utility>
25
26namespace Aws
27{
28template<typename RESULT_TYPE>
29class AmazonWebServiceResult;
30
31namespace Utils
32{
33namespace Json
34{
35 class JsonValue;
36} // namespace Json
37} // namespace Utils
38namespace SageMaker
39{
40namespace Model
41{
43 {
44 public:
45 AWS_SAGEMAKER_API DescribeAutoMLJobResult() = default;
48
49
51
54 inline const Aws::String& GetAutoMLJobName() const { return m_autoMLJobName; }
55 template<typename AutoMLJobNameT = Aws::String>
56 void SetAutoMLJobName(AutoMLJobNameT&& value) { m_autoMLJobNameHasBeenSet = true; m_autoMLJobName = std::forward<AutoMLJobNameT>(value); }
57 template<typename AutoMLJobNameT = Aws::String>
58 DescribeAutoMLJobResult& WithAutoMLJobName(AutoMLJobNameT&& value) { SetAutoMLJobName(std::forward<AutoMLJobNameT>(value)); return *this;}
60
62
65 inline const Aws::String& GetAutoMLJobArn() const { return m_autoMLJobArn; }
66 template<typename AutoMLJobArnT = Aws::String>
67 void SetAutoMLJobArn(AutoMLJobArnT&& value) { m_autoMLJobArnHasBeenSet = true; m_autoMLJobArn = std::forward<AutoMLJobArnT>(value); }
68 template<typename AutoMLJobArnT = Aws::String>
69 DescribeAutoMLJobResult& WithAutoMLJobArn(AutoMLJobArnT&& value) { SetAutoMLJobArn(std::forward<AutoMLJobArnT>(value)); return *this;}
71
73
76 inline const Aws::Vector<AutoMLChannel>& GetInputDataConfig() const { return m_inputDataConfig; }
77 template<typename InputDataConfigT = Aws::Vector<AutoMLChannel>>
78 void SetInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig = std::forward<InputDataConfigT>(value); }
79 template<typename InputDataConfigT = Aws::Vector<AutoMLChannel>>
80 DescribeAutoMLJobResult& WithInputDataConfig(InputDataConfigT&& value) { SetInputDataConfig(std::forward<InputDataConfigT>(value)); return *this;}
81 template<typename InputDataConfigT = AutoMLChannel>
82 DescribeAutoMLJobResult& AddInputDataConfig(InputDataConfigT&& value) { m_inputDataConfigHasBeenSet = true; m_inputDataConfig.emplace_back(std::forward<InputDataConfigT>(value)); return *this; }
84
86
89 inline const AutoMLOutputDataConfig& GetOutputDataConfig() const { return m_outputDataConfig; }
90 template<typename OutputDataConfigT = AutoMLOutputDataConfig>
91 void SetOutputDataConfig(OutputDataConfigT&& value) { m_outputDataConfigHasBeenSet = true; m_outputDataConfig = std::forward<OutputDataConfigT>(value); }
92 template<typename OutputDataConfigT = AutoMLOutputDataConfig>
93 DescribeAutoMLJobResult& WithOutputDataConfig(OutputDataConfigT&& value) { SetOutputDataConfig(std::forward<OutputDataConfigT>(value)); return *this;}
95
97
101 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
102 template<typename RoleArnT = Aws::String>
103 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
104 template<typename RoleArnT = Aws::String>
105 DescribeAutoMLJobResult& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
107
109
112 inline const AutoMLJobObjective& GetAutoMLJobObjective() const { return m_autoMLJobObjective; }
113 template<typename AutoMLJobObjectiveT = AutoMLJobObjective>
114 void SetAutoMLJobObjective(AutoMLJobObjectiveT&& value) { m_autoMLJobObjectiveHasBeenSet = true; m_autoMLJobObjective = std::forward<AutoMLJobObjectiveT>(value); }
115 template<typename AutoMLJobObjectiveT = AutoMLJobObjective>
116 DescribeAutoMLJobResult& WithAutoMLJobObjective(AutoMLJobObjectiveT&& value) { SetAutoMLJobObjective(std::forward<AutoMLJobObjectiveT>(value)); return *this;}
118
120
123 inline ProblemType GetProblemType() const { return m_problemType; }
124 inline void SetProblemType(ProblemType value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
127
129
132 inline const AutoMLJobConfig& GetAutoMLJobConfig() const { return m_autoMLJobConfig; }
133 template<typename AutoMLJobConfigT = AutoMLJobConfig>
134 void SetAutoMLJobConfig(AutoMLJobConfigT&& value) { m_autoMLJobConfigHasBeenSet = true; m_autoMLJobConfig = std::forward<AutoMLJobConfigT>(value); }
135 template<typename AutoMLJobConfigT = AutoMLJobConfig>
136 DescribeAutoMLJobResult& WithAutoMLJobConfig(AutoMLJobConfigT&& value) { SetAutoMLJobConfig(std::forward<AutoMLJobConfigT>(value)); return *this;}
138
140
143 inline const Aws::Utils::DateTime& GetCreationTime() const { return m_creationTime; }
144 template<typename CreationTimeT = Aws::Utils::DateTime>
145 void SetCreationTime(CreationTimeT&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::forward<CreationTimeT>(value); }
146 template<typename CreationTimeT = Aws::Utils::DateTime>
147 DescribeAutoMLJobResult& WithCreationTime(CreationTimeT&& value) { SetCreationTime(std::forward<CreationTimeT>(value)); return *this;}
149
151
154 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
155 template<typename EndTimeT = Aws::Utils::DateTime>
156 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
157 template<typename EndTimeT = Aws::Utils::DateTime>
158 DescribeAutoMLJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
160
162
165 inline const Aws::Utils::DateTime& GetLastModifiedTime() const { return m_lastModifiedTime; }
166 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
167 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
168 template<typename LastModifiedTimeT = Aws::Utils::DateTime>
169 DescribeAutoMLJobResult& WithLastModifiedTime(LastModifiedTimeT&& value) { SetLastModifiedTime(std::forward<LastModifiedTimeT>(value)); return *this;}
171
173
176 inline const Aws::String& GetFailureReason() const { return m_failureReason; }
177 template<typename FailureReasonT = Aws::String>
178 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::forward<FailureReasonT>(value); }
179 template<typename FailureReasonT = Aws::String>
180 DescribeAutoMLJobResult& WithFailureReason(FailureReasonT&& value) { SetFailureReason(std::forward<FailureReasonT>(value)); return *this;}
182
184
187 inline const Aws::Vector<AutoMLPartialFailureReason>& GetPartialFailureReasons() const { return m_partialFailureReasons; }
188 template<typename PartialFailureReasonsT = Aws::Vector<AutoMLPartialFailureReason>>
189 void SetPartialFailureReasons(PartialFailureReasonsT&& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons = std::forward<PartialFailureReasonsT>(value); }
190 template<typename PartialFailureReasonsT = Aws::Vector<AutoMLPartialFailureReason>>
191 DescribeAutoMLJobResult& WithPartialFailureReasons(PartialFailureReasonsT&& value) { SetPartialFailureReasons(std::forward<PartialFailureReasonsT>(value)); return *this;}
192 template<typename PartialFailureReasonsT = AutoMLPartialFailureReason>
193 DescribeAutoMLJobResult& AddPartialFailureReasons(PartialFailureReasonsT&& value) { m_partialFailureReasonsHasBeenSet = true; m_partialFailureReasons.emplace_back(std::forward<PartialFailureReasonsT>(value)); return *this; }
195
197
203 inline const AutoMLCandidate& GetBestCandidate() const { return m_bestCandidate; }
204 template<typename BestCandidateT = AutoMLCandidate>
205 void SetBestCandidate(BestCandidateT&& value) { m_bestCandidateHasBeenSet = true; m_bestCandidate = std::forward<BestCandidateT>(value); }
206 template<typename BestCandidateT = AutoMLCandidate>
207 DescribeAutoMLJobResult& WithBestCandidate(BestCandidateT&& value) { SetBestCandidate(std::forward<BestCandidateT>(value)); return *this;}
209
211
214 inline AutoMLJobStatus GetAutoMLJobStatus() const { return m_autoMLJobStatus; }
215 inline void SetAutoMLJobStatus(AutoMLJobStatus value) { m_autoMLJobStatusHasBeenSet = true; m_autoMLJobStatus = value; }
218
220
223 inline AutoMLJobSecondaryStatus GetAutoMLJobSecondaryStatus() const { return m_autoMLJobSecondaryStatus; }
224 inline void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus value) { m_autoMLJobSecondaryStatusHasBeenSet = true; m_autoMLJobSecondaryStatus = value; }
227
229
233 inline bool GetGenerateCandidateDefinitionsOnly() const { return m_generateCandidateDefinitionsOnly; }
234 inline void SetGenerateCandidateDefinitionsOnly(bool value) { m_generateCandidateDefinitionsOnlyHasBeenSet = true; m_generateCandidateDefinitionsOnly = value; }
237
239
243 inline const AutoMLJobArtifacts& GetAutoMLJobArtifacts() const { return m_autoMLJobArtifacts; }
244 template<typename AutoMLJobArtifactsT = AutoMLJobArtifacts>
245 void SetAutoMLJobArtifacts(AutoMLJobArtifactsT&& value) { m_autoMLJobArtifactsHasBeenSet = true; m_autoMLJobArtifacts = std::forward<AutoMLJobArtifactsT>(value); }
246 template<typename AutoMLJobArtifactsT = AutoMLJobArtifacts>
247 DescribeAutoMLJobResult& WithAutoMLJobArtifacts(AutoMLJobArtifactsT&& value) { SetAutoMLJobArtifacts(std::forward<AutoMLJobArtifactsT>(value)); return *this;}
249
251
256 inline const ResolvedAttributes& GetResolvedAttributes() const { return m_resolvedAttributes; }
257 template<typename ResolvedAttributesT = ResolvedAttributes>
258 void SetResolvedAttributes(ResolvedAttributesT&& value) { m_resolvedAttributesHasBeenSet = true; m_resolvedAttributes = std::forward<ResolvedAttributesT>(value); }
259 template<typename ResolvedAttributesT = ResolvedAttributes>
260 DescribeAutoMLJobResult& WithResolvedAttributes(ResolvedAttributesT&& value) { SetResolvedAttributes(std::forward<ResolvedAttributesT>(value)); return *this;}
262
264
268 inline const ModelDeployConfig& GetModelDeployConfig() const { return m_modelDeployConfig; }
269 template<typename ModelDeployConfigT = ModelDeployConfig>
270 void SetModelDeployConfig(ModelDeployConfigT&& value) { m_modelDeployConfigHasBeenSet = true; m_modelDeployConfig = std::forward<ModelDeployConfigT>(value); }
271 template<typename ModelDeployConfigT = ModelDeployConfig>
272 DescribeAutoMLJobResult& WithModelDeployConfig(ModelDeployConfigT&& value) { SetModelDeployConfig(std::forward<ModelDeployConfigT>(value)); return *this;}
274
276
279 inline const ModelDeployResult& GetModelDeployResult() const { return m_modelDeployResult; }
280 template<typename ModelDeployResultT = ModelDeployResult>
281 void SetModelDeployResult(ModelDeployResultT&& value) { m_modelDeployResultHasBeenSet = true; m_modelDeployResult = std::forward<ModelDeployResultT>(value); }
282 template<typename ModelDeployResultT = ModelDeployResult>
283 DescribeAutoMLJobResult& WithModelDeployResult(ModelDeployResultT&& value) { SetModelDeployResult(std::forward<ModelDeployResultT>(value)); return *this;}
285
287
288 inline const Aws::String& GetRequestId() const { return m_requestId; }
289 template<typename RequestIdT = Aws::String>
290 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
291 template<typename RequestIdT = Aws::String>
292 DescribeAutoMLJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
294 private:
295
296 Aws::String m_autoMLJobName;
297 bool m_autoMLJobNameHasBeenSet = false;
298
299 Aws::String m_autoMLJobArn;
300 bool m_autoMLJobArnHasBeenSet = false;
301
302 Aws::Vector<AutoMLChannel> m_inputDataConfig;
303 bool m_inputDataConfigHasBeenSet = false;
304
305 AutoMLOutputDataConfig m_outputDataConfig;
306 bool m_outputDataConfigHasBeenSet = false;
307
308 Aws::String m_roleArn;
309 bool m_roleArnHasBeenSet = false;
310
311 AutoMLJobObjective m_autoMLJobObjective;
312 bool m_autoMLJobObjectiveHasBeenSet = false;
313
314 ProblemType m_problemType{ProblemType::NOT_SET};
315 bool m_problemTypeHasBeenSet = false;
316
317 AutoMLJobConfig m_autoMLJobConfig;
318 bool m_autoMLJobConfigHasBeenSet = false;
319
320 Aws::Utils::DateTime m_creationTime{};
321 bool m_creationTimeHasBeenSet = false;
322
323 Aws::Utils::DateTime m_endTime{};
324 bool m_endTimeHasBeenSet = false;
325
326 Aws::Utils::DateTime m_lastModifiedTime{};
327 bool m_lastModifiedTimeHasBeenSet = false;
328
329 Aws::String m_failureReason;
330 bool m_failureReasonHasBeenSet = false;
331
332 Aws::Vector<AutoMLPartialFailureReason> m_partialFailureReasons;
333 bool m_partialFailureReasonsHasBeenSet = false;
334
335 AutoMLCandidate m_bestCandidate;
336 bool m_bestCandidateHasBeenSet = false;
337
338 AutoMLJobStatus m_autoMLJobStatus{AutoMLJobStatus::NOT_SET};
339 bool m_autoMLJobStatusHasBeenSet = false;
340
342 bool m_autoMLJobSecondaryStatusHasBeenSet = false;
343
344 bool m_generateCandidateDefinitionsOnly{false};
345 bool m_generateCandidateDefinitionsOnlyHasBeenSet = false;
346
347 AutoMLJobArtifacts m_autoMLJobArtifacts;
348 bool m_autoMLJobArtifactsHasBeenSet = false;
349
350 ResolvedAttributes m_resolvedAttributes;
351 bool m_resolvedAttributesHasBeenSet = false;
352
353 ModelDeployConfig m_modelDeployConfig;
354 bool m_modelDeployConfigHasBeenSet = false;
355
356 ModelDeployResult m_modelDeployResult;
357 bool m_modelDeployResultHasBeenSet = false;
358
359 Aws::String m_requestId;
360 bool m_requestIdHasBeenSet = false;
361 };
362
363} // namespace Model
364} // namespace SageMaker
365} // namespace Aws
const AutoMLJobArtifacts & GetAutoMLJobArtifacts() const
DescribeAutoMLJobResult & AddInputDataConfig(InputDataConfigT &&value)
DescribeAutoMLJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
DescribeAutoMLJobResult & WithRequestId(RequestIdT &&value)
void SetPartialFailureReasons(PartialFailureReasonsT &&value)
AWS_SAGEMAKER_API DescribeAutoMLJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeAutoMLJobResult & WithPartialFailureReasons(PartialFailureReasonsT &&value)
DescribeAutoMLJobResult & WithAutoMLJobConfig(AutoMLJobConfigT &&value)
DescribeAutoMLJobResult & WithModelDeployConfig(ModelDeployConfigT &&value)
AWS_SAGEMAKER_API DescribeAutoMLJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_SAGEMAKER_API DescribeAutoMLJobResult()=default
void SetAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus value)
DescribeAutoMLJobResult & WithResolvedAttributes(ResolvedAttributesT &&value)
DescribeAutoMLJobResult & WithEndTime(EndTimeT &&value)
DescribeAutoMLJobResult & WithAutoMLJobName(AutoMLJobNameT &&value)
const Aws::Vector< AutoMLChannel > & GetInputDataConfig() const
DescribeAutoMLJobResult & WithAutoMLJobArtifacts(AutoMLJobArtifactsT &&value)
const Aws::Vector< AutoMLPartialFailureReason > & GetPartialFailureReasons() const
DescribeAutoMLJobResult & WithAutoMLJobObjective(AutoMLJobObjectiveT &&value)
AutoMLJobSecondaryStatus GetAutoMLJobSecondaryStatus() const
DescribeAutoMLJobResult & WithAutoMLJobSecondaryStatus(AutoMLJobSecondaryStatus value)
DescribeAutoMLJobResult & WithInputDataConfig(InputDataConfigT &&value)
DescribeAutoMLJobResult & WithGenerateCandidateDefinitionsOnly(bool value)
DescribeAutoMLJobResult & WithAutoMLJobArn(AutoMLJobArnT &&value)
const AutoMLJobObjective & GetAutoMLJobObjective() const
const ResolvedAttributes & GetResolvedAttributes() const
DescribeAutoMLJobResult & WithBestCandidate(BestCandidateT &&value)
void SetAutoMLJobObjective(AutoMLJobObjectiveT &&value)
void SetAutoMLJobArtifacts(AutoMLJobArtifactsT &&value)
DescribeAutoMLJobResult & WithRoleArn(RoleArnT &&value)
DescribeAutoMLJobResult & WithProblemType(ProblemType value)
const Aws::Utils::DateTime & GetCreationTime() const
DescribeAutoMLJobResult & WithFailureReason(FailureReasonT &&value)
DescribeAutoMLJobResult & WithModelDeployResult(ModelDeployResultT &&value)
const ModelDeployResult & GetModelDeployResult() const
const AutoMLOutputDataConfig & GetOutputDataConfig() const
DescribeAutoMLJobResult & WithOutputDataConfig(OutputDataConfigT &&value)
DescribeAutoMLJobResult & WithAutoMLJobStatus(AutoMLJobStatus value)
DescribeAutoMLJobResult & WithCreationTime(CreationTimeT &&value)
const Aws::Utils::DateTime & GetEndTime() const
DescribeAutoMLJobResult & AddPartialFailureReasons(PartialFailureReasonsT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetResolvedAttributes(ResolvedAttributesT &&value)
const ModelDeployConfig & GetModelDeployConfig() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue