AWS SDK for C++

AWS SDK for C++ Version 1.11.718

Loading...
Searching...
No Matches
ClarifyExplainerConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/ClarifyInferenceConfig.h>
10#include <aws/sagemaker/model/ClarifyShapConfig.h>
11
12#include <utility>
13
14namespace Aws {
15namespace Utils {
16namespace Json {
17class JsonValue;
18class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SageMaker {
22namespace Model {
23
31 public:
32 AWS_SAGEMAKER_API ClarifyExplainerConfig() = default;
35 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
36
38
44 inline const Aws::String& GetEnableExplanations() const { return m_enableExplanations; }
45 inline bool EnableExplanationsHasBeenSet() const { return m_enableExplanationsHasBeenSet; }
46 template <typename EnableExplanationsT = Aws::String>
47 void SetEnableExplanations(EnableExplanationsT&& value) {
48 m_enableExplanationsHasBeenSet = true;
49 m_enableExplanations = std::forward<EnableExplanationsT>(value);
50 }
51 template <typename EnableExplanationsT = Aws::String>
52 ClarifyExplainerConfig& WithEnableExplanations(EnableExplanationsT&& value) {
53 SetEnableExplanations(std::forward<EnableExplanationsT>(value));
54 return *this;
55 }
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) {
66 m_inferenceConfigHasBeenSet = true;
67 m_inferenceConfig = std::forward<InferenceConfigT>(value);
68 }
69 template <typename InferenceConfigT = ClarifyInferenceConfig>
70 ClarifyExplainerConfig& WithInferenceConfig(InferenceConfigT&& value) {
71 SetInferenceConfig(std::forward<InferenceConfigT>(value));
72 return *this;
73 }
75
77
80 inline const ClarifyShapConfig& GetShapConfig() const { return m_shapConfig; }
81 inline bool ShapConfigHasBeenSet() const { return m_shapConfigHasBeenSet; }
82 template <typename ShapConfigT = ClarifyShapConfig>
83 void SetShapConfig(ShapConfigT&& value) {
84 m_shapConfigHasBeenSet = true;
85 m_shapConfig = std::forward<ShapConfigT>(value);
86 }
87 template <typename ShapConfigT = ClarifyShapConfig>
88 ClarifyExplainerConfig& WithShapConfig(ShapConfigT&& value) {
89 SetShapConfig(std::forward<ShapConfigT>(value));
90 return *this;
91 }
93 private:
94 Aws::String m_enableExplanations;
95
96 ClarifyInferenceConfig m_inferenceConfig;
97
98 ClarifyShapConfig m_shapConfig;
99 bool m_enableExplanationsHasBeenSet = false;
100 bool m_inferenceConfigHasBeenSet = false;
101 bool m_shapConfigHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace SageMaker
106} // 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