/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include Summary information about the human loop.See Also:
AWS
* API Reference
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
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
The reason why the human loop failed. A failure reason is returned when the
* status of the human loop is Failed
.
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