7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/sagemaker/SageMaker_EXPORTS.h>
11#include <aws/sagemaker/model/JobCategory.h>
12#include <aws/sagemaker/model/JobSecondaryStatus.h>
13#include <aws/sagemaker/model/JobSecondaryStatusTransition.h>
14#include <aws/sagemaker/model/JobStatus.h>
15#include <aws/sagemaker/model/Tag.h>
38 AWS_SAGEMAKER_API
Job() =
default;
49 template <
typename JobNameT = Aws::String>
51 m_jobNameHasBeenSet =
true;
52 m_jobName = std::forward<JobNameT>(value);
54 template <
typename JobNameT = Aws::String>
67 template <
typename JobArnT = Aws::String>
69 m_jobArnHasBeenSet =
true;
70 m_jobArn = std::forward<JobArnT>(value);
72 template <
typename JobArnT = Aws::String>
85 template <
typename RoleArnT = Aws::String>
87 m_roleArnHasBeenSet =
true;
88 m_roleArn = std::forward<RoleArnT>(value);
90 template <
typename RoleArnT = Aws::String>
104 m_jobCategoryHasBeenSet =
true;
105 m_jobCategory = value;
119 template <
typename JobConfigSchemaVersionT = Aws::String>
121 m_jobConfigSchemaVersionHasBeenSet =
true;
122 m_jobConfigSchemaVersion = std::forward<JobConfigSchemaVersionT>(value);
124 template <
typename JobConfigSchemaVersionT = Aws::String>
137 template <
typename JobConfigDocumentT = Aws::String>
139 m_jobConfigDocumentHasBeenSet =
true;
140 m_jobConfigDocument = std::forward<JobConfigDocumentT>(value);
142 template <
typename JobConfigDocumentT = Aws::String>
155 template <
typename CreationTimeT = Aws::Utils::DateTime>
157 m_creationTimeHasBeenSet =
true;
158 m_creationTime = std::forward<CreationTimeT>(value);
160 template <
typename CreationTimeT = Aws::Utils::DateTime>
173 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
175 m_lastModifiedTimeHasBeenSet =
true;
176 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
178 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
191 template <
typename EndTimeT = Aws::Utils::DateTime>
193 m_endTimeHasBeenSet =
true;
194 m_endTime = std::forward<EndTimeT>(value);
196 template <
typename EndTimeT = Aws::Utils::DateTime>
210 m_jobStatusHasBeenSet =
true;
227 m_secondaryStatusHasBeenSet =
true;
228 m_secondaryStatus = value;
243 template <
typename SecondaryStatusTransitionsT = Aws::Vector<JobSecondaryStatusTransition>>
245 m_secondaryStatusTransitionsHasBeenSet =
true;
246 m_secondaryStatusTransitions = std::forward<SecondaryStatusTransitionsT>(value);
248 template <
typename SecondaryStatusTransitionsT = Aws::Vector<JobSecondaryStatusTransition>>
253 template <
typename SecondaryStatusTransitionsT = JobSecondaryStatusTransition>
255 m_secondaryStatusTransitionsHasBeenSet =
true;
256 m_secondaryStatusTransitions.emplace_back(std::forward<SecondaryStatusTransitionsT>(value));
267 template <
typename FailureReasonT = Aws::String>
269 m_failureReasonHasBeenSet =
true;
270 m_failureReason = std::forward<FailureReasonT>(value);
272 template <
typename FailureReasonT = Aws::String>
285 template <
typename TagsT = Aws::Vector<Tag>>
287 m_tagsHasBeenSet =
true;
288 m_tags = std::forward<TagsT>(value);
290 template <
typename TagsT = Aws::Vector<Tag>>
292 SetTags(std::forward<TagsT>(value));
295 template <
typename TagsT = Tag>
297 m_tagsHasBeenSet =
true;
298 m_tags.emplace_back(std::forward<TagsT>(value));
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;
Job & WithSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
bool SecondaryStatusHasBeenSet() const
AWS_SAGEMAKER_API Job & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetJobStatus(JobStatus value)
const Aws::Utils::DateTime & GetEndTime() const
const Aws::String & GetJobConfigDocument() const
Job & WithSecondaryStatus(JobSecondaryStatus value)
bool JobStatusHasBeenSet() const
bool JobNameHasBeenSet() const
bool FailureReasonHasBeenSet() const
const Aws::String & GetRoleArn() const
void SetTags(TagsT &&value)
const Aws::String & GetJobArn() const
void SetRoleArn(RoleArnT &&value)
bool JobArnHasBeenSet() const
Job & WithJobName(JobNameT &&value)
Job & AddSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
AWS_SAGEMAKER_API Job()=default
void SetJobConfigDocument(JobConfigDocumentT &&value)
bool JobConfigSchemaVersionHasBeenSet() const
const Aws::String & GetFailureReason() const
JobStatus GetJobStatus() const
void SetJobCategory(JobCategory value)
JobCategory GetJobCategory() const
const Aws::Vector< JobSecondaryStatusTransition > & GetSecondaryStatusTransitions() const
void SetSecondaryStatus(JobSecondaryStatus value)
Job & WithJobArn(JobArnT &&value)
Job & WithRoleArn(RoleArnT &&value)
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetJobConfigSchemaVersion() const
void SetSecondaryStatusTransitions(SecondaryStatusTransitionsT &&value)
Job & WithLastModifiedTime(LastModifiedTimeT &&value)
bool RoleArnHasBeenSet() const
bool SecondaryStatusTransitionsHasBeenSet() const
void SetJobName(JobNameT &&value)
void SetJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
Job & WithJobConfigSchemaVersion(JobConfigSchemaVersionT &&value)
Job & WithEndTime(EndTimeT &&value)
bool JobConfigDocumentHasBeenSet() const
bool JobCategoryHasBeenSet() const
Job & WithJobCategory(JobCategory value)
const Aws::Utils::DateTime & GetCreationTime() const
bool TagsHasBeenSet() const
bool LastModifiedTimeHasBeenSet() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
Job & WithJobConfigDocument(JobConfigDocumentT &&value)
bool EndTimeHasBeenSet() const
void SetEndTime(EndTimeT &&value)
AWS_SAGEMAKER_API Job(Aws::Utils::Json::JsonView jsonValue)
Job & WithCreationTime(CreationTimeT &&value)
JobSecondaryStatus GetSecondaryStatus() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
Job & AddTags(TagsT &&value)
Job & WithFailureReason(FailureReasonT &&value)
bool CreationTimeHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
void SetCreationTime(CreationTimeT &&value)
Job & WithJobStatus(JobStatus value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetJobName() const
void SetJobArn(JobArnT &&value)
Job & WithTags(TagsT &&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