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

The configuration for the file system and kernels in a SageMaker image * running as a KernelGateway app.

See Also:

AWS * API Reference

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

The specification of the Jupyter kernels in the image.

*/ inline const Aws::Vector& GetKernelSpecs() const{ return m_kernelSpecs; } /** *

The specification of the Jupyter kernels in the image.

*/ inline bool KernelSpecsHasBeenSet() const { return m_kernelSpecsHasBeenSet; } /** *

The specification of the Jupyter kernels in the image.

*/ inline void SetKernelSpecs(const Aws::Vector& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = value; } /** *

The specification of the Jupyter kernels in the image.

*/ inline void SetKernelSpecs(Aws::Vector&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs = std::move(value); } /** *

The specification of the Jupyter kernels in the image.

*/ inline KernelGatewayImageConfig& WithKernelSpecs(const Aws::Vector& value) { SetKernelSpecs(value); return *this;} /** *

The specification of the Jupyter kernels in the image.

*/ inline KernelGatewayImageConfig& WithKernelSpecs(Aws::Vector&& value) { SetKernelSpecs(std::move(value)); return *this;} /** *

The specification of the Jupyter kernels in the image.

*/ inline KernelGatewayImageConfig& AddKernelSpecs(const KernelSpec& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(value); return *this; } /** *

The specification of the Jupyter kernels in the image.

*/ inline KernelGatewayImageConfig& AddKernelSpecs(KernelSpec&& value) { m_kernelSpecsHasBeenSet = true; m_kernelSpecs.push_back(std::move(value)); return *this; } /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline const FileSystemConfig& GetFileSystemConfig() const{ return m_fileSystemConfig; } /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline bool FileSystemConfigHasBeenSet() const { return m_fileSystemConfigHasBeenSet; } /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline void SetFileSystemConfig(const FileSystemConfig& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = value; } /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline void SetFileSystemConfig(FileSystemConfig&& value) { m_fileSystemConfigHasBeenSet = true; m_fileSystemConfig = std::move(value); } /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline KernelGatewayImageConfig& WithFileSystemConfig(const FileSystemConfig& value) { SetFileSystemConfig(value); return *this;} /** *

The Amazon Elastic File System (EFS) storage configuration for a SageMaker * image.

*/ inline KernelGatewayImageConfig& WithFileSystemConfig(FileSystemConfig&& value) { SetFileSystemConfig(std::move(value)); return *this;} private: Aws::Vector m_kernelSpecs; bool m_kernelSpecsHasBeenSet = false; FileSystemConfig m_fileSystemConfig; bool m_fileSystemConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws