AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
TextClassificationJobConfig.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/sagemaker/SageMaker_EXPORTS.h>
9#include <aws/sagemaker/model/AutoMLJobCompletionCriteria.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace SageMaker {
21namespace Model {
22
30 public:
31 AWS_SAGEMAKER_API TextClassificationJobConfig() = default;
34 AWS_SAGEMAKER_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
41 inline const AutoMLJobCompletionCriteria& GetCompletionCriteria() const { return m_completionCriteria; }
42 inline bool CompletionCriteriaHasBeenSet() const { return m_completionCriteriaHasBeenSet; }
43 template <typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
44 void SetCompletionCriteria(CompletionCriteriaT&& value) {
45 m_completionCriteriaHasBeenSet = true;
46 m_completionCriteria = std::forward<CompletionCriteriaT>(value);
47 }
48 template <typename CompletionCriteriaT = AutoMLJobCompletionCriteria>
50 SetCompletionCriteria(std::forward<CompletionCriteriaT>(value));
51 return *this;
52 }
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) {
64 m_contentColumnHasBeenSet = true;
65 m_contentColumn = std::forward<ContentColumnT>(value);
66 }
67 template <typename ContentColumnT = Aws::String>
69 SetContentColumn(std::forward<ContentColumnT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::String& GetTargetLabelColumn() const { return m_targetLabelColumn; }
80 inline bool TargetLabelColumnHasBeenSet() const { return m_targetLabelColumnHasBeenSet; }
81 template <typename TargetLabelColumnT = Aws::String>
82 void SetTargetLabelColumn(TargetLabelColumnT&& value) {
83 m_targetLabelColumnHasBeenSet = true;
84 m_targetLabelColumn = std::forward<TargetLabelColumnT>(value);
85 }
86 template <typename TargetLabelColumnT = Aws::String>
88 SetTargetLabelColumn(std::forward<TargetLabelColumnT>(value));
89 return *this;
90 }
92 private:
93 AutoMLJobCompletionCriteria m_completionCriteria;
94
95 Aws::String m_contentColumn;
96
97 Aws::String m_targetLabelColumn;
98 bool m_completionCriteriaHasBeenSet = false;
99 bool m_contentColumnHasBeenSet = false;
100 bool m_targetLabelColumnHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace SageMaker
105} // 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