/** * 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 parameters for the SageMaker Clarify * explainer.

See Also:

AWS * API Reference

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

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline const Aws::String& GetEnableExplanations() const{ return m_enableExplanations; } /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline bool EnableExplanationsHasBeenSet() const { return m_enableExplanationsHasBeenSet; } /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline void SetEnableExplanations(const Aws::String& value) { m_enableExplanationsHasBeenSet = true; m_enableExplanations = value; } /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline void SetEnableExplanations(Aws::String&& value) { m_enableExplanationsHasBeenSet = true; m_enableExplanations = std::move(value); } /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline void SetEnableExplanations(const char* value) { m_enableExplanationsHasBeenSet = true; m_enableExplanations.assign(value); } /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline ClarifyExplainerConfig& WithEnableExplanations(const Aws::String& value) { SetEnableExplanations(value); return *this;} /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline ClarifyExplainerConfig& WithEnableExplanations(Aws::String&& value) { SetEnableExplanations(std::move(value)); return *this;} /** *

A JMESPath boolean expression used to filter which records to explain. * Explanations are activated by default. See * EnableExplanations for additional information.

*/ inline ClarifyExplainerConfig& WithEnableExplanations(const char* value) { SetEnableExplanations(value); return *this;} /** *

The inference configuration parameter for the model container.

*/ inline const ClarifyInferenceConfig& GetInferenceConfig() const{ return m_inferenceConfig; } /** *

The inference configuration parameter for the model container.

*/ inline bool InferenceConfigHasBeenSet() const { return m_inferenceConfigHasBeenSet; } /** *

The inference configuration parameter for the model container.

*/ inline void SetInferenceConfig(const ClarifyInferenceConfig& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = value; } /** *

The inference configuration parameter for the model container.

*/ inline void SetInferenceConfig(ClarifyInferenceConfig&& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = std::move(value); } /** *

The inference configuration parameter for the model container.

*/ inline ClarifyExplainerConfig& WithInferenceConfig(const ClarifyInferenceConfig& value) { SetInferenceConfig(value); return *this;} /** *

The inference configuration parameter for the model container.

*/ inline ClarifyExplainerConfig& WithInferenceConfig(ClarifyInferenceConfig&& value) { SetInferenceConfig(std::move(value)); return *this;} /** *

The configuration for SHAP analysis.

*/ inline const ClarifyShapConfig& GetShapConfig() const{ return m_shapConfig; } /** *

The configuration for SHAP analysis.

*/ inline bool ShapConfigHasBeenSet() const { return m_shapConfigHasBeenSet; } /** *

The configuration for SHAP analysis.

*/ inline void SetShapConfig(const ClarifyShapConfig& value) { m_shapConfigHasBeenSet = true; m_shapConfig = value; } /** *

The configuration for SHAP analysis.

*/ inline void SetShapConfig(ClarifyShapConfig&& value) { m_shapConfigHasBeenSet = true; m_shapConfig = std::move(value); } /** *

The configuration for SHAP analysis.

*/ inline ClarifyExplainerConfig& WithShapConfig(const ClarifyShapConfig& value) { SetShapConfig(value); return *this;} /** *

The configuration for SHAP analysis.

*/ inline ClarifyExplainerConfig& WithShapConfig(ClarifyShapConfig&& value) { SetShapConfig(std::move(value)); return *this;} private: Aws::String m_enableExplanations; bool m_enableExplanationsHasBeenSet = false; ClarifyInferenceConfig m_inferenceConfig; bool m_inferenceConfigHasBeenSet = false; ClarifyShapConfig m_shapConfig; bool m_shapConfigHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws