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

Gets the Amazon EC2 Container Registry path of the docker image of the model * that is hosted in this ProductionVariant.

*

If you used the registry/repository[:tag] form to specify the * image path of the primary container when you created the model hosted in this * ProductionVariant, the path resolves to a path of the form * registry/repository[@digest]. A digest is a hash value that * identifies a specific version of an image. For information about Amazon ECR * paths, see Pulling * an Image in the Amazon ECR User Guide.

See Also:

AWS * API Reference

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

The image path you specified when you created the model.

*/ inline const Aws::String& GetSpecifiedImage() const{ return m_specifiedImage; } /** *

The image path you specified when you created the model.

*/ inline bool SpecifiedImageHasBeenSet() const { return m_specifiedImageHasBeenSet; } /** *

The image path you specified when you created the model.

*/ inline void SetSpecifiedImage(const Aws::String& value) { m_specifiedImageHasBeenSet = true; m_specifiedImage = value; } /** *

The image path you specified when you created the model.

*/ inline void SetSpecifiedImage(Aws::String&& value) { m_specifiedImageHasBeenSet = true; m_specifiedImage = std::move(value); } /** *

The image path you specified when you created the model.

*/ inline void SetSpecifiedImage(const char* value) { m_specifiedImageHasBeenSet = true; m_specifiedImage.assign(value); } /** *

The image path you specified when you created the model.

*/ inline DeployedImage& WithSpecifiedImage(const Aws::String& value) { SetSpecifiedImage(value); return *this;} /** *

The image path you specified when you created the model.

*/ inline DeployedImage& WithSpecifiedImage(Aws::String&& value) { SetSpecifiedImage(std::move(value)); return *this;} /** *

The image path you specified when you created the model.

*/ inline DeployedImage& WithSpecifiedImage(const char* value) { SetSpecifiedImage(value); return *this;} /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline const Aws::String& GetResolvedImage() const{ return m_resolvedImage; } /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline bool ResolvedImageHasBeenSet() const { return m_resolvedImageHasBeenSet; } /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline void SetResolvedImage(const Aws::String& value) { m_resolvedImageHasBeenSet = true; m_resolvedImage = value; } /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline void SetResolvedImage(Aws::String&& value) { m_resolvedImageHasBeenSet = true; m_resolvedImage = std::move(value); } /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline void SetResolvedImage(const char* value) { m_resolvedImageHasBeenSet = true; m_resolvedImage.assign(value); } /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline DeployedImage& WithResolvedImage(const Aws::String& value) { SetResolvedImage(value); return *this;} /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline DeployedImage& WithResolvedImage(Aws::String&& value) { SetResolvedImage(std::move(value)); return *this;} /** *

The specific digest path of the image hosted in this * ProductionVariant.

*/ inline DeployedImage& WithResolvedImage(const char* value) { SetResolvedImage(value); return *this;} /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline const Aws::Utils::DateTime& GetResolutionTime() const{ return m_resolutionTime; } /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline bool ResolutionTimeHasBeenSet() const { return m_resolutionTimeHasBeenSet; } /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline void SetResolutionTime(const Aws::Utils::DateTime& value) { m_resolutionTimeHasBeenSet = true; m_resolutionTime = value; } /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline void SetResolutionTime(Aws::Utils::DateTime&& value) { m_resolutionTimeHasBeenSet = true; m_resolutionTime = std::move(value); } /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline DeployedImage& WithResolutionTime(const Aws::Utils::DateTime& value) { SetResolutionTime(value); return *this;} /** *

The date and time when the image path for the model resolved to the * ResolvedImage

*/ inline DeployedImage& WithResolutionTime(Aws::Utils::DateTime&& value) { SetResolutionTime(std::move(value)); return *this;} private: Aws::String m_specifiedImage; bool m_specifiedImageHasBeenSet = false; Aws::String m_resolvedImage; bool m_resolvedImageHasBeenSet = false; Aws::Utils::DateTime m_resolutionTime; bool m_resolutionTimeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws