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

Defines under what conditions SageMaker creates a human loop. Used within CreateFlowDefinition. * See HumanLoopActivationConditionsConfig * for the required format of activation conditions.

See Also:

AWS * API Reference

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

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline const Aws::String& GetHumanLoopActivationConditions() const{ return m_humanLoopActivationConditions; } /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline bool HumanLoopActivationConditionsHasBeenSet() const { return m_humanLoopActivationConditionsHasBeenSet; } /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline void SetHumanLoopActivationConditions(const Aws::String& value) { m_humanLoopActivationConditionsHasBeenSet = true; m_humanLoopActivationConditions = value; } /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline void SetHumanLoopActivationConditions(Aws::String&& value) { m_humanLoopActivationConditionsHasBeenSet = true; m_humanLoopActivationConditions = std::move(value); } /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline void SetHumanLoopActivationConditions(const char* value) { m_humanLoopActivationConditionsHasBeenSet = true; m_humanLoopActivationConditions.assign(value); } /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline HumanLoopActivationConditionsConfig& WithHumanLoopActivationConditions(const Aws::String& value) { SetHumanLoopActivationConditions(value); return *this;} /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline HumanLoopActivationConditionsConfig& WithHumanLoopActivationConditions(Aws::String&& value) { SetHumanLoopActivationConditions(std::move(value)); return *this;} /** *

JSON expressing use-case specific conditions declaratively. If any condition * is matched, atomic tasks are created against the configured work team. The set * of conditions is different for Rekognition and Textract. For more information * about how to structure the JSON, see JSON * Schema for Human Loop Activation Conditions in Amazon Augmented AI in the * Amazon SageMaker Developer Guide.

*/ inline HumanLoopActivationConditionsConfig& WithHumanLoopActivationConditions(const char* value) { SetHumanLoopActivationConditions(value); return *this;} private: Aws::String m_humanLoopActivationConditions; bool m_humanLoopActivationConditionsHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws