AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetShapBaselineConfig(const ClarifyShapBaselineConfig& value) { m_shapBaselineConfigHasBeenSet = true; m_shapBaselineConfig = value; }
49 inline void SetShapBaselineConfig(ClarifyShapBaselineConfig&& value) { m_shapBaselineConfigHasBeenSet = true; m_shapBaselineConfig = std::move(value); }
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 inline void SetTextConfig(const ClarifyTextConfig& value) { m_textConfigHasBeenSet = true; m_textConfig = value; }
101 inline void SetTextConfig(ClarifyTextConfig&& value) { m_textConfigHasBeenSet = true; m_textConfig = std::move(value); }
102 inline ClarifyShapConfig& WithTextConfig(const ClarifyTextConfig& value) { SetTextConfig(value); return *this;}
103 inline ClarifyShapConfig& WithTextConfig(ClarifyTextConfig&& value) { SetTextConfig(std::move(value)); return *this;}
105 private:
106
107 ClarifyShapBaselineConfig m_shapBaselineConfig;
108 bool m_shapBaselineConfigHasBeenSet = false;
109
110 int m_numberOfSamples;
111 bool m_numberOfSamplesHasBeenSet = false;
112
113 bool m_useLogit;
114 bool m_useLogitHasBeenSet = false;
115
116 int m_seed;
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
void SetTextConfig(ClarifyTextConfig &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
ClarifyShapConfig & WithShapBaselineConfig(ClarifyShapBaselineConfig &&value)
AWS_SAGEMAKER_API ClarifyShapConfig(Aws::Utils::Json::JsonView jsonValue)
ClarifyShapConfig & WithTextConfig(const ClarifyTextConfig &value)
ClarifyShapConfig & WithNumberOfSamples(int value)
ClarifyShapConfig & WithTextConfig(ClarifyTextConfig &&value)
AWS_SAGEMAKER_API ClarifyShapConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetShapBaselineConfig(const ClarifyShapBaselineConfig &value)
void SetTextConfig(const ClarifyTextConfig &value)
void SetShapBaselineConfig(ClarifyShapBaselineConfig &&value)
const ClarifyTextConfig & GetTextConfig() const
ClarifyShapConfig & WithSeed(int value)
ClarifyShapConfig & WithUseLogit(bool value)
ClarifyShapConfig & WithShapBaselineConfig(const ClarifyShapBaselineConfig &value)
Aws::Utils::Json::JsonValue JsonValue