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

Input configuration information for a labeling job.

See Also:

* AWS * API Reference

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

The location of the input data.

*/ inline const LabelingJobDataSource& GetDataSource() const{ return m_dataSource; } /** *

The location of the input data.

*/ inline bool DataSourceHasBeenSet() const { return m_dataSourceHasBeenSet; } /** *

The location of the input data.

*/ inline void SetDataSource(const LabelingJobDataSource& value) { m_dataSourceHasBeenSet = true; m_dataSource = value; } /** *

The location of the input data.

*/ inline void SetDataSource(LabelingJobDataSource&& value) { m_dataSourceHasBeenSet = true; m_dataSource = std::move(value); } /** *

The location of the input data.

*/ inline LabelingJobInputConfig& WithDataSource(const LabelingJobDataSource& value) { SetDataSource(value); return *this;} /** *

The location of the input data.

*/ inline LabelingJobInputConfig& WithDataSource(LabelingJobDataSource&& value) { SetDataSource(std::move(value)); return *this;} /** *

Attributes of the data specified by the customer.

*/ inline const LabelingJobDataAttributes& GetDataAttributes() const{ return m_dataAttributes; } /** *

Attributes of the data specified by the customer.

*/ inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; } /** *

Attributes of the data specified by the customer.

*/ inline void SetDataAttributes(const LabelingJobDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; } /** *

Attributes of the data specified by the customer.

*/ inline void SetDataAttributes(LabelingJobDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); } /** *

Attributes of the data specified by the customer.

*/ inline LabelingJobInputConfig& WithDataAttributes(const LabelingJobDataAttributes& value) { SetDataAttributes(value); return *this;} /** *

Attributes of the data specified by the customer.

*/ inline LabelingJobInputConfig& WithDataAttributes(LabelingJobDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;} private: LabelingJobDataSource m_dataSource; bool m_dataSourceHasBeenSet = false; LabelingJobDataAttributes m_dataAttributes; bool m_dataAttributesHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws