7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/sagemaker/SageMaker_EXPORTS.h>
12#include <aws/sagemaker/model/JobCategory.h>
13#include <aws/sagemaker/model/JobSecondaryStatus.h>
14#include <aws/sagemaker/model/JobSecondaryStatusTransition.h>
15#include <aws/sagemaker/model/JobStatus.h>
16#include <aws/sagemaker/model/Tag.h>
21template <
typename RESULT_TYPE>
22class AmazonWebServiceResult;
42 template <
typename JobNameT = Aws::String>
44 m_jobNameHasBeenSet =
true;
45 m_jobName = std::forward<JobNameT>(value);
47 template <
typename JobNameT = Aws::String>
59 template <
typename JobArnT = Aws::String>
61 m_jobArnHasBeenSet =
true;
62 m_jobArn = std::forward<JobArnT>(value);
64 template <
typename JobArnT = Aws::String>
76 template <
typename RoleArnT = Aws::String>
78 m_roleArnHasBeenSet =
true;
79 m_roleArn = std::forward<RoleArnT>(value);
81 template <
typename RoleArnT = Aws::String>
94 m_jobCategoryHasBeenSet =
true;
95 m_jobCategory = value;
108 template <
typename JobConfigSchemaVersionT = Aws::String>
110 m_jobConfigSchemaVersionHasBeenSet =
true;
111 m_jobConfigSchemaVersion = std::forward<JobConfigSchemaVersionT>(value);
113 template <
typename JobConfigSchemaVersionT = Aws::String>
125 template <
typename JobConfigDocumentT = Aws::String>
127 m_jobConfigDocumentHasBeenSet =
true;
128 m_jobConfigDocument = std::forward<JobConfigDocumentT>(value);
130 template <
typename JobConfigDocumentT = Aws::String>
142 template <
typename CreationTimeT = Aws::Utils::DateTime>
144 m_creationTimeHasBeenSet =
true;
145 m_creationTime = std::forward<CreationTimeT>(value);
147 template <
typename CreationTimeT = Aws::Utils::DateTime>
159 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
161 m_lastModifiedTimeHasBeenSet =
true;
162 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
164 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
176 template <
typename EndTimeT = Aws::Utils::DateTime>
178 m_endTimeHasBeenSet =
true;
179 m_endTime = std::forward<EndTimeT>(value);
181 template <
typename EndTimeT = Aws::Utils::DateTime>
194 m_jobStatusHasBeenSet =
true;
210 m_secondaryStatusHasBeenSet =
true;
211 m_secondaryStatus = value;
225 template <
typename SecondaryStatusTransitionsT = Aws::Vector<JobSecondaryStatusTransition>>
227 m_secondaryStatusTransitionsHasBeenSet =
true;
228 m_secondaryStatusTransitions = std::forward<SecondaryStatusTransitionsT>(value);
230 template <
typename SecondaryStatusTransitionsT = Aws::Vector<JobSecondaryStatusTransition>>
235 template <
typename SecondaryStatusTransitionsT = JobSecondaryStatusTransition>
237 m_secondaryStatusTransitionsHasBeenSet =
true;
238 m_secondaryStatusTransitions.emplace_back(std::forward<SecondaryStatusTransitionsT>(value));
248 template <
typename FailureReasonT = Aws::String>
250 m_failureReasonHasBeenSet =
true;
251 m_failureReason = std::forward<FailureReasonT>(value);
253 template <
typename FailureReasonT = Aws::String>
265 template <
typename TagsT = Aws::Vector<Tag>>
267 m_tagsHasBeenSet =
true;
268 m_tags = std::forward<TagsT>(value);
270 template <
typename TagsT = Aws::Vector<Tag>>
272 SetTags(std::forward<TagsT>(value));
275 template <
typename TagsT = Tag>
277 m_tagsHasBeenSet =
true;
278 m_tags.emplace_back(std::forward<TagsT>(value));
286 template <
typename RequestIdT = Aws::String>
288 m_requestIdHasBeenSet =
true;
289 m_requestId = std::forward<RequestIdT>(value);
291 template <
typename RequestIdT = Aws::String>
330 bool m_jobNameHasBeenSet =
false;
331 bool m_jobArnHasBeenSet =
false;
332 bool m_roleArnHasBeenSet =
false;
333 bool m_jobCategoryHasBeenSet =
false;
334 bool m_jobConfigSchemaVersionHasBeenSet =
false;
335 bool m_jobConfigDocumentHasBeenSet =
false;
336 bool m_creationTimeHasBeenSet =
false;
337 bool m_lastModifiedTimeHasBeenSet =
false;
338 bool m_endTimeHasBeenSet =
false;
339 bool m_jobStatusHasBeenSet =
false;
340 bool m_secondaryStatusHasBeenSet =
false;
341 bool m_secondaryStatusTransitionsHasBeenSet =
false;
342 bool m_failureReasonHasBeenSet =
false;
343 bool m_tagsHasBeenSet =
false;
344 bool m_requestIdHasBeenSet =
false;
DescribeJobResult & WithTags(TagsT &&value)
void SetEndTime(EndTimeT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetTags(TagsT &&value)
DescribeJobResult & WithJobCategory(JobCategory value)
DescribeJobResult & WithSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
void SetJobArn(JobArnT &&value)
DescribeJobResult & WithJobName(JobNameT &&value)
DescribeJobResult & AddTags(TagsT &&value)
DescribeJobResult & WithJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
DescribeJobResult & WithFailureReason(FailureReasonT &&value)
DescribeJobResult & WithSecondaryStatus(JobSecondaryStatus value)
DescribeJobResult & WithJobStatus(JobStatus value)
const Aws::String & GetJobConfigDocument() const
JobStatus GetJobStatus() const
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetJobConfigSchemaVersion() const
JobCategory GetJobCategory() const
DescribeJobResult & WithJobConfigDocument(JobConfigDocumentT &&value)
AWS_SAGEMAKER_API DescribeJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeJobResult & WithRequestId(RequestIdT &&value)
const Aws::Vector< JobSecondaryStatusTransition > & GetSecondaryStatusTransitions() const
const Aws::String & GetRequestId() const
AWS_SAGEMAKER_API DescribeJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetJobStatus(JobStatus value)
void SetRequestId(RequestIdT &&value)
void SetSecondaryStatus(JobSecondaryStatus value)
const Aws::Utils::DateTime & GetCreationTime() const
void SetSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
const Aws::Vector< Tag > & GetTags() const
AWS_SAGEMAKER_API DescribeJobResult()=default
JobSecondaryStatus GetSecondaryStatus() const
void SetJobConfigDocument(JobConfigDocumentT &&value)
DescribeJobResult & AddSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
DescribeJobResult & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::String & GetJobArn() const
const Aws::Utils::DateTime & GetEndTime() const
void SetJobCategory(JobCategory value)
DescribeJobResult & WithJobArn(JobArnT &&value)
void SetCreationTime(CreationTimeT &&value)
void SetJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
DescribeJobResult & WithRoleArn(RoleArnT &&value)
const Aws::String & GetFailureReason() const
void SetJobName(JobNameT &&value)
DescribeJobResult & WithEndTime(EndTimeT &&value)
void SetRoleArn(RoleArnT &&value)
DescribeJobResult & WithCreationTime(CreationTimeT &&value)
const Aws::String & GetJobName() const
const Aws::String & GetRoleArn() 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