1 /** 2 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. 3 * SPDX-License-Identifier: Apache-2.0. 4 */ 5 6 #pragma once 7 #include <aws/sagemaker-a2i-runtime/AugmentedAIRuntime_EXPORTS.h> 8 #include <aws/core/utils/memory/stl/AWSVector.h> 9 #include <aws/sagemaker-a2i-runtime/model/ContentClassifier.h> 10 #include <utility> 11 12 namespace Aws 13 { 14 namespace Utils 15 { 16 namespace Json 17 { 18 class JsonValue; 19 class JsonView; 20 } // namespace Json 21 } // namespace Utils 22 namespace AugmentedAIRuntime 23 { 24 namespace Model 25 { 26 27 /** 28 * <p>Attributes of the data specified by the customer. Use these to describe the 29 * data to be labeled.</p><p><h3>See Also:</h3> <a 30 * href="http://docs.aws.amazon.com/goto/WebAPI/sagemaker-a2i-runtime-2019-11-07/HumanLoopDataAttributes">AWS 31 * API Reference</a></p> 32 */ 33 class AWS_AUGMENTEDAIRUNTIME_API HumanLoopDataAttributes 34 { 35 public: 36 HumanLoopDataAttributes(); 37 HumanLoopDataAttributes(Aws::Utils::Json::JsonView jsonValue); 38 HumanLoopDataAttributes& operator=(Aws::Utils::Json::JsonView jsonValue); 39 Aws::Utils::Json::JsonValue Jsonize() const; 40 41 42 /** 43 * <p>Declares that your content is free of personally identifiable information or 44 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 45 * workers who can view your task based on this information.</p> 46 */ GetContentClassifiers()47 inline const Aws::Vector<ContentClassifier>& GetContentClassifiers() const{ return m_contentClassifiers; } 48 49 /** 50 * <p>Declares that your content is free of personally identifiable information or 51 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 52 * workers who can view your task based on this information.</p> 53 */ ContentClassifiersHasBeenSet()54 inline bool ContentClassifiersHasBeenSet() const { return m_contentClassifiersHasBeenSet; } 55 56 /** 57 * <p>Declares that your content is free of personally identifiable information or 58 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 59 * workers who can view your task based on this information.</p> 60 */ SetContentClassifiers(const Aws::Vector<ContentClassifier> & value)61 inline void SetContentClassifiers(const Aws::Vector<ContentClassifier>& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = value; } 62 63 /** 64 * <p>Declares that your content is free of personally identifiable information or 65 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 66 * workers who can view your task based on this information.</p> 67 */ SetContentClassifiers(Aws::Vector<ContentClassifier> && value)68 inline void SetContentClassifiers(Aws::Vector<ContentClassifier>&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers = std::move(value); } 69 70 /** 71 * <p>Declares that your content is free of personally identifiable information or 72 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 73 * workers who can view your task based on this information.</p> 74 */ WithContentClassifiers(const Aws::Vector<ContentClassifier> & value)75 inline HumanLoopDataAttributes& WithContentClassifiers(const Aws::Vector<ContentClassifier>& value) { SetContentClassifiers(value); return *this;} 76 77 /** 78 * <p>Declares that your content is free of personally identifiable information or 79 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 80 * workers who can view your task based on this information.</p> 81 */ WithContentClassifiers(Aws::Vector<ContentClassifier> && value)82 inline HumanLoopDataAttributes& WithContentClassifiers(Aws::Vector<ContentClassifier>&& value) { SetContentClassifiers(std::move(value)); return *this;} 83 84 /** 85 * <p>Declares that your content is free of personally identifiable information or 86 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 87 * workers who can view your task based on this information.</p> 88 */ AddContentClassifiers(const ContentClassifier & value)89 inline HumanLoopDataAttributes& AddContentClassifiers(const ContentClassifier& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(value); return *this; } 90 91 /** 92 * <p>Declares that your content is free of personally identifiable information or 93 * adult content.</p> <p>Amazon SageMaker can restrict the Amazon Mechanical Turk 94 * workers who can view your task based on this information.</p> 95 */ AddContentClassifiers(ContentClassifier && value)96 inline HumanLoopDataAttributes& AddContentClassifiers(ContentClassifier&& value) { m_contentClassifiersHasBeenSet = true; m_contentClassifiers.push_back(std::move(value)); return *this; } 97 98 private: 99 100 Aws::Vector<ContentClassifier> m_contentClassifiers; 101 bool m_contentClassifiersHasBeenSet; 102 }; 103 104 } // namespace Model 105 } // namespace AugmentedAIRuntime 106 } // namespace Aws 107