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

Container for configuring the source of human task requests.

See * Also:

AWS * API Reference

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

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline const AwsManagedHumanLoopRequestSource& GetAwsManagedHumanLoopRequestSource() const{ return m_awsManagedHumanLoopRequestSource; } /** *

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline bool AwsManagedHumanLoopRequestSourceHasBeenSet() const { return m_awsManagedHumanLoopRequestSourceHasBeenSet; } /** *

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline void SetAwsManagedHumanLoopRequestSource(const AwsManagedHumanLoopRequestSource& value) { m_awsManagedHumanLoopRequestSourceHasBeenSet = true; m_awsManagedHumanLoopRequestSource = value; } /** *

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline void SetAwsManagedHumanLoopRequestSource(AwsManagedHumanLoopRequestSource&& value) { m_awsManagedHumanLoopRequestSourceHasBeenSet = true; m_awsManagedHumanLoopRequestSource = std::move(value); } /** *

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline HumanLoopRequestSource& WithAwsManagedHumanLoopRequestSource(const AwsManagedHumanLoopRequestSource& value) { SetAwsManagedHumanLoopRequestSource(value); return *this;} /** *

Specifies whether Amazon Rekognition or Amazon Textract are used as the * integration source. The default field settings and JSON parsing rules are * different based on the integration source. Valid values:

*/ inline HumanLoopRequestSource& WithAwsManagedHumanLoopRequestSource(AwsManagedHumanLoopRequestSource&& value) { SetAwsManagedHumanLoopRequestSource(std::move(value)); return *this;} private: AwsManagedHumanLoopRequestSource m_awsManagedHumanLoopRequestSource; bool m_awsManagedHumanLoopRequestSourceHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws