AWS SDK for C++

AWS SDK for C++ Version 1.11.612

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() = default;
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 template<typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
50 void SetCompletionCriteria(CompletionCriteriaT&& value) { m_completionCriteriaHasBeenSet = true; m_completionCriteria = std::forward<CompletionCriteriaT>(value); }
51 template<typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
52 TextClassificationJobConfig& WithCompletionCriteria(CompletionCriteriaT&& value) { SetCompletionCriteria(std::forward<CompletionCriteriaT>(value)); return *this;}
54
56
60 inline const Aws::String& GetContentColumn() const { return m_contentColumn; }
61 inline bool ContentColumnHasBeenSet() const { return m_contentColumnHasBeenSet; }
62 template<typename ContentColumnT = Aws::String>
63 void SetContentColumn(ContentColumnT&& value) { m_contentColumnHasBeenSet = true; m_contentColumn = std::forward<ContentColumnT>(value); }
64 template<typename ContentColumnT = Aws::String>
65 TextClassificationJobConfig& WithContentColumn(ContentColumnT&& value) { SetContentColumn(std::forward<ContentColumnT>(value)); return *this;}
67
69
73 inline const Aws::String& GetTargetLabelColumn() const { return m_targetLabelColumn; }
74 inline bool TargetLabelColumnHasBeenSet() const { return m_targetLabelColumnHasBeenSet; }
75 template<typename TargetLabelColumnT = Aws::String>
76 void SetTargetLabelColumn(TargetLabelColumnT&& value) { m_targetLabelColumnHasBeenSet = true; m_targetLabelColumn = std::forward<TargetLabelColumnT>(value); }
77 template<typename TargetLabelColumnT = Aws::String>
78 TextClassificationJobConfig& WithTargetLabelColumn(TargetLabelColumnT&& value) { SetTargetLabelColumn(std::forward<TargetLabelColumnT>(value)); return *this;}
80 private:
81
82 AutoMLJobCompletionCriteria m_completionCriteria;
83 bool m_completionCriteriaHasBeenSet = false;
84
85 Aws::String m_contentColumn;
86 bool m_contentColumnHasBeenSet = false;
87
88 Aws::String m_targetLabelColumn;
89 bool m_targetLabelColumnHasBeenSet = false;
90 };
91
92} // namespace Model
93} // namespace SageMaker
94} // namespace Aws
TextClassificationJobConfig & WithContentColumn(ContentColumnT &&value)
TextClassificationJobConfig & WithTargetLabelColumn(TargetLabelColumnT &&value)
AWS_SAGEMAKER_API TextClassificationJobConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_SAGEMAKER_API TextClassificationJobConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
TextClassificationJobConfig & WithCompletionCriteria(CompletionCriteriaT &&value)
AWS_SAGEMAKER_API TextClassificationJobConfig()=default
AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const
const AutoMLJobCompletionCriteria & GetCompletionCriteria() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue