/** * 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 { /** *

Attributes of the data specified by the customer. Use these to describe the * data to be labeled.

See Also:

AWS * API Reference

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

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline const Aws::Vector& GetContentClassifiers() const{ return m_contentClassifiers; } /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline bool ContentClassifiersHasBeenSet() const { return m_contentClassifiersHasBeenSet; } /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline void SetContentClassifiers(const Aws::Vector& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = value; } /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline void SetContentClassifiers(Aws::Vector&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = std::move(value); } /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline LabelingJobDataAttributes& WithContentClassifiers(const Aws::Vector& value) { SetContentClassifiers(value); return *this;} /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline LabelingJobDataAttributes& WithContentClassifiers(Aws::Vector&& value) { SetContentClassifiers(std::move(value)); return *this;} /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline LabelingJobDataAttributes& AddContentClassifiers(const ContentClassifier& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(value); return *this; } /** *

Declares that your content is free of personally identifiable information or * adult content. SageMaker may restrict the Amazon Mechanical Turk workers that * can view your task based on this information.

*/ inline LabelingJobDataAttributes& AddContentClassifiers(ContentClassifier&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(std::move(value)); return *this; } private: Aws::Vector m_contentClassifiers; bool m_contentClassifiersHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws