AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
ClarifyShapConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/ClarifyShapBaselineConfig.h>
9#include <aws/sagemaker/model/ClarifyTextConfig.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace SageMaker
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_SAGEMAKER_API ClarifyShapConfig() = default;
37 AWS_SAGEMAKER_API ClarifyShapConfig(Aws::Utils::Json::JsonView jsonValue);
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const ClarifyShapBaselineConfig& GetShapBaselineConfig() const { return m_shapBaselineConfig; }
47 inline bool ShapBaselineConfigHasBeenSet() const { return m_shapBaselineConfigHasBeenSet; }
48 template<typename ShapBaselineConfigT = ClarifyShapBaselineConfig>
49 void SetShapBaselineConfig(ShapBaselineConfigT&& value) { m_shapBaselineConfigHasBeenSet = true; m_shapBaselineConfig = std::forward<ShapBaselineConfigT>(value); }
50 template<typename ShapBaselineConfigT = ClarifyShapBaselineConfig>
51 ClarifyShapConfig& WithShapBaselineConfig(ShapBaselineConfigT&& value) { SetShapBaselineConfig(std::forward<ShapBaselineConfigT>(value)); return *this;}
53
55
63 inline int GetNumberOfSamples() const { return m_numberOfSamples; }
64 inline bool NumberOfSamplesHasBeenSet() const { return m_numberOfSamplesHasBeenSet; }
65 inline void SetNumberOfSamples(int value) { m_numberOfSamplesHasBeenSet = true; m_numberOfSamples = value; }
66 inline ClarifyShapConfig& WithNumberOfSamples(int value) { SetNumberOfSamples(value); return *this;}
68
70
74 inline bool GetUseLogit() const { return m_useLogit; }
75 inline bool UseLogitHasBeenSet() const { return m_useLogitHasBeenSet; }
76 inline void SetUseLogit(bool value) { m_useLogitHasBeenSet = true; m_useLogit = value; }
77 inline ClarifyShapConfig& WithUseLogit(bool value) { SetUseLogit(value); return *this;}
79
81
86 inline int GetSeed() const { return m_seed; }
87 inline bool SeedHasBeenSet() const { return m_seedHasBeenSet; }
88 inline void SetSeed(int value) { m_seedHasBeenSet = true; m_seed = value; }
89 inline ClarifyShapConfig& WithSeed(int value) { SetSeed(value); return *this;}
91
93
98 inline const ClarifyTextConfig& GetTextConfig() const { return m_textConfig; }
99 inline bool TextConfigHasBeenSet() const { return m_textConfigHasBeenSet; }
100 template<typename TextConfigT = ClarifyTextConfig>
101 void SetTextConfig(TextConfigT&& value) { m_textConfigHasBeenSet = true; m_textConfig = std::forward<TextConfigT>(value); }
102 template<typename TextConfigT = ClarifyTextConfig>
103 ClarifyShapConfig& WithTextConfig(TextConfigT&& value) { SetTextConfig(std::forward<TextConfigT>(value)); return *this;}
105 private:
106
107 ClarifyShapBaselineConfig m_shapBaselineConfig;
108 bool m_shapBaselineConfigHasBeenSet = false;
109
110 int m_numberOfSamples{0};
111 bool m_numberOfSamplesHasBeenSet = false;
112
113 bool m_useLogit{false};
114 bool m_useLogitHasBeenSet = false;
115
116 int m_seed{0};
117 bool m_seedHasBeenSet = false;
118
119 ClarifyTextConfig m_textConfig;
120 bool m_textConfigHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace SageMaker
125} // namespace Aws
const ClarifyShapBaselineConfig & GetShapBaselineConfig() const
AWS_SAGEMAKER_API ClarifyShapConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SAGEMAKER_API ClarifyShapConfig(Aws::Utils::Json::JsonView jsonValue)
void SetShapBaselineConfig(ShapBaselineConfigT &&value)
ClarifyShapConfig & WithShapBaselineConfig(ShapBaselineConfigT &&value)
ClarifyShapConfig & WithNumberOfSamples(int value)
AWS_SAGEMAKER_API ClarifyShapConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
const ClarifyTextConfig & GetTextConfig() const
ClarifyShapConfig & WithSeed(int value)
ClarifyShapConfig & WithUseLogit(bool value)
ClarifyShapConfig & WithTextConfig(TextConfigT &&value)
Aws::Utils::Json::JsonValue JsonValue