/** * 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 LookoutforVision { namespace Model { /** *

Metadata for a model packaging job. For more information, see * ListModelPackagingJobs.

See Also:

AWS * API Reference

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

The name of the model packaging job.

*/ inline const Aws::String& GetJobName() const{ return m_jobName; } /** *

The name of the model packaging job.

*/ inline bool JobNameHasBeenSet() const { return m_jobNameHasBeenSet; } /** *

The name of the model packaging job.

*/ inline void SetJobName(const Aws::String& value) { m_jobNameHasBeenSet = true; m_jobName = value; } /** *

The name of the model packaging job.

*/ inline void SetJobName(Aws::String&& value) { m_jobNameHasBeenSet = true; m_jobName = std::move(value); } /** *

The name of the model packaging job.

*/ inline void SetJobName(const char* value) { m_jobNameHasBeenSet = true; m_jobName.assign(value); } /** *

The name of the model packaging job.

*/ inline ModelPackagingJobMetadata& WithJobName(const Aws::String& value) { SetJobName(value); return *this;} /** *

The name of the model packaging job.

*/ inline ModelPackagingJobMetadata& WithJobName(Aws::String&& value) { SetJobName(std::move(value)); return *this;} /** *

The name of the model packaging job.

*/ inline ModelPackagingJobMetadata& WithJobName(const char* value) { SetJobName(value); return *this;} /** *

The project that contains the model that is in the model package.

*/ inline const Aws::String& GetProjectName() const{ return m_projectName; } /** *

The project that contains the model that is in the model package.

*/ inline bool ProjectNameHasBeenSet() const { return m_projectNameHasBeenSet; } /** *

The project that contains the model that is in the model package.

*/ inline void SetProjectName(const Aws::String& value) { m_projectNameHasBeenSet = true; m_projectName = value; } /** *

The project that contains the model that is in the model package.

*/ inline void SetProjectName(Aws::String&& value) { m_projectNameHasBeenSet = true; m_projectName = std::move(value); } /** *

The project that contains the model that is in the model package.

*/ inline void SetProjectName(const char* value) { m_projectNameHasBeenSet = true; m_projectName.assign(value); } /** *

The project that contains the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithProjectName(const Aws::String& value) { SetProjectName(value); return *this;} /** *

The project that contains the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithProjectName(Aws::String&& value) { SetProjectName(std::move(value)); return *this;} /** *

The project that contains the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithProjectName(const char* value) { SetProjectName(value); return *this;} /** *

The version of the model that is in the model package.

*/ inline const Aws::String& GetModelVersion() const{ return m_modelVersion; } /** *

The version of the model that is in the model package.

*/ inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; } /** *

The version of the model that is in the model package.

*/ inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; } /** *

The version of the model that is in the model package.

*/ inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); } /** *

The version of the model that is in the model package.

*/ inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); } /** *

The version of the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;} /** *

The version of the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;} /** *

The version of the model that is in the model package.

*/ inline ModelPackagingJobMetadata& WithModelVersion(const char* value) { SetModelVersion(value); return *this;} /** *

The description for the model packaging job.

*/ inline const Aws::String& GetModelPackagingJobDescription() const{ return m_modelPackagingJobDescription; } /** *

The description for the model packaging job.

*/ inline bool ModelPackagingJobDescriptionHasBeenSet() const { return m_modelPackagingJobDescriptionHasBeenSet; } /** *

The description for the model packaging job.

*/ inline void SetModelPackagingJobDescription(const Aws::String& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = value; } /** *

The description for the model packaging job.

*/ inline void SetModelPackagingJobDescription(Aws::String&& value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription = std::move(value); } /** *

The description for the model packaging job.

*/ inline void SetModelPackagingJobDescription(const char* value) { m_modelPackagingJobDescriptionHasBeenSet = true; m_modelPackagingJobDescription.assign(value); } /** *

The description for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithModelPackagingJobDescription(const Aws::String& value) { SetModelPackagingJobDescription(value); return *this;} /** *

The description for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithModelPackagingJobDescription(Aws::String&& value) { SetModelPackagingJobDescription(std::move(value)); return *this;} /** *

The description for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithModelPackagingJobDescription(const char* value) { SetModelPackagingJobDescription(value); return *this;} /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline const Aws::String& GetModelPackagingMethod() const{ return m_modelPackagingMethod; } /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline bool ModelPackagingMethodHasBeenSet() const { return m_modelPackagingMethodHasBeenSet; } /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline void SetModelPackagingMethod(const Aws::String& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = value; } /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline void SetModelPackagingMethod(Aws::String&& value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod = std::move(value); } /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline void SetModelPackagingMethod(const char* value) { m_modelPackagingMethodHasBeenSet = true; m_modelPackagingMethod.assign(value); } /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline ModelPackagingJobMetadata& WithModelPackagingMethod(const Aws::String& value) { SetModelPackagingMethod(value); return *this;} /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline ModelPackagingJobMetadata& WithModelPackagingMethod(Aws::String&& value) { SetModelPackagingMethod(std::move(value)); return *this;} /** *

The AWS service used to package the job. Currently Lookout for Vision can * package jobs with AWS IoT Greengrass.

*/ inline ModelPackagingJobMetadata& WithModelPackagingMethod(const char* value) { SetModelPackagingMethod(value); return *this;} /** *

The status of the model packaging job.

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

The status of the model packaging job.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The status of the model packaging job.

*/ inline void SetStatus(const ModelPackagingJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The status of the model packaging job.

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

The status of the model packaging job.

*/ inline ModelPackagingJobMetadata& WithStatus(const ModelPackagingJobStatus& value) { SetStatus(value); return *this;} /** *

The status of the model packaging job.

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

The status message for the model packaging job.

*/ inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; } /** *

The status message for the model packaging job.

*/ inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; } /** *

The status message for the model packaging job.

*/ inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; } /** *

The status message for the model packaging job.

*/ inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); } /** *

The status message for the model packaging job.

*/ inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); } /** *

The status message for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;} /** *

The status message for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;} /** *

The status message for the model packaging job.

*/ inline ModelPackagingJobMetadata& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;} /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; } /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; } /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; } /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); } /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline ModelPackagingJobMetadata& WithCreationTimestamp(const Aws::Utils::DateTime& value) { SetCreationTimestamp(value); return *this;} /** *

The Unix timestamp for the time and date that the model packaging job was * created.

*/ inline ModelPackagingJobMetadata& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;} /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline const Aws::Utils::DateTime& GetLastUpdatedTimestamp() const{ return m_lastUpdatedTimestamp; } /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline bool LastUpdatedTimestampHasBeenSet() const { return m_lastUpdatedTimestampHasBeenSet; } /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline void SetLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = value; } /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline void SetLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { m_lastUpdatedTimestampHasBeenSet = true; m_lastUpdatedTimestamp = std::move(value); } /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline ModelPackagingJobMetadata& WithLastUpdatedTimestamp(const Aws::Utils::DateTime& value) { SetLastUpdatedTimestamp(value); return *this;} /** *

The Unix timestamp for the time and date that the model packaging job was * last updated.

*/ inline ModelPackagingJobMetadata& WithLastUpdatedTimestamp(Aws::Utils::DateTime&& value) { SetLastUpdatedTimestamp(std::move(value)); return *this;} private: Aws::String m_jobName; bool m_jobNameHasBeenSet = false; Aws::String m_projectName; bool m_projectNameHasBeenSet = false; Aws::String m_modelVersion; bool m_modelVersionHasBeenSet = false; Aws::String m_modelPackagingJobDescription; bool m_modelPackagingJobDescriptionHasBeenSet = false; Aws::String m_modelPackagingMethod; bool m_modelPackagingMethodHasBeenSet = false; ModelPackagingJobStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_statusMessage; bool m_statusMessageHasBeenSet = false; Aws::Utils::DateTime m_creationTimestamp; bool m_creationTimestampHasBeenSet = false; Aws::Utils::DateTime m_lastUpdatedTimestamp; bool m_lastUpdatedTimestampHasBeenSet = false; }; } // namespace Model } // namespace LookoutforVision } // namespace Aws