/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { /** *

Summary of information about a processing job.

See Also:

AWS * API Reference

*/ class ProcessingJobSummary { public: AWS_SAGEMAKER_API ProcessingJobSummary(); AWS_SAGEMAKER_API ProcessingJobSummary(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API ProcessingJobSummary& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The name of the processing job.

*/ inline const Aws::String& GetProcessingJobName() const{ return m_processingJobName; } /** *

The name of the processing job.

*/ inline bool ProcessingJobNameHasBeenSet() const { return m_processingJobNameHasBeenSet; } /** *

The name of the processing job.

*/ inline void SetProcessingJobName(const Aws::String& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = value; } /** *

The name of the processing job.

*/ inline void SetProcessingJobName(Aws::String&& value) { m_processingJobNameHasBeenSet = true; m_processingJobName = std::move(value); } /** *

The name of the processing job.

*/ inline void SetProcessingJobName(const char* value) { m_processingJobNameHasBeenSet = true; m_processingJobName.assign(value); } /** *

The name of the processing job.

*/ inline ProcessingJobSummary& WithProcessingJobName(const Aws::String& value) { SetProcessingJobName(value); return *this;} /** *

The name of the processing job.

*/ inline ProcessingJobSummary& WithProcessingJobName(Aws::String&& value) { SetProcessingJobName(std::move(value)); return *this;} /** *

The name of the processing job.

*/ inline ProcessingJobSummary& WithProcessingJobName(const char* value) { SetProcessingJobName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline const Aws::String& GetProcessingJobArn() const{ return m_processingJobArn; } /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline bool ProcessingJobArnHasBeenSet() const { return m_processingJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline void SetProcessingJobArn(const Aws::String& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = value; } /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline void SetProcessingJobArn(Aws::String&& value) { m_processingJobArnHasBeenSet = true; m_processingJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline void SetProcessingJobArn(const char* value) { m_processingJobArnHasBeenSet = true; m_processingJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline ProcessingJobSummary& WithProcessingJobArn(const Aws::String& value) { SetProcessingJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline ProcessingJobSummary& WithProcessingJobArn(Aws::String&& value) { SetProcessingJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the processing job..

*/ inline ProcessingJobSummary& WithProcessingJobArn(const char* value) { SetProcessingJobArn(value); return *this;} /** *

The time at which the processing job was created.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

The time at which the processing job was created.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

The time at which the processing job was created.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

The time at which the processing job was created.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

The time at which the processing job was created.

*/ inline ProcessingJobSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

The time at which the processing job was created.

*/ inline ProcessingJobSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The time at which the processing job completed.

*/ inline const Aws::Utils::DateTime& GetProcessingEndTime() const{ return m_processingEndTime; } /** *

The time at which the processing job completed.

*/ inline bool ProcessingEndTimeHasBeenSet() const { return m_processingEndTimeHasBeenSet; } /** *

The time at which the processing job completed.

*/ inline void SetProcessingEndTime(const Aws::Utils::DateTime& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = value; } /** *

The time at which the processing job completed.

*/ inline void SetProcessingEndTime(Aws::Utils::DateTime&& value) { m_processingEndTimeHasBeenSet = true; m_processingEndTime = std::move(value); } /** *

The time at which the processing job completed.

*/ inline ProcessingJobSummary& WithProcessingEndTime(const Aws::Utils::DateTime& value) { SetProcessingEndTime(value); return *this;} /** *

The time at which the processing job completed.

*/ inline ProcessingJobSummary& WithProcessingEndTime(Aws::Utils::DateTime&& value) { SetProcessingEndTime(std::move(value)); return *this;} /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; } /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; } /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; } /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); } /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline ProcessingJobSummary& WithLastModifiedTime(const Aws::Utils::DateTime& value) { SetLastModifiedTime(value); return *this;} /** *

A timestamp that indicates the last time the processing job was modified.

*/ inline ProcessingJobSummary& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;} /** *

The status of the processing job.

*/ inline const ProcessingJobStatus& GetProcessingJobStatus() const{ return m_processingJobStatus; } /** *

The status of the processing job.

*/ inline bool ProcessingJobStatusHasBeenSet() const { return m_processingJobStatusHasBeenSet; } /** *

The status of the processing job.

*/ inline void SetProcessingJobStatus(const ProcessingJobStatus& value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = value; } /** *

The status of the processing job.

*/ inline void SetProcessingJobStatus(ProcessingJobStatus&& value) { m_processingJobStatusHasBeenSet = true; m_processingJobStatus = std::move(value); } /** *

The status of the processing job.

*/ inline ProcessingJobSummary& WithProcessingJobStatus(const ProcessingJobStatus& value) { SetProcessingJobStatus(value); return *this;} /** *

The status of the processing job.

*/ inline ProcessingJobSummary& WithProcessingJobStatus(ProcessingJobStatus&& value) { SetProcessingJobStatus(std::move(value)); return *this;} /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline ProcessingJobSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline ProcessingJobSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

A string, up to one KB in size, that contains the reason a processing job * failed, if it failed.

*/ inline ProcessingJobSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline const Aws::String& GetExitMessage() const{ return m_exitMessage; } /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline bool ExitMessageHasBeenSet() const { return m_exitMessageHasBeenSet; } /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline void SetExitMessage(const Aws::String& value) { m_exitMessageHasBeenSet = true; m_exitMessage = value; } /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline void SetExitMessage(Aws::String&& value) { m_exitMessageHasBeenSet = true; m_exitMessage = std::move(value); } /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline void SetExitMessage(const char* value) { m_exitMessageHasBeenSet = true; m_exitMessage.assign(value); } /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline ProcessingJobSummary& WithExitMessage(const Aws::String& value) { SetExitMessage(value); return *this;} /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline ProcessingJobSummary& WithExitMessage(Aws::String&& value) { SetExitMessage(std::move(value)); return *this;} /** *

An optional string, up to one KB in size, that contains metadata from the * processing container when the processing job exits.

*/ inline ProcessingJobSummary& WithExitMessage(const char* value) { SetExitMessage(value); return *this;} private: Aws::String m_processingJobName; bool m_processingJobNameHasBeenSet = false; Aws::String m_processingJobArn; bool m_processingJobArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_processingEndTime; bool m_processingEndTimeHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; ProcessingJobStatus m_processingJobStatus; bool m_processingJobStatusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_exitMessage; bool m_exitMessageHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws