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

Summary information about the human loop.

See Also:

AWS * API Reference

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The name of the human loop.

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

The status of the human loop.

*/ inline const HumanLoopStatus& GetHumanLoopStatus() const{ return m_humanLoopStatus; } /** *

The status of the human loop.

*/ inline bool HumanLoopStatusHasBeenSet() const { return m_humanLoopStatusHasBeenSet; } /** *

The status of the human loop.

*/ inline void SetHumanLoopStatus(const HumanLoopStatus& value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = value; } /** *

The status of the human loop.

*/ inline void SetHumanLoopStatus(HumanLoopStatus&& value) { m_humanLoopStatusHasBeenSet = true; m_humanLoopStatus = std::move(value); } /** *

The status of the human loop.

*/ inline HumanLoopSummary& WithHumanLoopStatus(const HumanLoopStatus& value) { SetHumanLoopStatus(value); return *this;} /** *

The status of the human loop.

*/ inline HumanLoopSummary& WithHumanLoopStatus(HumanLoopStatus&& value) { SetHumanLoopStatus(std::move(value)); return *this;} /** *

When Amazon Augmented AI created the human loop.

*/ inline const Aws::Utils::DateTime& GetCreationTime() const{ return m_creationTime; } /** *

When Amazon Augmented AI created the human loop.

*/ inline bool CreationTimeHasBeenSet() const { return m_creationTimeHasBeenSet; } /** *

When Amazon Augmented AI created the human loop.

*/ inline void SetCreationTime(const Aws::Utils::DateTime& value) { m_creationTimeHasBeenSet = true; m_creationTime = value; } /** *

When Amazon Augmented AI created the human loop.

*/ inline void SetCreationTime(Aws::Utils::DateTime&& value) { m_creationTimeHasBeenSet = true; m_creationTime = std::move(value); } /** *

When Amazon Augmented AI created the human loop.

*/ inline HumanLoopSummary& WithCreationTime(const Aws::Utils::DateTime& value) { SetCreationTime(value); return *this;} /** *

When Amazon Augmented AI created the human loop.

*/ inline HumanLoopSummary& WithCreationTime(Aws::Utils::DateTime&& value) { SetCreationTime(std::move(value)); return *this;} /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline HumanLoopSummary& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline HumanLoopSummary& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The reason why the human loop failed. A failure reason is returned when the * status of the human loop is Failed.

*/ inline HumanLoopSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

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

The Amazon Resource Name (ARN) of the flow definition used to configure the * human loop.

*/ inline HumanLoopSummary& WithFlowDefinitionArn(const char* value) { SetFlowDefinitionArn(value); return *this;} private: Aws::String m_humanLoopName; bool m_humanLoopNameHasBeenSet = false; HumanLoopStatus m_humanLoopStatus; bool m_humanLoopStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_flowDefinitionArn; bool m_flowDefinitionArnHasBeenSet = false; }; } // namespace Model } // namespace AugmentedAIRuntime } // namespace Aws