/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Describes the Docker container for the model package.See
* Also:
AWS
* API Reference
The DNS host name for the Docker container.
*/ inline const Aws::String& GetContainerHostname() const{ return m_containerHostname; } /** *The DNS host name for the Docker container.
*/ inline bool ContainerHostnameHasBeenSet() const { return m_containerHostnameHasBeenSet; } /** *The DNS host name for the Docker container.
*/ inline void SetContainerHostname(const Aws::String& value) { m_containerHostnameHasBeenSet = true; m_containerHostname = value; } /** *The DNS host name for the Docker container.
*/ inline void SetContainerHostname(Aws::String&& value) { m_containerHostnameHasBeenSet = true; m_containerHostname = std::move(value); } /** *The DNS host name for the Docker container.
*/ inline void SetContainerHostname(const char* value) { m_containerHostnameHasBeenSet = true; m_containerHostname.assign(value); } /** *The DNS host name for the Docker container.
*/ inline ModelPackageContainerDefinition& WithContainerHostname(const Aws::String& value) { SetContainerHostname(value); return *this;} /** *The DNS host name for the Docker container.
*/ inline ModelPackageContainerDefinition& WithContainerHostname(Aws::String&& value) { SetContainerHostname(std::move(value)); return *this;} /** *The DNS host name for the Docker container.
*/ inline ModelPackageContainerDefinition& WithContainerHostname(const char* value) { SetContainerHostname(value); return *this;} /** *The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
The Amazon EC2 Container Registry (Amazon ECR) path where inference code is * stored.
If you are using your own custom algorithm instead of an
* algorithm provided by Amazon SageMaker, the inference code must meet Amazon
* SageMaker requirements. Amazon SageMaker supports both
* registry/repository[:tag] and
* registry/repository[@digest] image path formats. For more
* information, see Using
* Your Own Algorithms with Amazon SageMaker.
An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline const Aws::String& GetImageDigest() const{ return m_imageDigest; } /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline bool ImageDigestHasBeenSet() const { return m_imageDigestHasBeenSet; } /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline void SetImageDigest(const Aws::String& value) { m_imageDigestHasBeenSet = true; m_imageDigest = value; } /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline void SetImageDigest(Aws::String&& value) { m_imageDigestHasBeenSet = true; m_imageDigest = std::move(value); } /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline void SetImageDigest(const char* value) { m_imageDigestHasBeenSet = true; m_imageDigest.assign(value); } /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline ModelPackageContainerDefinition& WithImageDigest(const Aws::String& value) { SetImageDigest(value); return *this;} /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline ModelPackageContainerDefinition& WithImageDigest(Aws::String&& value) { SetImageDigest(std::move(value)); return *this;} /** *An MD5 hash of the training algorithm that identifies the Docker image used * for training.
*/ inline ModelPackageContainerDefinition& WithImageDigest(const char* value) { SetImageDigest(value); return *this;} /** *The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The Amazon S3 path where the model artifacts, which result from model
* training, are stored. This path must point to a single gzip
* compressed tar archive (.tar.gz suffix).
The AWS Marketplace product ID of the model package.
*/ inline const Aws::String& GetProductId() const{ return m_productId; } /** *The AWS Marketplace product ID of the model package.
*/ inline bool ProductIdHasBeenSet() const { return m_productIdHasBeenSet; } /** *The AWS Marketplace product ID of the model package.
*/ inline void SetProductId(const Aws::String& value) { m_productIdHasBeenSet = true; m_productId = value; } /** *The AWS Marketplace product ID of the model package.
*/ inline void SetProductId(Aws::String&& value) { m_productIdHasBeenSet = true; m_productId = std::move(value); } /** *The AWS Marketplace product ID of the model package.
*/ inline void SetProductId(const char* value) { m_productIdHasBeenSet = true; m_productId.assign(value); } /** *The AWS Marketplace product ID of the model package.
*/ inline ModelPackageContainerDefinition& WithProductId(const Aws::String& value) { SetProductId(value); return *this;} /** *The AWS Marketplace product ID of the model package.
*/ inline ModelPackageContainerDefinition& WithProductId(Aws::String&& value) { SetProductId(std::move(value)); return *this;} /** *The AWS Marketplace product ID of the model package.
*/ inline ModelPackageContainerDefinition& WithProductId(const char* value) { SetProductId(value); return *this;} private: Aws::String m_containerHostname; bool m_containerHostnameHasBeenSet; Aws::String m_image; bool m_imageHasBeenSet; Aws::String m_imageDigest; bool m_imageDigestHasBeenSet; Aws::String m_modelDataUrl; bool m_modelDataUrlHasBeenSet; Aws::String m_productId; bool m_productIdHasBeenSet; }; } // namespace Model } // namespace SageMaker } // namespace Aws