AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
TaskRunProperties.h
1
6#pragma once
7#include <aws/glue/Glue_EXPORTS.h>
8#include <aws/glue/model/TaskType.h>
9#include <aws/glue/model/ImportLabelsTaskRunProperties.h>
10#include <aws/glue/model/ExportLabelsTaskRunProperties.h>
11#include <aws/glue/model/LabelingSetGenerationTaskRunProperties.h>
12#include <aws/glue/model/FindMatchesTaskRunProperties.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 Glue
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_GLUE_API TaskRunProperties() = default;
42
43
45
48 inline TaskType GetTaskType() const { return m_taskType; }
49 inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
50 inline void SetTaskType(TaskType value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
51 inline TaskRunProperties& WithTaskType(TaskType value) { SetTaskType(value); return *this;}
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) { m_importLabelsTaskRunPropertiesHasBeenSet = true; m_importLabelsTaskRunProperties = std::forward<ImportLabelsTaskRunPropertiesT>(value); }
62 template<typename ImportLabelsTaskRunPropertiesT = ImportLabelsTaskRunProperties>
63 TaskRunProperties& WithImportLabelsTaskRunProperties(ImportLabelsTaskRunPropertiesT&& value) { SetImportLabelsTaskRunProperties(std::forward<ImportLabelsTaskRunPropertiesT>(value)); return *this;}
65
67
70 inline const ExportLabelsTaskRunProperties& GetExportLabelsTaskRunProperties() const { return m_exportLabelsTaskRunProperties; }
71 inline bool ExportLabelsTaskRunPropertiesHasBeenSet() const { return m_exportLabelsTaskRunPropertiesHasBeenSet; }
72 template<typename ExportLabelsTaskRunPropertiesT = ExportLabelsTaskRunProperties>
73 void SetExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT&& value) { m_exportLabelsTaskRunPropertiesHasBeenSet = true; m_exportLabelsTaskRunProperties = std::forward<ExportLabelsTaskRunPropertiesT>(value); }
74 template<typename ExportLabelsTaskRunPropertiesT = ExportLabelsTaskRunProperties>
75 TaskRunProperties& WithExportLabelsTaskRunProperties(ExportLabelsTaskRunPropertiesT&& value) { SetExportLabelsTaskRunProperties(std::forward<ExportLabelsTaskRunPropertiesT>(value)); return *this;}
77
79
82 inline const LabelingSetGenerationTaskRunProperties& GetLabelingSetGenerationTaskRunProperties() const { return m_labelingSetGenerationTaskRunProperties; }
83 inline bool LabelingSetGenerationTaskRunPropertiesHasBeenSet() const { return m_labelingSetGenerationTaskRunPropertiesHasBeenSet; }
84 template<typename LabelingSetGenerationTaskRunPropertiesT = LabelingSetGenerationTaskRunProperties>
85 void SetLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT&& value) { m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true; m_labelingSetGenerationTaskRunProperties = std::forward<LabelingSetGenerationTaskRunPropertiesT>(value); }
86 template<typename LabelingSetGenerationTaskRunPropertiesT = LabelingSetGenerationTaskRunProperties>
87 TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunPropertiesT&& value) { SetLabelingSetGenerationTaskRunProperties(std::forward<LabelingSetGenerationTaskRunPropertiesT>(value)); return *this;}
89
91
94 inline const FindMatchesTaskRunProperties& GetFindMatchesTaskRunProperties() const { return m_findMatchesTaskRunProperties; }
95 inline bool FindMatchesTaskRunPropertiesHasBeenSet() const { return m_findMatchesTaskRunPropertiesHasBeenSet; }
96 template<typename FindMatchesTaskRunPropertiesT = FindMatchesTaskRunProperties>
97 void SetFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT&& value) { m_findMatchesTaskRunPropertiesHasBeenSet = true; m_findMatchesTaskRunProperties = std::forward<FindMatchesTaskRunPropertiesT>(value); }
98 template<typename FindMatchesTaskRunPropertiesT = FindMatchesTaskRunProperties>
99 TaskRunProperties& WithFindMatchesTaskRunProperties(FindMatchesTaskRunPropertiesT&& value) { SetFindMatchesTaskRunProperties(std::forward<FindMatchesTaskRunPropertiesT>(value)); return *this;}
101 private:
102
103 TaskType m_taskType{TaskType::NOT_SET};
104 bool m_taskTypeHasBeenSet = false;
105
106 ImportLabelsTaskRunProperties m_importLabelsTaskRunProperties;
107 bool m_importLabelsTaskRunPropertiesHasBeenSet = false;
108
109 ExportLabelsTaskRunProperties m_exportLabelsTaskRunProperties;
110 bool m_exportLabelsTaskRunPropertiesHasBeenSet = false;
111
112 LabelingSetGenerationTaskRunProperties m_labelingSetGenerationTaskRunProperties;
113 bool m_labelingSetGenerationTaskRunPropertiesHasBeenSet = false;
114
115 FindMatchesTaskRunProperties m_findMatchesTaskRunProperties;
116 bool m_findMatchesTaskRunPropertiesHasBeenSet = false;
117 };
118
119} // namespace Model
120} // namespace Glue
121} // 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