/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace Glue { namespace Model { /** *

The configuration properties for the task run.

See Also:

AWS * API Reference

*/ class TaskRunProperties { public: AWS_GLUE_API TaskRunProperties(); AWS_GLUE_API TaskRunProperties(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API TaskRunProperties& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_GLUE_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The type of task run.

*/ inline const TaskType& GetTaskType() const{ return m_taskType; } /** *

The type of task run.

*/ inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; } /** *

The type of task run.

*/ inline void SetTaskType(const TaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; } /** *

The type of task run.

*/ inline void SetTaskType(TaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); } /** *

The type of task run.

*/ inline TaskRunProperties& WithTaskType(const TaskType& value) { SetTaskType(value); return *this;} /** *

The type of task run.

*/ inline TaskRunProperties& WithTaskType(TaskType&& value) { SetTaskType(std::move(value)); return *this;} /** *

The configuration properties for an importing labels task run.

*/ inline const ImportLabelsTaskRunProperties& GetImportLabelsTaskRunProperties() const{ return m_importLabelsTaskRunProperties; } /** *

The configuration properties for an importing labels task run.

*/ inline bool ImportLabelsTaskRunPropertiesHasBeenSet() const { return m_importLabelsTaskRunPropertiesHasBeenSet; } /** *

The configuration properties for an importing labels task run.

*/ inline void SetImportLabelsTaskRunProperties(const ImportLabelsTaskRunProperties& value) { m_importLabelsTaskRunPropertiesHasBeenSet = true; m_importLabelsTaskRunProperties = value; } /** *

The configuration properties for an importing labels task run.

*/ inline void SetImportLabelsTaskRunProperties(ImportLabelsTaskRunProperties&& value) { m_importLabelsTaskRunPropertiesHasBeenSet = true; m_importLabelsTaskRunProperties = std::move(value); } /** *

The configuration properties for an importing labels task run.

*/ inline TaskRunProperties& WithImportLabelsTaskRunProperties(const ImportLabelsTaskRunProperties& value) { SetImportLabelsTaskRunProperties(value); return *this;} /** *

The configuration properties for an importing labels task run.

*/ inline TaskRunProperties& WithImportLabelsTaskRunProperties(ImportLabelsTaskRunProperties&& value) { SetImportLabelsTaskRunProperties(std::move(value)); return *this;} /** *

The configuration properties for an exporting labels task run.

*/ inline const ExportLabelsTaskRunProperties& GetExportLabelsTaskRunProperties() const{ return m_exportLabelsTaskRunProperties; } /** *

The configuration properties for an exporting labels task run.

*/ inline bool ExportLabelsTaskRunPropertiesHasBeenSet() const { return m_exportLabelsTaskRunPropertiesHasBeenSet; } /** *

The configuration properties for an exporting labels task run.

*/ inline void SetExportLabelsTaskRunProperties(const ExportLabelsTaskRunProperties& value) { m_exportLabelsTaskRunPropertiesHasBeenSet = true; m_exportLabelsTaskRunProperties = value; } /** *

The configuration properties for an exporting labels task run.

*/ inline void SetExportLabelsTaskRunProperties(ExportLabelsTaskRunProperties&& value) { m_exportLabelsTaskRunPropertiesHasBeenSet = true; m_exportLabelsTaskRunProperties = std::move(value); } /** *

The configuration properties for an exporting labels task run.

*/ inline TaskRunProperties& WithExportLabelsTaskRunProperties(const ExportLabelsTaskRunProperties& value) { SetExportLabelsTaskRunProperties(value); return *this;} /** *

The configuration properties for an exporting labels task run.

*/ inline TaskRunProperties& WithExportLabelsTaskRunProperties(ExportLabelsTaskRunProperties&& value) { SetExportLabelsTaskRunProperties(std::move(value)); return *this;} /** *

The configuration properties for a labeling set generation task run.

*/ inline const LabelingSetGenerationTaskRunProperties& GetLabelingSetGenerationTaskRunProperties() const{ return m_labelingSetGenerationTaskRunProperties; } /** *

The configuration properties for a labeling set generation task run.

*/ inline bool LabelingSetGenerationTaskRunPropertiesHasBeenSet() const { return m_labelingSetGenerationTaskRunPropertiesHasBeenSet; } /** *

The configuration properties for a labeling set generation task run.

*/ inline void SetLabelingSetGenerationTaskRunProperties(const LabelingSetGenerationTaskRunProperties& value) { m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true; m_labelingSetGenerationTaskRunProperties = value; } /** *

The configuration properties for a labeling set generation task run.

*/ inline void SetLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunProperties&& value) { m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true; m_labelingSetGenerationTaskRunProperties = std::move(value); } /** *

The configuration properties for a labeling set generation task run.

*/ inline TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(const LabelingSetGenerationTaskRunProperties& value) { SetLabelingSetGenerationTaskRunProperties(value); return *this;} /** *

The configuration properties for a labeling set generation task run.

*/ inline TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunProperties&& value) { SetLabelingSetGenerationTaskRunProperties(std::move(value)); return *this;} /** *

The configuration properties for a find matches task run.

*/ inline const FindMatchesTaskRunProperties& GetFindMatchesTaskRunProperties() const{ return m_findMatchesTaskRunProperties; } /** *

The configuration properties for a find matches task run.

*/ inline bool FindMatchesTaskRunPropertiesHasBeenSet() const { return m_findMatchesTaskRunPropertiesHasBeenSet; } /** *

The configuration properties for a find matches task run.

*/ inline void SetFindMatchesTaskRunProperties(const FindMatchesTaskRunProperties& value) { m_findMatchesTaskRunPropertiesHasBeenSet = true; m_findMatchesTaskRunProperties = value; } /** *

The configuration properties for a find matches task run.

*/ inline void SetFindMatchesTaskRunProperties(FindMatchesTaskRunProperties&& value) { m_findMatchesTaskRunPropertiesHasBeenSet = true; m_findMatchesTaskRunProperties = std::move(value); } /** *

The configuration properties for a find matches task run.

*/ inline TaskRunProperties& WithFindMatchesTaskRunProperties(const FindMatchesTaskRunProperties& value) { SetFindMatchesTaskRunProperties(value); return *this;} /** *

The configuration properties for a find matches task run.

*/ inline TaskRunProperties& WithFindMatchesTaskRunProperties(FindMatchesTaskRunProperties&& value) { SetFindMatchesTaskRunProperties(std::move(value)); return *this;} private: TaskType m_taskType; bool m_taskTypeHasBeenSet = false; ImportLabelsTaskRunProperties m_importLabelsTaskRunProperties; bool m_importLabelsTaskRunPropertiesHasBeenSet = false; ExportLabelsTaskRunProperties m_exportLabelsTaskRunProperties; bool m_exportLabelsTaskRunPropertiesHasBeenSet = false; LabelingSetGenerationTaskRunProperties m_labelingSetGenerationTaskRunProperties; bool m_labelingSetGenerationTaskRunPropertiesHasBeenSet = false; FindMatchesTaskRunProperties m_findMatchesTaskRunProperties; bool m_findMatchesTaskRunPropertiesHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws