AWS SDK for C++

AWS SDK for C++ Version 1.11.709

Loading...
Searching...
No Matches
TaskRunProperties.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/ExportLabelsTaskRunProperties.h>
9#include <aws/glue/model/FindMatchesTaskRunProperties.h>
10#include <aws/glue/model/ImportLabelsTaskRunProperties.h>
11#include <aws/glue/model/LabelingSetGenerationTaskRunProperties.h>
12#include <aws/glue/model/TaskType.h>
13
14#include <utility>
15
16namespace Aws {
17namespace Utils {
18namespace Json {
19class JsonValue;
20class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace Glue {
24namespace Model {
25
32 public:
33 AWS_GLUE_API TaskRunProperties() = default;
37
39
42 inline TaskType GetTaskType() const { return m_taskType; }
43 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
44 inline void SetTaskType(TaskType value) {
45 m_taskTypeHasBeenSet = true;
46 m_taskType = value;
47 }
49 SetTaskType(value);
50 return *this;
51 }
53
55
58 inline const ImportLabelsTaskRunProperties& GetImportLabelsTaskRunProperties() const { return m_importLabelsTaskRunProperties; }
59 inline bool ImportLabelsTaskRunPropertiesHasBeenSet() const { return m_importLabelsTaskRunPropertiesHasBeenSet; }
60 template <typename ImportLabelsTaskRunPropertiesT = ImportLabelsTaskRunProperties>
61 void SetImportLabelsTaskRunProperties(ImportLabelsTaskRunPropertiesT&& value) {
62 m_importLabelsTaskRunPropertiesHasBeenSet = true;
63 m_importLabelsTaskRunProperties = std::forward<ImportLabelsTaskRunPropertiesT>(value);
64 }
65 template <typename ImportLabelsTaskRunPropertiesT = ImportLabelsTaskRunProperties>
66 TaskRunProperties& WithImportLabelsTaskRunProperties(ImportLabelsTaskRunPropertiesT&& value) {
67 SetImportLabelsTaskRunProperties(std::forward<ImportLabelsTaskRunPropertiesT>(value));
68 return *this;
69 }
71
73
76 inline const ExportLabelsTaskRunProperties& GetExportLabelsTaskRunProperties() const { return m_exportLabelsTaskRunProperties; }
77 inline bool ExportLabelsTaskRunPropertiesHasBeenSet() const { return m_exportLabelsTaskRunPropertiesHasBeenSet; }
78 template <typename ExportLabelsTaskRunPropertiesT = ExportLabelsTaskRunProperties>
79 void SetExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT&& value) {
80 m_exportLabelsTaskRunPropertiesHasBeenSet = true;
81 m_exportLabelsTaskRunProperties = std::forward<ExportLabelsTaskRunPropertiesT>(value);
82 }
83 template <typename ExportLabelsTaskRunPropertiesT = ExportLabelsTaskRunProperties>
84 TaskRunProperties& WithExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT&& value) {
85 SetExportLabelsTaskRunProperties(std::forward<ExportLabelsTaskRunPropertiesT>(value));
86 return *this;
87 }
89
91
95 return m_labelingSetGenerationTaskRunProperties;
96 }
97 inline bool LabelingSetGenerationTaskRunPropertiesHasBeenSet() const { return m_labelingSetGenerationTaskRunPropertiesHasBeenSet; }
98 template <typename LabelingSetGenerationTaskRunPropertiesT = LabelingSetGenerationTaskRunProperties>
99 void SetLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT&& value) {
100 m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true;
101 m_labelingSetGenerationTaskRunProperties = std::forward<LabelingSetGenerationTaskRunPropertiesT>(value);
102 }
103 template <typename LabelingSetGenerationTaskRunPropertiesT = LabelingSetGenerationTaskRunProperties>
104 TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT&& value) {
105 SetLabelingSetGenerationTaskRunProperties(std::forward<LabelingSetGenerationTaskRunPropertiesT>(value));
106 return *this;
107 }
109
111
114 inline const FindMatchesTaskRunProperties& GetFindMatchesTaskRunProperties() const { return m_findMatchesTaskRunProperties; }
115 inline bool FindMatchesTaskRunPropertiesHasBeenSet() const { return m_findMatchesTaskRunPropertiesHasBeenSet; }
116 template <typename FindMatchesTaskRunPropertiesT = FindMatchesTaskRunProperties>
117 void SetFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT&& value) {
118 m_findMatchesTaskRunPropertiesHasBeenSet = true;
119 m_findMatchesTaskRunProperties = std::forward<FindMatchesTaskRunPropertiesT>(value);
120 }
121 template <typename FindMatchesTaskRunPropertiesT = FindMatchesTaskRunProperties>
122 TaskRunProperties& WithFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT&& value) {
123 SetFindMatchesTaskRunProperties(std::forward<FindMatchesTaskRunPropertiesT>(value));
124 return *this;
125 }
127 private:
128 TaskType m_taskType{TaskType::NOT_SET};
129
130 ImportLabelsTaskRunProperties m_importLabelsTaskRunProperties;
131
132 ExportLabelsTaskRunProperties m_exportLabelsTaskRunProperties;
133
134 LabelingSetGenerationTaskRunProperties m_labelingSetGenerationTaskRunProperties;
135
136 FindMatchesTaskRunProperties m_findMatchesTaskRunProperties;
137 bool m_taskTypeHasBeenSet = false;
138 bool m_importLabelsTaskRunPropertiesHasBeenSet = false;
139 bool m_exportLabelsTaskRunPropertiesHasBeenSet = false;
140 bool m_labelingSetGenerationTaskRunPropertiesHasBeenSet = false;
141 bool m_findMatchesTaskRunPropertiesHasBeenSet = false;
142};
143
144} // namespace Model
145} // namespace Glue
146} // namespace Aws
AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const
const FindMatchesTaskRunProperties & GetFindMatchesTaskRunProperties() const
TaskRunProperties & WithLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT &&value)
void SetFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT &&value)
AWS_GLUE_API TaskRunProperties & operator=(Aws::Utils::Json::JsonView jsonValue)
TaskRunProperties & WithTaskType(TaskType value)
TaskRunProperties & WithImportLabelsTaskRunProperties(ImportLabelsTaskRunPropertiesT &&value)
AWS_GLUE_API TaskRunProperties(Aws::Utils::Json::JsonView jsonValue)
void SetImportLabelsTaskRunProperties(ImportLabelsTaskRunPropertiesT &&value)
TaskRunProperties & WithExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT &&value)
TaskRunProperties & WithFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT &&value)
const ExportLabelsTaskRunProperties & GetExportLabelsTaskRunProperties() const
bool LabelingSetGenerationTaskRunPropertiesHasBeenSet() const
void SetExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT &&value)
const LabelingSetGenerationTaskRunProperties & GetLabelingSetGenerationTaskRunProperties() const
void SetLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT &&value)
const ImportLabelsTaskRunProperties & GetImportLabelsTaskRunProperties() const
AWS_GLUE_API TaskRunProperties()=default
Aws::Utils::Json::JsonValue JsonValue