This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/support/aws-sdk-cpp-master/aws-cpp-sdk-glue/include/aws/glue/model/TaskRunProperties.h

219 lines
8.7 KiB
C
Raw Normal View History

/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include <aws/glue/Glue_EXPORTS.h>
#include <aws/glue/model/TaskType.h>
#include <aws/glue/model/ImportLabelsTaskRunProperties.h>
#include <aws/glue/model/ExportLabelsTaskRunProperties.h>
#include <aws/glue/model/LabelingSetGenerationTaskRunProperties.h>
#include <aws/glue/model/FindMatchesTaskRunProperties.h>
#include <utility>
namespace Aws
{
namespace Utils
{
namespace Json
{
class JsonValue;
class JsonView;
} // namespace Json
} // namespace Utils
namespace Glue
{
namespace Model
{
/**
* <p>The configuration properties for the task run.</p><p><h3>See Also:</h3> <a
* href="http://docs.aws.amazon.com/goto/WebAPI/glue-2017-03-31/TaskRunProperties">AWS
* API Reference</a></p>
*/
class AWS_GLUE_API TaskRunProperties
{
public:
TaskRunProperties();
TaskRunProperties(Aws::Utils::Json::JsonView jsonValue);
TaskRunProperties& operator=(Aws::Utils::Json::JsonView jsonValue);
Aws::Utils::Json::JsonValue Jsonize() const;
/**
* <p>The type of task run.</p>
*/
inline const TaskType& GetTaskType() const{ return m_taskType; }
/**
* <p>The type of task run.</p>
*/
inline bool TaskTypeHasBeenSet() const { return m_taskTypeHasBeenSet; }
/**
* <p>The type of task run.</p>
*/
inline void SetTaskType(const TaskType& value) { m_taskTypeHasBeenSet = true; m_taskType = value; }
/**
* <p>The type of task run.</p>
*/
inline void SetTaskType(TaskType&& value) { m_taskTypeHasBeenSet = true; m_taskType = std::move(value); }
/**
* <p>The type of task run.</p>
*/
inline TaskRunProperties& WithTaskType(const TaskType& value) { SetTaskType(value); return *this;}
/**
* <p>The type of task run.</p>
*/
inline TaskRunProperties& WithTaskType(TaskType&& value) { SetTaskType(std::move(value)); return *this;}
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline const ImportLabelsTaskRunProperties& GetImportLabelsTaskRunProperties() const{ return m_importLabelsTaskRunProperties; }
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline bool ImportLabelsTaskRunPropertiesHasBeenSet() const { return m_importLabelsTaskRunPropertiesHasBeenSet; }
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline void SetImportLabelsTaskRunProperties(const ImportLabelsTaskRunProperties& value) { m_importLabelsTaskRunPropertiesHasBeenSet = true; m_importLabelsTaskRunProperties = value; }
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline void SetImportLabelsTaskRunProperties(ImportLabelsTaskRunProperties&& value) { m_importLabelsTaskRunPropertiesHasBeenSet = true; m_importLabelsTaskRunProperties = std::move(value); }
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline TaskRunProperties& WithImportLabelsTaskRunProperties(const ImportLabelsTaskRunProperties& value) { SetImportLabelsTaskRunProperties(value); return *this;}
/**
* <p>The configuration properties for an importing labels task run.</p>
*/
inline TaskRunProperties& WithImportLabelsTaskRunProperties(ImportLabelsTaskRunProperties&& value) { SetImportLabelsTaskRunProperties(std::move(value)); return *this;}
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline const ExportLabelsTaskRunProperties& GetExportLabelsTaskRunProperties() const{ return m_exportLabelsTaskRunProperties; }
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline bool ExportLabelsTaskRunPropertiesHasBeenSet() const { return m_exportLabelsTaskRunPropertiesHasBeenSet; }
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline void SetExportLabelsTaskRunProperties(const ExportLabelsTaskRunProperties& value) { m_exportLabelsTaskRunPropertiesHasBeenSet = true; m_exportLabelsTaskRunProperties = value; }
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline void SetExportLabelsTaskRunProperties(ExportLabelsTaskRunProperties&& value) { m_exportLabelsTaskRunPropertiesHasBeenSet = true; m_exportLabelsTaskRunProperties = std::move(value); }
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline TaskRunProperties& WithExportLabelsTaskRunProperties(const ExportLabelsTaskRunProperties& value) { SetExportLabelsTaskRunProperties(value); return *this;}
/**
* <p>The configuration properties for an exporting labels task run.</p>
*/
inline TaskRunProperties& WithExportLabelsTaskRunProperties(ExportLabelsTaskRunProperties&& value) { SetExportLabelsTaskRunProperties(std::move(value)); return *this;}
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline const LabelingSetGenerationTaskRunProperties& GetLabelingSetGenerationTaskRunProperties() const{ return m_labelingSetGenerationTaskRunProperties; }
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline bool LabelingSetGenerationTaskRunPropertiesHasBeenSet() const { return m_labelingSetGenerationTaskRunPropertiesHasBeenSet; }
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline void SetLabelingSetGenerationTaskRunProperties(const LabelingSetGenerationTaskRunProperties& value) { m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true; m_labelingSetGenerationTaskRunProperties = value; }
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline void SetLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunProperties&& value) { m_labelingSetGenerationTaskRunPropertiesHasBeenSet = true; m_labelingSetGenerationTaskRunProperties = std::move(value); }
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(const LabelingSetGenerationTaskRunProperties& value) { SetLabelingSetGenerationTaskRunProperties(value); return *this;}
/**
* <p>The configuration properties for a labeling set generation task run.</p>
*/
inline TaskRunProperties& WithLabelingSetGenerationTaskRunProperties(LabelingSetGenerationTaskRunProperties&& value) { SetLabelingSetGenerationTaskRunProperties(std::move(value)); return *this;}
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline const FindMatchesTaskRunProperties& GetFindMatchesTaskRunProperties() const{ return m_findMatchesTaskRunProperties; }
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline bool FindMatchesTaskRunPropertiesHasBeenSet() const { return m_findMatchesTaskRunPropertiesHasBeenSet; }
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline void SetFindMatchesTaskRunProperties(const FindMatchesTaskRunProperties& value) { m_findMatchesTaskRunPropertiesHasBeenSet = true; m_findMatchesTaskRunProperties = value; }
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline void SetFindMatchesTaskRunProperties(FindMatchesTaskRunProperties&& value) { m_findMatchesTaskRunPropertiesHasBeenSet = true; m_findMatchesTaskRunProperties = std::move(value); }
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline TaskRunProperties& WithFindMatchesTaskRunProperties(const FindMatchesTaskRunProperties& value) { SetFindMatchesTaskRunProperties(value); return *this;}
/**
* <p>The configuration properties for a find matches task run.</p>
*/
inline TaskRunProperties& WithFindMatchesTaskRunProperties(FindMatchesTaskRunProperties&& value) { SetFindMatchesTaskRunProperties(std::move(value)); return *this;}
private:
TaskType m_taskType;
bool m_taskTypeHasBeenSet;
ImportLabelsTaskRunProperties m_importLabelsTaskRunProperties;
bool m_importLabelsTaskRunPropertiesHasBeenSet;
ExportLabelsTaskRunProperties m_exportLabelsTaskRunProperties;
bool m_exportLabelsTaskRunPropertiesHasBeenSet;
LabelingSetGenerationTaskRunProperties m_labelingSetGenerationTaskRunProperties;
bool m_labelingSetGenerationTaskRunPropertiesHasBeenSet;
FindMatchesTaskRunProperties m_findMatchesTaskRunProperties;
bool m_findMatchesTaskRunPropertiesHasBeenSet;
};
} // namespace Model
} // namespace Glue
} // namespace Aws