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

The KernelGateway app settings.

See Also:

AWS * API Reference

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

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline const ResourceSpec& GetDefaultResourceSpec() const{ return m_defaultResourceSpec; } /** *

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline bool DefaultResourceSpecHasBeenSet() const { return m_defaultResourceSpecHasBeenSet; } /** *

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline void SetDefaultResourceSpec(const ResourceSpec& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = value; } /** *

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline void SetDefaultResourceSpec(ResourceSpec&& value) { m_defaultResourceSpecHasBeenSet = true; m_defaultResourceSpec = std::move(value); } /** *

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline KernelGatewayAppSettings& WithDefaultResourceSpec(const ResourceSpec& value) { SetDefaultResourceSpec(value); return *this;} /** *

The default instance type and the Amazon Resource Name (ARN) of the default * SageMaker image used by the KernelGateway app.

The Amazon * SageMaker Studio UI does not use the default instance type value set here. The * default instance type set here is used when Apps are created using the Amazon * Web Services Command Line Interface or Amazon Web Services CloudFormation and * the instance type parameter value is not passed.

*/ inline KernelGatewayAppSettings& WithDefaultResourceSpec(ResourceSpec&& value) { SetDefaultResourceSpec(std::move(value)); return *this;} /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline const Aws::Vector& GetCustomImages() const{ return m_customImages; } /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline bool CustomImagesHasBeenSet() const { return m_customImagesHasBeenSet; } /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline void SetCustomImages(const Aws::Vector& value) { m_customImagesHasBeenSet = true; m_customImages = value; } /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline void SetCustomImages(Aws::Vector&& value) { m_customImagesHasBeenSet = true; m_customImages = std::move(value); } /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline KernelGatewayAppSettings& WithCustomImages(const Aws::Vector& value) { SetCustomImages(value); return *this;} /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline KernelGatewayAppSettings& WithCustomImages(Aws::Vector&& value) { SetCustomImages(std::move(value)); return *this;} /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline KernelGatewayAppSettings& AddCustomImages(const CustomImage& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(value); return *this; } /** *

A list of custom SageMaker images that are configured to run as a * KernelGateway app.

*/ inline KernelGatewayAppSettings& AddCustomImages(CustomImage&& value) { m_customImagesHasBeenSet = true; m_customImages.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline const Aws::Vector& GetLifecycleConfigArns() const{ return m_lifecycleConfigArns; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline bool LifecycleConfigArnsHasBeenSet() const { return m_lifecycleConfigArnsHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline void SetLifecycleConfigArns(const Aws::Vector& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = value; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline void SetLifecycleConfigArns(Aws::Vector&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline KernelGatewayAppSettings& WithLifecycleConfigArns(const Aws::Vector& value) { SetLifecycleConfigArns(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline KernelGatewayAppSettings& WithLifecycleConfigArns(Aws::Vector&& value) { SetLifecycleConfigArns(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline KernelGatewayAppSettings& AddLifecycleConfigArns(const Aws::String& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline KernelGatewayAppSettings& AddLifecycleConfigArns(Aws::String&& value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(std::move(value)); return *this; } /** *

The Amazon Resource Name (ARN) of the Lifecycle Configurations attached to * the the user profile or domain.

To remove a Lifecycle Config, you * must set LifecycleConfigArns to an empty list.

*/ inline KernelGatewayAppSettings& AddLifecycleConfigArns(const char* value) { m_lifecycleConfigArnsHasBeenSet = true; m_lifecycleConfigArns.push_back(value); return *this; } private: ResourceSpec m_defaultResourceSpec; bool m_defaultResourceSpecHasBeenSet = false; Aws::Vector m_customImages; bool m_customImagesHasBeenSet = false; Aws::Vector m_lifecycleConfigArns; bool m_lifecycleConfigArnsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws