AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
ClarifyExplainerConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sagemaker/model/ClarifyInferenceConfig.h>
10#include <aws/sagemaker/model/ClarifyShapConfig.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SageMaker
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_SAGEMAKER_API ClarifyExplainerConfig() = default;
40 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
50 inline const Aws::String& GetEnableExplanations() const { return m_enableExplanations; }
51 inline bool EnableExplanationsHasBeenSet() const { return m_enableExplanationsHasBeenSet; }
52 template<typename EnableExplanationsT = Aws::String>
53 void SetEnableExplanations(EnableExplanationsT&& value) { m_enableExplanationsHasBeenSet = true; m_enableExplanations = std::forward<EnableExplanationsT>(value); }
54 template<typename EnableExplanationsT = Aws::String>
55 ClarifyExplainerConfig& WithEnableExplanations(EnableExplanationsT&& value) { SetEnableExplanations(std::forward<EnableExplanationsT>(value)); return *this;}
57
59
62 inline const ClarifyInferenceConfig& GetInferenceConfig() const { return m_inferenceConfig; }
63 inline bool InferenceConfigHasBeenSet() const { return m_inferenceConfigHasBeenSet; }
64 template<typename InferenceConfigT = ClarifyInferenceConfig>
65 void SetInferenceConfig(InferenceConfigT&& value) { m_inferenceConfigHasBeenSet = true; m_inferenceConfig = std::forward<InferenceConfigT>(value); }
66 template<typename InferenceConfigT = ClarifyInferenceConfig>
67 ClarifyExplainerConfig& WithInferenceConfig(InferenceConfigT&& value) { SetInferenceConfig(std::forward<InferenceConfigT>(value)); return *this;}
69
71
74 inline const ClarifyShapConfig& GetShapConfig() const { return m_shapConfig; }
75 inline bool ShapConfigHasBeenSet() const { return m_shapConfigHasBeenSet; }
76 template<typename ShapConfigT = ClarifyShapConfig>
77 void SetShapConfig(ShapConfigT&& value) { m_shapConfigHasBeenSet = true; m_shapConfig = std::forward<ShapConfigT>(value); }
78 template<typename ShapConfigT = ClarifyShapConfig>
79 ClarifyExplainerConfig& WithShapConfig(ShapConfigT&& value) { SetShapConfig(std::forward<ShapConfigT>(value)); return *this;}
81 private:
82
83 Aws::String m_enableExplanations;
84 bool m_enableExplanationsHasBeenSet = false;
85
86 ClarifyInferenceConfig m_inferenceConfig;
87 bool m_inferenceConfigHasBeenSet = false;
88
89 ClarifyShapConfig m_shapConfig;
90 bool m_shapConfigHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace SageMaker
95} // namespace Aws
void SetEnableExplanations(EnableExplanationsT &&value)
const ClarifyShapConfig & GetShapConfig() const
ClarifyExplainerConfig & WithEnableExplanations(EnableExplanationsT &&value)
AWS_SAGEMAKER_API ClarifyExplainerConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API ClarifyExplainerConfig()=default
const ClarifyInferenceConfig & GetInferenceConfig() const
ClarifyExplainerConfig & WithShapConfig(ShapConfigT &&value)
AWS_SAGEMAKER_API ClarifyExplainerConfig(Aws::Utils::Json::JsonView jsonValue)
ClarifyExplainerConfig & WithInferenceConfig(InferenceConfigT &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue