/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace SageMaker { namespace Model { /** */ class CreateAppImageConfigRequest : public SageMakerRequest { public: AWS_SAGEMAKER_API CreateAppImageConfigRequest(); // Service request name is the Operation name which will send this request out, // each operation should has unique request name, so that we can get operation's name from this request. // Note: this is not true for response, multiple operations may have the same response name, // so we can not get operation's name from response. inline virtual const char* GetServiceRequestName() const override { return "CreateAppImageConfig"; } AWS_SAGEMAKER_API Aws::String SerializePayload() const override; AWS_SAGEMAKER_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override; /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline const Aws::String& GetAppImageConfigName() const{ return m_appImageConfigName; } /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline bool AppImageConfigNameHasBeenSet() const { return m_appImageConfigNameHasBeenSet; } /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline void SetAppImageConfigName(const Aws::String& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = value; } /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline void SetAppImageConfigName(Aws::String&& value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName = std::move(value); } /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline void SetAppImageConfigName(const char* value) { m_appImageConfigNameHasBeenSet = true; m_appImageConfigName.assign(value); } /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline CreateAppImageConfigRequest& WithAppImageConfigName(const Aws::String& value) { SetAppImageConfigName(value); return *this;} /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline CreateAppImageConfigRequest& WithAppImageConfigName(Aws::String&& value) { SetAppImageConfigName(std::move(value)); return *this;} /** *

The name of the AppImageConfig. Must be unique to your account.

*/ inline CreateAppImageConfigRequest& WithAppImageConfigName(const char* value) { SetAppImageConfigName(value); return *this;} /** *

A list of tags to apply to the AppImageConfig.

*/ inline const Aws::Vector& GetTags() const{ return m_tags; } /** *

A list of tags to apply to the AppImageConfig.

*/ inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; } /** *

A list of tags to apply to the AppImageConfig.

*/ inline void SetTags(const Aws::Vector& value) { m_tagsHasBeenSet = true; m_tags = value; } /** *

A list of tags to apply to the AppImageConfig.

*/ inline void SetTags(Aws::Vector&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); } /** *

A list of tags to apply to the AppImageConfig.

*/ inline CreateAppImageConfigRequest& WithTags(const Aws::Vector& value) { SetTags(value); return *this;} /** *

A list of tags to apply to the AppImageConfig.

*/ inline CreateAppImageConfigRequest& WithTags(Aws::Vector&& value) { SetTags(std::move(value)); return *this;} /** *

A list of tags to apply to the AppImageConfig.

*/ inline CreateAppImageConfigRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; } /** *

A list of tags to apply to the AppImageConfig.

*/ inline CreateAppImageConfigRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; } /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline const KernelGatewayImageConfig& GetKernelGatewayImageConfig() const{ return m_kernelGatewayImageConfig; } /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline bool KernelGatewayImageConfigHasBeenSet() const { return m_kernelGatewayImageConfigHasBeenSet; } /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline void SetKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = value; } /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline void SetKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { m_kernelGatewayImageConfigHasBeenSet = true; m_kernelGatewayImageConfig = std::move(value); } /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline CreateAppImageConfigRequest& WithKernelGatewayImageConfig(const KernelGatewayImageConfig& value) { SetKernelGatewayImageConfig(value); return *this;} /** *

The KernelGatewayImageConfig. You can only specify one image kernel in the * AppImageConfig API. This kernel will be shown to users before the image starts. * Once the image runs, all kernels are visible in JupyterLab.

*/ inline CreateAppImageConfigRequest& WithKernelGatewayImageConfig(KernelGatewayImageConfig&& value) { SetKernelGatewayImageConfig(std::move(value)); return *this;} private: Aws::String m_appImageConfigName; bool m_appImageConfigNameHasBeenSet = false; Aws::Vector m_tags; bool m_tagsHasBeenSet = false; KernelGatewayImageConfig m_kernelGatewayImageConfig; bool m_kernelGatewayImageConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws