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

Shows the results of the human in the loop evaluation. If there is no * HumanLoopArn, the input did not trigger human review.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline const Aws::String& GetHumanLoopArn() const{ return m_humanLoopArn; } /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline bool HumanLoopArnHasBeenSet() const { return m_humanLoopArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline void SetHumanLoopArn(const Aws::String& value) { m_humanLoopArnHasBeenSet = true; m_humanLoopArn = value; } /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline void SetHumanLoopArn(Aws::String&& value) { m_humanLoopArnHasBeenSet = true; m_humanLoopArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline void SetHumanLoopArn(const char* value) { m_humanLoopArnHasBeenSet = true; m_humanLoopArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline HumanLoopActivationOutput& WithHumanLoopArn(const Aws::String& value) { SetHumanLoopArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline HumanLoopActivationOutput& WithHumanLoopArn(Aws::String&& value) { SetHumanLoopArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the HumanLoop created.

*/ inline HumanLoopActivationOutput& WithHumanLoopArn(const char* value) { SetHumanLoopArn(value); return *this;} /** *

Shows if and why human review was needed.

*/ inline const Aws::Vector& GetHumanLoopActivationReasons() const{ return m_humanLoopActivationReasons; } /** *

Shows if and why human review was needed.

*/ inline bool HumanLoopActivationReasonsHasBeenSet() const { return m_humanLoopActivationReasonsHasBeenSet; } /** *

Shows if and why human review was needed.

*/ inline void SetHumanLoopActivationReasons(const Aws::Vector& value) { m_humanLoopActivationReasonsHasBeenSet = true; m_humanLoopActivationReasons = value; } /** *

Shows if and why human review was needed.

*/ inline void SetHumanLoopActivationReasons(Aws::Vector&& value) { m_humanLoopActivationReasonsHasBeenSet = true; m_humanLoopActivationReasons = std::move(value); } /** *

Shows if and why human review was needed.

*/ inline HumanLoopActivationOutput& WithHumanLoopActivationReasons(const Aws::Vector& value) { SetHumanLoopActivationReasons(value); return *this;} /** *

Shows if and why human review was needed.

*/ inline HumanLoopActivationOutput& WithHumanLoopActivationReasons(Aws::Vector&& value) { SetHumanLoopActivationReasons(std::move(value)); return *this;} /** *

Shows if and why human review was needed.

*/ inline HumanLoopActivationOutput& AddHumanLoopActivationReasons(const Aws::String& value) { m_humanLoopActivationReasonsHasBeenSet = true; m_humanLoopActivationReasons.push_back(value); return *this; } /** *

Shows if and why human review was needed.

*/ inline HumanLoopActivationOutput& AddHumanLoopActivationReasons(Aws::String&& value) { m_humanLoopActivationReasonsHasBeenSet = true; m_humanLoopActivationReasons.push_back(std::move(value)); return *this; } /** *

Shows if and why human review was needed.

*/ inline HumanLoopActivationOutput& AddHumanLoopActivationReasons(const char* value) { m_humanLoopActivationReasonsHasBeenSet = true; m_humanLoopActivationReasons.push_back(value); return *this; } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline const Aws::String& GetHumanLoopActivationConditionsEvaluationResults() const{ return m_humanLoopActivationConditionsEvaluationResults; } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline bool HumanLoopActivationConditionsEvaluationResultsHasBeenSet() const { return m_humanLoopActivationConditionsEvaluationResultsHasBeenSet; } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline void SetHumanLoopActivationConditionsEvaluationResults(const Aws::String& value) { m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = true; m_humanLoopActivationConditionsEvaluationResults = value; } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline void SetHumanLoopActivationConditionsEvaluationResults(Aws::String&& value) { m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = true; m_humanLoopActivationConditionsEvaluationResults = std::move(value); } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline void SetHumanLoopActivationConditionsEvaluationResults(const char* value) { m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = true; m_humanLoopActivationConditionsEvaluationResults.assign(value); } /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline HumanLoopActivationOutput& WithHumanLoopActivationConditionsEvaluationResults(const Aws::String& value) { SetHumanLoopActivationConditionsEvaluationResults(value); return *this;} /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline HumanLoopActivationOutput& WithHumanLoopActivationConditionsEvaluationResults(Aws::String&& value) { SetHumanLoopActivationConditionsEvaluationResults(std::move(value)); return *this;} /** *

Shows the result of condition evaluations, including those conditions which * activated a human review.

*/ inline HumanLoopActivationOutput& WithHumanLoopActivationConditionsEvaluationResults(const char* value) { SetHumanLoopActivationConditionsEvaluationResults(value); return *this;} private: Aws::String m_humanLoopArn; bool m_humanLoopArnHasBeenSet = false; Aws::Vector m_humanLoopActivationReasons; bool m_humanLoopActivationReasonsHasBeenSet = false; Aws::String m_humanLoopActivationConditionsEvaluationResults; bool m_humanLoopActivationConditionsEvaluationResultsHasBeenSet = false; }; } // namespace Model } // namespace Textract } // namespace Aws