/** * 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 namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeModelCardExportJobResult { public: AWS_SAGEMAKER_API DescribeModelCardExportJobResult(); AWS_SAGEMAKER_API DescribeModelCardExportJobResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeModelCardExportJobResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The name of the model card export job to describe.

*/ inline const Aws::String& GetModelCardExportJobName() const{ return m_modelCardExportJobName; } /** *

The name of the model card export job to describe.

*/ inline void SetModelCardExportJobName(const Aws::String& value) { m_modelCardExportJobName = value; } /** *

The name of the model card export job to describe.

*/ inline void SetModelCardExportJobName(Aws::String&& value) { m_modelCardExportJobName = std::move(value); } /** *

The name of the model card export job to describe.

*/ inline void SetModelCardExportJobName(const char* value) { m_modelCardExportJobName.assign(value); } /** *

The name of the model card export job to describe.

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobName(const Aws::String& value) { SetModelCardExportJobName(value); return *this;} /** *

The name of the model card export job to describe.

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobName(Aws::String&& value) { SetModelCardExportJobName(std::move(value)); return *this;} /** *

The name of the model card export job to describe.

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobName(const char* value) { SetModelCardExportJobName(value); return *this;} /** *

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

*/ inline const Aws::String& GetModelCardExportJobArn() const{ return m_modelCardExportJobArn; } /** *

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

*/ inline void SetModelCardExportJobArn(const Aws::String& value) { m_modelCardExportJobArn = value; } /** *

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

*/ inline void SetModelCardExportJobArn(Aws::String&& value) { m_modelCardExportJobArn = std::move(value); } /** *

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

*/ inline void SetModelCardExportJobArn(const char* value) { m_modelCardExportJobArn.assign(value); } /** *

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

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobArn(const Aws::String& value) { SetModelCardExportJobArn(value); return *this;} /** *

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

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobArn(Aws::String&& value) { SetModelCardExportJobArn(std::move(value)); return *this;} /** *

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

*/ inline DescribeModelCardExportJobResult& WithModelCardExportJobArn(const char* value) { SetModelCardExportJobArn(value); return *this;} /** *

The completion status of the model card export job.

  • * InProgress: The model card export job is in progress.

  • *
  • Completed: The model card export job is complete.

    *
  • Failed: The model card export job failed. To see the * reason for the failure, see the FailureReason field in the response * to a DescribeModelCardExportJob call.

*/ inline const ModelCardExportJobStatus& GetStatus() const{ return m_status; } /** *

The completion status of the model card export job.

  • * InProgress: The model card export job is in progress.

  • *
  • Completed: The model card export job is complete.

    *
  • Failed: The model card export job failed. To see the * reason for the failure, see the FailureReason field in the response * to a DescribeModelCardExportJob call.

*/ inline void SetStatus(const ModelCardExportJobStatus& value) { m_status = value; } /** *

The completion status of the model card export job.

  • * InProgress: The model card export job is in progress.

  • *
  • Completed: The model card export job is complete.

    *
  • Failed: The model card export job failed. To see the * reason for the failure, see the FailureReason field in the response * to a DescribeModelCardExportJob call.

*/ inline void SetStatus(ModelCardExportJobStatus&& value) { m_status = std::move(value); } /** *

The completion status of the model card export job.

  • * InProgress: The model card export job is in progress.

  • *
  • Completed: The model card export job is complete.

    *
  • Failed: The model card export job failed. To see the * reason for the failure, see the FailureReason field in the response * to a DescribeModelCardExportJob call.

*/ inline DescribeModelCardExportJobResult& WithStatus(const ModelCardExportJobStatus& value) { SetStatus(value); return *this;} /** *

The completion status of the model card export job.

  • * InProgress: The model card export job is in progress.

  • *
  • Completed: The model card export job is complete.

    *
  • Failed: The model card export job failed. To see the * reason for the failure, see the FailureReason field in the response * to a DescribeModelCardExportJob call.

*/ inline DescribeModelCardExportJobResult& WithStatus(ModelCardExportJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The name of the model card that the model export job exports.

*/ inline const Aws::String& GetModelCardName() const{ return m_modelCardName; } /** *

The name of the model card that the model export job exports.

*/ inline void SetModelCardName(const Aws::String& value) { m_modelCardName = value; } /** *

The name of the model card that the model export job exports.

*/ inline void SetModelCardName(Aws::String&& value) { m_modelCardName = std::move(value); } /** *

The name of the model card that the model export job exports.

*/ inline void SetModelCardName(const char* value) { m_modelCardName.assign(value); } /** *

The name of the model card that the model export job exports.

*/ inline DescribeModelCardExportJobResult& WithModelCardName(const Aws::String& value) { SetModelCardName(value); return *this;} /** *

The name of the model card that the model export job exports.

*/ inline DescribeModelCardExportJobResult& WithModelCardName(Aws::String&& value) { SetModelCardName(std::move(value)); return *this;} /** *

The name of the model card that the model export job exports.

*/ inline DescribeModelCardExportJobResult& WithModelCardName(const char* value) { SetModelCardName(value); return *this;} /** *

The version of the model card that the model export job exports.

*/ inline int GetModelCardVersion() const{ return m_modelCardVersion; } /** *

The version of the model card that the model export job exports.

*/ inline void SetModelCardVersion(int value) { m_modelCardVersion = value; } /** *

The version of the model card that the model export job exports.

*/ inline DescribeModelCardExportJobResult& WithModelCardVersion(int value) { SetModelCardVersion(value); return *this;} /** *

The export output details for the model card.

*/ inline const ModelCardExportOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *

The export output details for the model card.

*/ inline void SetOutputConfig(const ModelCardExportOutputConfig& value) { m_outputConfig = value; } /** *

The export output details for the model card.

*/ inline void SetOutputConfig(ModelCardExportOutputConfig&& value) { m_outputConfig = std::move(value); } /** *

The export output details for the model card.

*/ inline DescribeModelCardExportJobResult& WithOutputConfig(const ModelCardExportOutputConfig& value) { SetOutputConfig(value); return *this;} /** *

The export output details for the model card.

*/ inline DescribeModelCardExportJobResult& WithOutputConfig(ModelCardExportOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} /** *

The date and time that the model export job was created.

*/ inline const Aws::Utils::DateTime& GetCreatedAt() const{ return m_createdAt; } /** *

The date and time that the model export job was created.

*/ inline void SetCreatedAt(const Aws::Utils::DateTime& value) { m_createdAt = value; } /** *

The date and time that the model export job was created.

*/ inline void SetCreatedAt(Aws::Utils::DateTime&& value) { m_createdAt = std::move(value); } /** *

The date and time that the model export job was created.

*/ inline DescribeModelCardExportJobResult& WithCreatedAt(const Aws::Utils::DateTime& value) { SetCreatedAt(value); return *this;} /** *

The date and time that the model export job was created.

*/ inline DescribeModelCardExportJobResult& WithCreatedAt(Aws::Utils::DateTime&& value) { SetCreatedAt(std::move(value)); return *this;} /** *

The date and time that the model export job was last modified.

*/ inline const Aws::Utils::DateTime& GetLastModifiedAt() const{ return m_lastModifiedAt; } /** *

The date and time that the model export job was last modified.

*/ inline void SetLastModifiedAt(const Aws::Utils::DateTime& value) { m_lastModifiedAt = value; } /** *

The date and time that the model export job was last modified.

*/ inline void SetLastModifiedAt(Aws::Utils::DateTime&& value) { m_lastModifiedAt = std::move(value); } /** *

The date and time that the model export job was last modified.

*/ inline DescribeModelCardExportJobResult& WithLastModifiedAt(const Aws::Utils::DateTime& value) { SetLastModifiedAt(value); return *this;} /** *

The date and time that the model export job was last modified.

*/ inline DescribeModelCardExportJobResult& WithLastModifiedAt(Aws::Utils::DateTime&& value) { SetLastModifiedAt(std::move(value)); return *this;} /** *

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The failure reason if the model export job fails.

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

The exported model card artifacts.

*/ inline const ModelCardExportArtifacts& GetExportArtifacts() const{ return m_exportArtifacts; } /** *

The exported model card artifacts.

*/ inline void SetExportArtifacts(const ModelCardExportArtifacts& value) { m_exportArtifacts = value; } /** *

The exported model card artifacts.

*/ inline void SetExportArtifacts(ModelCardExportArtifacts&& value) { m_exportArtifacts = std::move(value); } /** *

The exported model card artifacts.

*/ inline DescribeModelCardExportJobResult& WithExportArtifacts(const ModelCardExportArtifacts& value) { SetExportArtifacts(value); return *this;} /** *

The exported model card artifacts.

*/ inline DescribeModelCardExportJobResult& WithExportArtifacts(ModelCardExportArtifacts&& value) { SetExportArtifacts(std::move(value)); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeModelCardExportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeModelCardExportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeModelCardExportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_modelCardExportJobName; Aws::String m_modelCardExportJobArn; ModelCardExportJobStatus m_status; Aws::String m_modelCardName; int m_modelCardVersion; ModelCardExportOutputConfig m_outputConfig; Aws::Utils::DateTime m_createdAt; Aws::Utils::DateTime m_lastModifiedAt; Aws::String m_failureReason; ModelCardExportArtifacts m_exportArtifacts; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws