/** * 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 Textract { namespace Model { /** *

Allows you to set attributes of the image. Currently, you can declare an * image as free of personally identifiable information and adult content. *

See Also:

AWS * API Reference

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

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

Sets whether the input image is free of personally identifiable information * or adult content.

*/ inline HumanLoopDataAttributes& 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 Textract } // namespace Aws