/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Container for configuring the source of human task requests.See
* Also:
AWS
* API Reference
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