/** * 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 Rekognition { namespace Model { /** *

Sets up the flow definition the image will be sent to if one of the * conditions is met. You can also set certain attributes of the image before * review.

See Also:

AWS * API Reference

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

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline const Aws::String& GetHumanLoopName() const{ return m_humanLoopName; } /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline bool HumanLoopNameHasBeenSet() const { return m_humanLoopNameHasBeenSet; } /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline void SetHumanLoopName(const Aws::String& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = value; } /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline void SetHumanLoopName(Aws::String&& value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName = std::move(value); } /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline void SetHumanLoopName(const char* value) { m_humanLoopNameHasBeenSet = true; m_humanLoopName.assign(value); } /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline HumanLoopConfig& WithHumanLoopName(const Aws::String& value) { SetHumanLoopName(value); return *this;} /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline HumanLoopConfig& WithHumanLoopName(Aws::String&& value) { SetHumanLoopName(std::move(value)); return *this;} /** *

The name of the human review used for this image. This should be kept unique * within a region.

*/ inline HumanLoopConfig& WithHumanLoopName(const char* value) { SetHumanLoopName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline const Aws::String& GetFlowDefinitionArn() const{ return m_flowDefinitionArn; } /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline bool FlowDefinitionArnHasBeenSet() const { return m_flowDefinitionArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline void SetFlowDefinitionArn(const Aws::String& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = value; } /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline void SetFlowDefinitionArn(Aws::String&& value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline void SetFlowDefinitionArn(const char* value) { m_flowDefinitionArnHasBeenSet = true; m_flowDefinitionArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline HumanLoopConfig& WithFlowDefinitionArn(const Aws::String& value) { SetFlowDefinitionArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline HumanLoopConfig& WithFlowDefinitionArn(Aws::String&& value) { SetFlowDefinitionArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition. You can create a flow * definition by using the Amazon Sagemaker CreateFlowDefinition * Operation.

*/ inline HumanLoopConfig& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;} /** *

Sets attributes of the input data.

*/ inline const HumanLoopDataAttributes& GetDataAttributes() const{ return m_dataAttributes; } /** *

Sets attributes of the input data.

*/ inline bool DataAttributesHasBeenSet() const { return m_dataAttributesHasBeenSet; } /** *

Sets attributes of the input data.

*/ inline void SetDataAttributes(const HumanLoopDataAttributes& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = value; } /** *

Sets attributes of the input data.

*/ inline void SetDataAttributes(HumanLoopDataAttributes&& value) { m_dataAttributesHasBeenSet = true; m_dataAttributes = std::move(value); } /** *

Sets attributes of the input data.

*/ inline HumanLoopConfig& WithDataAttributes(const HumanLoopDataAttributes& value) { SetDataAttributes(value); return *this;} /** *

Sets attributes of the input data.

*/ inline HumanLoopConfig& WithDataAttributes(HumanLoopDataAttributes&& value) { SetDataAttributes(std::move(value)); return *this;} private: Aws::String m_humanLoopName; bool m_humanLoopNameHasBeenSet = false; Aws::String m_flowDefinitionArn; bool m_flowDefinitionArnHasBeenSet = false; HumanLoopDataAttributes m_dataAttributes; bool m_dataAttributesHasBeenSet = false; }; } // namespace Model } // namespace Rekognition } // namespace Aws