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

Docker container image configuration object for the model explainability * job.

See Also:

AWS * API Reference

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

The container image to be run by the model explainability job.

*/ inline const Aws::String& GetImageUri() const{ return m_imageUri; } /** *

The container image to be run by the model explainability job.

*/ inline bool ImageUriHasBeenSet() const { return m_imageUriHasBeenSet; } /** *

The container image to be run by the model explainability job.

*/ inline void SetImageUri(const Aws::String& value) { m_imageUriHasBeenSet = true; m_imageUri = value; } /** *

The container image to be run by the model explainability job.

*/ inline void SetImageUri(Aws::String&& value) { m_imageUriHasBeenSet = true; m_imageUri = std::move(value); } /** *

The container image to be run by the model explainability job.

*/ inline void SetImageUri(const char* value) { m_imageUriHasBeenSet = true; m_imageUri.assign(value); } /** *

The container image to be run by the model explainability job.

*/ inline ModelExplainabilityAppSpecification& WithImageUri(const Aws::String& value) { SetImageUri(value); return *this;} /** *

The container image to be run by the model explainability job.

*/ inline ModelExplainabilityAppSpecification& WithImageUri(Aws::String&& value) { SetImageUri(std::move(value)); return *this;} /** *

The container image to be run by the model explainability job.

*/ inline ModelExplainabilityAppSpecification& WithImageUri(const char* value) { SetImageUri(value); return *this;} /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline const Aws::String& GetConfigUri() const{ return m_configUri; } /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline bool ConfigUriHasBeenSet() const { return m_configUriHasBeenSet; } /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline void SetConfigUri(const Aws::String& value) { m_configUriHasBeenSet = true; m_configUri = value; } /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline void SetConfigUri(Aws::String&& value) { m_configUriHasBeenSet = true; m_configUri = std::move(value); } /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline void SetConfigUri(const char* value) { m_configUriHasBeenSet = true; m_configUri.assign(value); } /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline ModelExplainabilityAppSpecification& WithConfigUri(const Aws::String& value) { SetConfigUri(value); return *this;} /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline ModelExplainabilityAppSpecification& WithConfigUri(Aws::String&& value) { SetConfigUri(std::move(value)); return *this;} /** *

JSON formatted S3 file that defines explainability parameters. For more * information on this JSON configuration file, see Configure * model explainability parameters.

*/ inline ModelExplainabilityAppSpecification& WithConfigUri(const char* value) { SetConfigUri(value); return *this;} /** *

Sets the environment variables in the Docker container.

*/ inline const Aws::Map& GetEnvironment() const{ return m_environment; } /** *

Sets the environment variables in the Docker container.

*/ inline bool EnvironmentHasBeenSet() const { return m_environmentHasBeenSet; } /** *

Sets the environment variables in the Docker container.

*/ inline void SetEnvironment(const Aws::Map& value) { m_environmentHasBeenSet = true; m_environment = value; } /** *

Sets the environment variables in the Docker container.

*/ inline void SetEnvironment(Aws::Map&& value) { m_environmentHasBeenSet = true; m_environment = std::move(value); } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& WithEnvironment(const Aws::Map& value) { SetEnvironment(value); return *this;} /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& WithEnvironment(Aws::Map&& value) { SetEnvironment(std::move(value)); return *this;} /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(const Aws::String& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(Aws::String&& key, const Aws::String& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(const Aws::String& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(Aws::String&& key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), std::move(value)); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(const char* key, Aws::String&& value) { m_environmentHasBeenSet = true; m_environment.emplace(key, std::move(value)); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(Aws::String&& key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(std::move(key), value); return *this; } /** *

Sets the environment variables in the Docker container.

*/ inline ModelExplainabilityAppSpecification& AddEnvironment(const char* key, const char* value) { m_environmentHasBeenSet = true; m_environment.emplace(key, value); return *this; } private: Aws::String m_imageUri; bool m_imageUriHasBeenSet = false; Aws::String m_configUri; bool m_configUriHasBeenSet = false; Aws::Map m_environment; bool m_environmentHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws