/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include
#include
#include
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace SageMaker
{
namespace Model
{
/**
* Provides information about the location that is configured for storing model
* artifacts.
Model artifacts are the output that results from training a
* model, and typically consist of trained parameters, a model definition that
* describes how to compute inferences, and other metadata.
See
* Also:
AWS
* API Reference
*/
class ModelArtifacts
{
public:
AWS_SAGEMAKER_API ModelArtifacts();
AWS_SAGEMAKER_API ModelArtifacts(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API ModelArtifacts& operator=(Aws::Utils::Json::JsonView jsonValue);
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline const Aws::String& GetS3ModelArtifacts() const{ return m_s3ModelArtifacts; }
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline bool S3ModelArtifactsHasBeenSet() const { return m_s3ModelArtifactsHasBeenSet; }
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline void SetS3ModelArtifacts(const Aws::String& value) { m_s3ModelArtifactsHasBeenSet = true; m_s3ModelArtifacts = value; }
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline void SetS3ModelArtifacts(Aws::String&& value) { m_s3ModelArtifactsHasBeenSet = true; m_s3ModelArtifacts = std::move(value); }
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline void SetS3ModelArtifacts(const char* value) { m_s3ModelArtifactsHasBeenSet = true; m_s3ModelArtifacts.assign(value); }
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline ModelArtifacts& WithS3ModelArtifacts(const Aws::String& value) { SetS3ModelArtifacts(value); return *this;}
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline ModelArtifacts& WithS3ModelArtifacts(Aws::String&& value) { SetS3ModelArtifacts(std::move(value)); return *this;}
/**
* The path of the S3 object that contains the model artifacts. For example,
* s3://bucket-name/keynameprefix/model.tar.gz
.
*/
inline ModelArtifacts& WithS3ModelArtifacts(const char* value) { SetS3ModelArtifacts(value); return *this;}
private:
Aws::String m_s3ModelArtifacts;
bool m_s3ModelArtifactsHasBeenSet = false;
};
} // namespace Model
} // namespace SageMaker
} // namespace Aws