AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TabularJobConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/CandidateGenerationConfig.h>
9#include <aws/sagemaker/model/AutoMLJobCompletionCriteria.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/sagemaker/model/AutoMLMode.h>
12#include <aws/sagemaker/model/ProblemType.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace SageMaker
26{
27namespace Model
28{
29
37 {
38 public:
39 AWS_SAGEMAKER_API TabularJobConfig();
40 AWS_SAGEMAKER_API TabularJobConfig(Aws::Utils::Json::JsonView jsonValue);
42 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const CandidateGenerationConfig& GetCandidateGenerationConfig() const{ return m_candidateGenerationConfig; }
50 inline bool CandidateGenerationConfigHasBeenSet() const { return m_candidateGenerationConfigHasBeenSet; }
51 inline void SetCandidateGenerationConfig(const CandidateGenerationConfig& value) { m_candidateGenerationConfigHasBeenSet = true; m_candidateGenerationConfig = value; }
52 inline void SetCandidateGenerationConfig(CandidateGenerationConfig&& value) { m_candidateGenerationConfigHasBeenSet = true; m_candidateGenerationConfig = std::move(value); }
56
58
59 inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const{ return m_completionCriteria; }
60 inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; }
61 inline void SetCompletionCriteria(const AutoMLJobCompletionCriteria& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = value; }
62 inline void SetCompletionCriteria(AutoMLJobCompletionCriteria&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::move(value); }
66
68
92 inline const Aws::String& GetFeatureSpecificationS3Uri() const{ return m_featureSpecificationS3Uri; }
93 inline bool FeatureSpecificationS3UriHasBeenSet() const { return m_featureSpecificationS3UriHasBeenSet; }
94 inline void SetFeatureSpecificationS3Uri(const Aws::String& value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri = value; }
95 inline void SetFeatureSpecificationS3Uri(Aws::String&& value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri = std::move(value); }
96 inline void SetFeatureSpecificationS3Uri(const char* value) { m_featureSpecificationS3UriHasBeenSet = true; m_featureSpecificationS3Uri.assign(value); }
99 inline TabularJobConfig& WithFeatureSpecificationS3Uri(const char* value) { SetFeatureSpecificationS3Uri(value); return *this;}
101
103
127 inline const AutoMLMode& GetMode() const{ return m_mode; }
128 inline bool ModeHasBeenSet() const { return m_modeHasBeenSet; }
129 inline void SetMode(const AutoMLMode& value) { m_modeHasBeenSet = true; m_mode = value; }
130 inline void SetMode(AutoMLMode&& value) { m_modeHasBeenSet = true; m_mode = std::move(value); }
131 inline TabularJobConfig& WithMode(const AutoMLMode& value) { SetMode(value); return *this;}
132 inline TabularJobConfig& WithMode(AutoMLMode&& value) { SetMode(std::move(value)); return *this;}
134
136
141 inline bool GetGenerateCandidateDefinitionsOnly() const{ return m_generateCandidateDefinitionsOnly; }
142 inline bool GenerateCandidateDefinitionsOnlyHasBeenSet() const { return m_generateCandidateDefinitionsOnlyHasBeenSet; }
143 inline void SetGenerateCandidateDefinitionsOnly(bool value) { m_generateCandidateDefinitionsOnlyHasBeenSet = true; m_generateCandidateDefinitionsOnly = value; }
146
148
158 inline const ProblemType& GetProblemType() const{ return m_problemType; }
159 inline bool ProblemTypeHasBeenSet() const { return m_problemTypeHasBeenSet; }
160 inline void SetProblemType(const ProblemType& value) { m_problemTypeHasBeenSet = true; m_problemType = value; }
161 inline void SetProblemType(ProblemType&& value) { m_problemTypeHasBeenSet = true; m_problemType = std::move(value); }
162 inline TabularJobConfig& WithProblemType(const ProblemType& value) { SetProblemType(value); return *this;}
163 inline TabularJobConfig& WithProblemType(ProblemType&& value) { SetProblemType(std::move(value)); return *this;}
165
167
171 inline const Aws::String& GetTargetAttributeName() const{ return m_targetAttributeName; }
172 inline bool TargetAttributeNameHasBeenSet() const { return m_targetAttributeNameHasBeenSet; }
173 inline void SetTargetAttributeName(const Aws::String& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = value; }
174 inline void SetTargetAttributeName(Aws::String&& value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName = std::move(value); }
175 inline void SetTargetAttributeName(const char* value) { m_targetAttributeNameHasBeenSet = true; m_targetAttributeName.assign(value); }
176 inline TabularJobConfig& WithTargetAttributeName(const Aws::String& value) { SetTargetAttributeName(value); return *this;}
177 inline TabularJobConfig& WithTargetAttributeName(Aws::String&& value) { SetTargetAttributeName(std::move(value)); return *this;}
178 inline TabularJobConfig& WithTargetAttributeName(const char* value) { SetTargetAttributeName(value); return *this;}
180
182
196 inline const Aws::String& GetSampleWeightAttributeName() const{ return m_sampleWeightAttributeName; }
197 inline bool SampleWeightAttributeNameHasBeenSet() const { return m_sampleWeightAttributeNameHasBeenSet; }
198 inline void SetSampleWeightAttributeName(const Aws::String& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = value; }
199 inline void SetSampleWeightAttributeName(Aws::String&& value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName = std::move(value); }
200 inline void SetSampleWeightAttributeName(const char* value) { m_sampleWeightAttributeNameHasBeenSet = true; m_sampleWeightAttributeName.assign(value); }
203 inline TabularJobConfig& WithSampleWeightAttributeName(const char* value) { SetSampleWeightAttributeName(value); return *this;}
205 private:
206
207 CandidateGenerationConfig m_candidateGenerationConfig;
208 bool m_candidateGenerationConfigHasBeenSet = false;
209
210 AutoMLJobCompletionCriteria m_completionCriteria;
211 bool m_completionCriteriaHasBeenSet = false;
212
213 Aws::String m_featureSpecificationS3Uri;
214 bool m_featureSpecificationS3UriHasBeenSet = false;
215
216 AutoMLMode m_mode;
217 bool m_modeHasBeenSet = false;
218
219 bool m_generateCandidateDefinitionsOnly;
220 bool m_generateCandidateDefinitionsOnlyHasBeenSet = false;
221
222 ProblemType m_problemType;
223 bool m_problemTypeHasBeenSet = false;
224
225 Aws::String m_targetAttributeName;
226 bool m_targetAttributeNameHasBeenSet = false;
227
228 Aws::String m_sampleWeightAttributeName;
229 bool m_sampleWeightAttributeNameHasBeenSet = false;
230 };
231
232} // namespace Model
233} // namespace SageMaker
234} // namespace Aws
TabularJobConfig & WithTargetAttributeName(const char *value)
TabularJobConfig & WithCandidateGenerationConfig(const CandidateGenerationConfig &value)
TabularJobConfig & WithSampleWeightAttributeName(Aws::String &&value)
AWS_SAGEMAKER_API TabularJobConfig(Aws::Utils::Json::JsonView jsonValue)
void SetMode(const AutoMLMode &value)
void SetSampleWeightAttributeName(Aws::String &&value)
void SetSampleWeightAttributeName(const Aws::String &value)
TabularJobConfig & WithTargetAttributeName(Aws::String &&value)
void SetSampleWeightAttributeName(const char *value)
void SetTargetAttributeName(Aws::String &&value)
TabularJobConfig & WithFeatureSpecificationS3Uri(const Aws::String &value)
void SetCandidateGenerationConfig(const CandidateGenerationConfig &value)
TabularJobConfig & WithGenerateCandidateDefinitionsOnly(bool value)
const Aws::String & GetSampleWeightAttributeName() const
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCandidateGenerationConfig(CandidateGenerationConfig &&value)
void SetCompletionCriteria(const AutoMLJobCompletionCriteria &value)
AWS_SAGEMAKER_API TabularJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetProblemType(const ProblemType &value)
TabularJobConfig & WithSampleWeightAttributeName(const char *value)
void SetFeatureSpecificationS3Uri(const Aws::String &value)
TabularJobConfig & WithMode(AutoMLMode &&value)
TabularJobConfig & WithSampleWeightAttributeName(const Aws::String &value)
TabularJobConfig & WithFeatureSpecificationS3Uri(Aws::String &&value)
void SetTargetAttributeName(const Aws::String &value)
TabularJobConfig & WithCompletionCriteria(AutoMLJobCompletionCriteria &&value)
const Aws::String & GetTargetAttributeName() const
const Aws::String & GetFeatureSpecificationS3Uri() const
void SetCompletionCriteria(AutoMLJobCompletionCriteria &&value)
TabularJobConfig & WithTargetAttributeName(const Aws::String &value)
const CandidateGenerationConfig & GetCandidateGenerationConfig() const
TabularJobConfig & WithCompletionCriteria(const AutoMLJobCompletionCriteria &value)
const AutoMLJobCompletionCriteria & GetCompletionCriteria() const
TabularJobConfig & WithProblemType(const ProblemType &value)
TabularJobConfig & WithCandidateGenerationConfig(CandidateGenerationConfig &&value)
void SetTargetAttributeName(const char *value)
void SetFeatureSpecificationS3Uri(const char *value)
TabularJobConfig & WithMode(const AutoMLMode &value)
void SetFeatureSpecificationS3Uri(Aws::String &&value)
TabularJobConfig & WithProblemType(ProblemType &&value)
const ProblemType & GetProblemType() const
TabularJobConfig & WithFeatureSpecificationS3Uri(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue