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

A summary of a model compilation job.

See Also:

AWS * API Reference

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

The name of the model compilation job that you want a summary for.

*/ inline const Aws::String& GetCompilationJobName() const{ return m_compilationJobName; } /** *

The name of the model compilation job that you want a summary for.

*/ inline bool CompilationJobNameHasBeenSet() const { return m_compilationJobNameHasBeenSet; } /** *

The name of the model compilation job that you want a summary for.

*/ inline void SetCompilationJobName(const Aws::String& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = value; } /** *

The name of the model compilation job that you want a summary for.

*/ inline void SetCompilationJobName(Aws::String&& value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName = std::move(value); } /** *

The name of the model compilation job that you want a summary for.

*/ inline void SetCompilationJobName(const char* value) { m_compilationJobNameHasBeenSet = true; m_compilationJobName.assign(value); } /** *

The name of the model compilation job that you want a summary for.

*/ inline CompilationJobSummary& WithCompilationJobName(const Aws::String& value) { SetCompilationJobName(value); return *this;} /** *

The name of the model compilation job that you want a summary for.

*/ inline CompilationJobSummary& WithCompilationJobName(Aws::String&& value) { SetCompilationJobName(std::move(value)); return *this;} /** *

The name of the model compilation job that you want a summary for.

*/ inline CompilationJobSummary& WithCompilationJobName(const char* value) { SetCompilationJobName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline const Aws::String& GetCompilationJobArn() const{ return m_compilationJobArn; } /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline bool CompilationJobArnHasBeenSet() const { return m_compilationJobArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline void SetCompilationJobArn(const Aws::String& value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn = value; } /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline void SetCompilationJobArn(Aws::String&& value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline void SetCompilationJobArn(const char* value) { m_compilationJobArnHasBeenSet = true; m_compilationJobArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline CompilationJobSummary& WithCompilationJobArn(const Aws::String& value) { SetCompilationJobArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline CompilationJobSummary& WithCompilationJobArn(Aws::String&& value) { SetCompilationJobArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the model compilation job.

*/ inline CompilationJobSummary& WithCompilationJobArn(const char* value) { SetCompilationJobArn(value); return *this;} /** *

The time when the model compilation job was created.

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

The time when the model compilation job was created.

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

The time when the model compilation job was created.

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

The time when the model compilation job was created.

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

The time when the model compilation job was created.

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

The time when the model compilation job was created.

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

The time when the model compilation job started.

*/ inline const Aws::Utils::DateTime& GetCompilationStartTime() const{ return m_compilationStartTime; } /** *

The time when the model compilation job started.

*/ inline bool CompilationStartTimeHasBeenSet() const { return m_compilationStartTimeHasBeenSet; } /** *

The time when the model compilation job started.

*/ inline void SetCompilationStartTime(const Aws::Utils::DateTime& value) { m_compilationStartTimeHasBeenSet = true; m_compilationStartTime = value; } /** *

The time when the model compilation job started.

*/ inline void SetCompilationStartTime(Aws::Utils::DateTime&& value) { m_compilationStartTimeHasBeenSet = true; m_compilationStartTime = std::move(value); } /** *

The time when the model compilation job started.

*/ inline CompilationJobSummary& WithCompilationStartTime(const Aws::Utils::DateTime& value) { SetCompilationStartTime(value); return *this;} /** *

The time when the model compilation job started.

*/ inline CompilationJobSummary& WithCompilationStartTime(Aws::Utils::DateTime&& value) { SetCompilationStartTime(std::move(value)); return *this;} /** *

The time when the model compilation job completed.

*/ inline const Aws::Utils::DateTime& GetCompilationEndTime() const{ return m_compilationEndTime; } /** *

The time when the model compilation job completed.

*/ inline bool CompilationEndTimeHasBeenSet() const { return m_compilationEndTimeHasBeenSet; } /** *

The time when the model compilation job completed.

*/ inline void SetCompilationEndTime(const Aws::Utils::DateTime& value) { m_compilationEndTimeHasBeenSet = true; m_compilationEndTime = value; } /** *

The time when the model compilation job completed.

*/ inline void SetCompilationEndTime(Aws::Utils::DateTime&& value) { m_compilationEndTimeHasBeenSet = true; m_compilationEndTime = std::move(value); } /** *

The time when the model compilation job completed.

*/ inline CompilationJobSummary& WithCompilationEndTime(const Aws::Utils::DateTime& value) { SetCompilationEndTime(value); return *this;} /** *

The time when the model compilation job completed.

*/ inline CompilationJobSummary& WithCompilationEndTime(Aws::Utils::DateTime&& value) { SetCompilationEndTime(std::move(value)); return *this;} /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline const TargetDevice& GetCompilationTargetDevice() const{ return m_compilationTargetDevice; } /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline bool CompilationTargetDeviceHasBeenSet() const { return m_compilationTargetDeviceHasBeenSet; } /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline void SetCompilationTargetDevice(const TargetDevice& value) { m_compilationTargetDeviceHasBeenSet = true; m_compilationTargetDevice = value; } /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline void SetCompilationTargetDevice(TargetDevice&& value) { m_compilationTargetDeviceHasBeenSet = true; m_compilationTargetDevice = std::move(value); } /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline CompilationJobSummary& WithCompilationTargetDevice(const TargetDevice& value) { SetCompilationTargetDevice(value); return *this;} /** *

The type of device that the model will run on after the compilation job has * completed.

*/ inline CompilationJobSummary& WithCompilationTargetDevice(TargetDevice&& value) { SetCompilationTargetDevice(std::move(value)); return *this;} /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline const TargetPlatformOs& GetCompilationTargetPlatformOs() const{ return m_compilationTargetPlatformOs; } /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline bool CompilationTargetPlatformOsHasBeenSet() const { return m_compilationTargetPlatformOsHasBeenSet; } /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline void SetCompilationTargetPlatformOs(const TargetPlatformOs& value) { m_compilationTargetPlatformOsHasBeenSet = true; m_compilationTargetPlatformOs = value; } /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline void SetCompilationTargetPlatformOs(TargetPlatformOs&& value) { m_compilationTargetPlatformOsHasBeenSet = true; m_compilationTargetPlatformOs = std::move(value); } /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformOs(const TargetPlatformOs& value) { SetCompilationTargetPlatformOs(value); return *this;} /** *

The type of OS that the model will run on after the compilation job has * completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformOs(TargetPlatformOs&& value) { SetCompilationTargetPlatformOs(std::move(value)); return *this;} /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline const TargetPlatformArch& GetCompilationTargetPlatformArch() const{ return m_compilationTargetPlatformArch; } /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline bool CompilationTargetPlatformArchHasBeenSet() const { return m_compilationTargetPlatformArchHasBeenSet; } /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline void SetCompilationTargetPlatformArch(const TargetPlatformArch& value) { m_compilationTargetPlatformArchHasBeenSet = true; m_compilationTargetPlatformArch = value; } /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline void SetCompilationTargetPlatformArch(TargetPlatformArch&& value) { m_compilationTargetPlatformArchHasBeenSet = true; m_compilationTargetPlatformArch = std::move(value); } /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformArch(const TargetPlatformArch& value) { SetCompilationTargetPlatformArch(value); return *this;} /** *

The type of architecture that the model will run on after the compilation job * has completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformArch(TargetPlatformArch&& value) { SetCompilationTargetPlatformArch(std::move(value)); return *this;} /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline const TargetPlatformAccelerator& GetCompilationTargetPlatformAccelerator() const{ return m_compilationTargetPlatformAccelerator; } /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline bool CompilationTargetPlatformAcceleratorHasBeenSet() const { return m_compilationTargetPlatformAcceleratorHasBeenSet; } /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline void SetCompilationTargetPlatformAccelerator(const TargetPlatformAccelerator& value) { m_compilationTargetPlatformAcceleratorHasBeenSet = true; m_compilationTargetPlatformAccelerator = value; } /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline void SetCompilationTargetPlatformAccelerator(TargetPlatformAccelerator&& value) { m_compilationTargetPlatformAcceleratorHasBeenSet = true; m_compilationTargetPlatformAccelerator = std::move(value); } /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformAccelerator(const TargetPlatformAccelerator& value) { SetCompilationTargetPlatformAccelerator(value); return *this;} /** *

The type of accelerator that the model will run on after the compilation job * has completed.

*/ inline CompilationJobSummary& WithCompilationTargetPlatformAccelerator(TargetPlatformAccelerator&& value) { SetCompilationTargetPlatformAccelerator(std::move(value)); return *this;} /** *

The time when the model compilation job was last modified.

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

The time when the model compilation job was last modified.

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

The time when the model compilation job was last modified.

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

The time when the model compilation job was last modified.

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

The time when the model compilation job was last modified.

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

The time when the model compilation job was last modified.

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

The status of the model compilation job.

*/ inline const CompilationJobStatus& GetCompilationJobStatus() const{ return m_compilationJobStatus; } /** *

The status of the model compilation job.

*/ inline bool CompilationJobStatusHasBeenSet() const { return m_compilationJobStatusHasBeenSet; } /** *

The status of the model compilation job.

*/ inline void SetCompilationJobStatus(const CompilationJobStatus& value) { m_compilationJobStatusHasBeenSet = true; m_compilationJobStatus = value; } /** *

The status of the model compilation job.

*/ inline void SetCompilationJobStatus(CompilationJobStatus&& value) { m_compilationJobStatusHasBeenSet = true; m_compilationJobStatus = std::move(value); } /** *

The status of the model compilation job.

*/ inline CompilationJobSummary& WithCompilationJobStatus(const CompilationJobStatus& value) { SetCompilationJobStatus(value); return *this;} /** *

The status of the model compilation job.

*/ inline CompilationJobSummary& WithCompilationJobStatus(CompilationJobStatus&& value) { SetCompilationJobStatus(std::move(value)); return *this;} private: Aws::String m_compilationJobName; bool m_compilationJobNameHasBeenSet = false; Aws::String m_compilationJobArn; bool m_compilationJobArnHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::Utils::DateTime m_compilationStartTime; bool m_compilationStartTimeHasBeenSet = false; Aws::Utils::DateTime m_compilationEndTime; bool m_compilationEndTimeHasBeenSet = false; TargetDevice m_compilationTargetDevice; bool m_compilationTargetDeviceHasBeenSet = false; TargetPlatformOs m_compilationTargetPlatformOs; bool m_compilationTargetPlatformOsHasBeenSet = false; TargetPlatformArch m_compilationTargetPlatformArch; bool m_compilationTargetPlatformArchHasBeenSet = false; TargetPlatformAccelerator m_compilationTargetPlatformAccelerator; bool m_compilationTargetPlatformAcceleratorHasBeenSet = false; Aws::Utils::DateTime m_lastModifiedTime; bool m_lastModifiedTimeHasBeenSet = false; CompilationJobStatus m_compilationJobStatus; bool m_compilationJobStatusHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws