AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
TextClassificationJobConfig.h
1
6#pragma once
7#include <aws/sagemaker/SageMaker_EXPORTS.h>
8#include <aws/sagemaker/model/AutoMLJobCompletionCriteria.h>
9#include <aws/core/utils/memory/stl/AWSString.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 TextClassificationJobConfig();
39 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const{ return m_completionCriteria; }
48 inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; }
49 inline void SetCompletionCriteria(const AutoMLJobCompletionCriteria& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = value; }
50 inline void SetCompletionCriteria(AutoMLJobCompletionCriteria&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::move(value); }
54
56
60 inline const Aws::String& GetContentColumn() const{ return m_contentColumn; }
61 inline bool ContentColumnHasBeenSet() const { return m_contentColumnHasBeenSet; }
62 inline void SetContentColumn(const Aws::String& value) { m_contentColumnHasBeenSet = true; m_contentColumn = value; }
63 inline void SetContentColumn(Aws::String&& value) { m_contentColumnHasBeenSet = true; m_contentColumn = std::move(value); }
64 inline void SetContentColumn(const char* value) { m_contentColumnHasBeenSet = true; m_contentColumn.assign(value); }
65 inline TextClassificationJobConfig& WithContentColumn(const Aws::String& value) { SetContentColumn(value); return *this;}
66 inline TextClassificationJobConfig& WithContentColumn(Aws::String&& value) { SetContentColumn(std::move(value)); return *this;}
67 inline TextClassificationJobConfig& WithContentColumn(const char* value) { SetContentColumn(value); return *this;}
69
71
75 inline const Aws::String& GetTargetLabelColumn() const{ return m_targetLabelColumn; }
76 inline bool TargetLabelColumnHasBeenSet() const { return m_targetLabelColumnHasBeenSet; }
77 inline void SetTargetLabelColumn(const Aws::String& value) { m_targetLabelColumnHasBeenSet = true; m_targetLabelColumn = value; }
78 inline void SetTargetLabelColumn(Aws::String&& value) { m_targetLabelColumnHasBeenSet = true; m_targetLabelColumn = std::move(value); }
79 inline void SetTargetLabelColumn(const char* value) { m_targetLabelColumnHasBeenSet = true; m_targetLabelColumn.assign(value); }
81 inline TextClassificationJobConfig& WithTargetLabelColumn(Aws::String&& value) { SetTargetLabelColumn(std::move(value)); return *this;}
82 inline TextClassificationJobConfig& WithTargetLabelColumn(const char* value) { SetTargetLabelColumn(value); return *this;}
84 private:
85
86 AutoMLJobCompletionCriteria m_completionCriteria;
87 bool m_completionCriteriaHasBeenSet = false;
88
89 Aws::String m_contentColumn;
90 bool m_contentColumnHasBeenSet = false;
91
92 Aws::String m_targetLabelColumn;
93 bool m_targetLabelColumnHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace SageMaker
98} // namespace Aws
TextClassificationJobConfig & WithContentColumn(const Aws::String &value)
TextClassificationJobConfig & WithCompletionCriteria(AutoMLJobCompletionCriteria &&value)
TextClassificationJobConfig & WithTargetLabelColumn(Aws::String &&value)
TextClassificationJobConfig & WithContentColumn(const char *value)
TextClassificationJobConfig & WithCompletionCriteria(const AutoMLJobCompletionCriteria &value)
TextClassificationJobConfig & WithTargetLabelColumn(const Aws::String &value)
AWS_SAGEMAKER_API TextClassificationJobConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TextClassificationJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TextClassificationJobConfig & WithTargetLabelColumn(const char *value)
void SetCompletionCriteria(const AutoMLJobCompletionCriteria &value)
TextClassificationJobConfig & WithContentColumn(Aws::String &&value)
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
void SetCompletionCriteria(AutoMLJobCompletionCriteria &&value)
const AutoMLJobCompletionCriteria & GetCompletionCriteria() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue