/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace SageMaker { namespace Model { class DescribeFlowDefinitionResult { public: AWS_SAGEMAKER_API DescribeFlowDefinitionResult(); AWS_SAGEMAKER_API DescribeFlowDefinitionResult(const Aws::AmazonWebServiceResult& result); AWS_SAGEMAKER_API DescribeFlowDefinitionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow defintion.

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

The Amazon Resource Name (ARN) of the flow definition.

*/ inline const Aws::String& GetFlowDefinitionName() const{ return m_flowDefinitionName; } /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline void SetFlowDefinitionName(const Aws::String& value) { m_flowDefinitionName = value; } /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline void SetFlowDefinitionName(Aws::String&& value) { m_flowDefinitionName = std::move(value); } /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline void SetFlowDefinitionName(const char* value) { m_flowDefinitionName.assign(value); } /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline DescribeFlowDefinitionResult& WithFlowDefinitionName(const Aws::String& value) { SetFlowDefinitionName(value); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline DescribeFlowDefinitionResult& WithFlowDefinitionName(Aws::String&& value) { SetFlowDefinitionName(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the flow definition.

*/ inline DescribeFlowDefinitionResult& WithFlowDefinitionName(const char* value) { SetFlowDefinitionName(value); return *this;} /** *

The status of the flow definition. Valid values are listed below.

*/ inline const FlowDefinitionStatus& GetFlowDefinitionStatus() const{ return m_flowDefinitionStatus; } /** *

The status of the flow definition. Valid values are listed below.

*/ inline void SetFlowDefinitionStatus(const FlowDefinitionStatus& value) { m_flowDefinitionStatus = value; } /** *

The status of the flow definition. Valid values are listed below.

*/ inline void SetFlowDefinitionStatus(FlowDefinitionStatus&& value) { m_flowDefinitionStatus = std::move(value); } /** *

The status of the flow definition. Valid values are listed below.

*/ inline DescribeFlowDefinitionResult& WithFlowDefinitionStatus(const FlowDefinitionStatus& value) { SetFlowDefinitionStatus(value); return *this;} /** *

The status of the flow definition. Valid values are listed below.

*/ inline DescribeFlowDefinitionResult& WithFlowDefinitionStatus(FlowDefinitionStatus&& value) { SetFlowDefinitionStatus(std::move(value)); return *this;} /** *

The timestamp when the flow definition was created.

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

The timestamp when the flow definition was created.

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

The timestamp when the flow definition was created.

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

The timestamp when the flow definition was created.

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

The timestamp when the flow definition was created.

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

Container for configuring the source of human task requests. Used to specify * if Amazon Rekognition or Amazon Textract is used as an integration source.

*/ inline const HumanLoopRequestSource& GetHumanLoopRequestSource() const{ return m_humanLoopRequestSource; } /** *

Container for configuring the source of human task requests. Used to specify * if Amazon Rekognition or Amazon Textract is used as an integration source.

*/ inline void SetHumanLoopRequestSource(const HumanLoopRequestSource& value) { m_humanLoopRequestSource = value; } /** *

Container for configuring the source of human task requests. Used to specify * if Amazon Rekognition or Amazon Textract is used as an integration source.

*/ inline void SetHumanLoopRequestSource(HumanLoopRequestSource&& value) { m_humanLoopRequestSource = std::move(value); } /** *

Container for configuring the source of human task requests. Used to specify * if Amazon Rekognition or Amazon Textract is used as an integration source.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopRequestSource(const HumanLoopRequestSource& value) { SetHumanLoopRequestSource(value); return *this;} /** *

Container for configuring the source of human task requests. Used to specify * if Amazon Rekognition or Amazon Textract is used as an integration source.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopRequestSource(HumanLoopRequestSource&& value) { SetHumanLoopRequestSource(std::move(value)); return *this;} /** *

An object containing information about what triggers a human review * workflow.

*/ inline const HumanLoopActivationConfig& GetHumanLoopActivationConfig() const{ return m_humanLoopActivationConfig; } /** *

An object containing information about what triggers a human review * workflow.

*/ inline void SetHumanLoopActivationConfig(const HumanLoopActivationConfig& value) { m_humanLoopActivationConfig = value; } /** *

An object containing information about what triggers a human review * workflow.

*/ inline void SetHumanLoopActivationConfig(HumanLoopActivationConfig&& value) { m_humanLoopActivationConfig = std::move(value); } /** *

An object containing information about what triggers a human review * workflow.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopActivationConfig(const HumanLoopActivationConfig& value) { SetHumanLoopActivationConfig(value); return *this;} /** *

An object containing information about what triggers a human review * workflow.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopActivationConfig(HumanLoopActivationConfig&& value) { SetHumanLoopActivationConfig(std::move(value)); return *this;} /** *

An object containing information about who works on the task, the workforce * task price, and other task details.

*/ inline const HumanLoopConfig& GetHumanLoopConfig() const{ return m_humanLoopConfig; } /** *

An object containing information about who works on the task, the workforce * task price, and other task details.

*/ inline void SetHumanLoopConfig(const HumanLoopConfig& value) { m_humanLoopConfig = value; } /** *

An object containing information about who works on the task, the workforce * task price, and other task details.

*/ inline void SetHumanLoopConfig(HumanLoopConfig&& value) { m_humanLoopConfig = std::move(value); } /** *

An object containing information about who works on the task, the workforce * task price, and other task details.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopConfig(const HumanLoopConfig& value) { SetHumanLoopConfig(value); return *this;} /** *

An object containing information about who works on the task, the workforce * task price, and other task details.

*/ inline DescribeFlowDefinitionResult& WithHumanLoopConfig(HumanLoopConfig&& value) { SetHumanLoopConfig(std::move(value)); return *this;} /** *

An object containing information about the output file.

*/ inline const FlowDefinitionOutputConfig& GetOutputConfig() const{ return m_outputConfig; } /** *

An object containing information about the output file.

*/ inline void SetOutputConfig(const FlowDefinitionOutputConfig& value) { m_outputConfig = value; } /** *

An object containing information about the output file.

*/ inline void SetOutputConfig(FlowDefinitionOutputConfig&& value) { m_outputConfig = std::move(value); } /** *

An object containing information about the output file.

*/ inline DescribeFlowDefinitionResult& WithOutputConfig(const FlowDefinitionOutputConfig& value) { SetOutputConfig(value); return *this;} /** *

An object containing information about the output file.

*/ inline DescribeFlowDefinitionResult& WithOutputConfig(FlowDefinitionOutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline const Aws::String& GetRoleArn() const{ return m_roleArn; } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline void SetRoleArn(const Aws::String& value) { m_roleArn = value; } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline void SetRoleArn(Aws::String&& value) { m_roleArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline void SetRoleArn(const char* value) { m_roleArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline DescribeFlowDefinitionResult& WithRoleArn(const Aws::String& value) { SetRoleArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline DescribeFlowDefinitionResult& WithRoleArn(Aws::String&& value) { SetRoleArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access * Management (IAM) execution role for the flow definition.

*/ inline DescribeFlowDefinitionResult& WithRoleArn(const char* value) { SetRoleArn(value); return *this;} /** *

The reason your flow definition failed.

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

The reason your flow definition failed.

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

The reason your flow definition failed.

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

The reason your flow definition failed.

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

The reason your flow definition failed.

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

The reason your flow definition failed.

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

The reason your flow definition failed.

*/ inline DescribeFlowDefinitionResult& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline DescribeFlowDefinitionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline DescribeFlowDefinitionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline DescribeFlowDefinitionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_flowDefinitionArn; Aws::String m_flowDefinitionName; FlowDefinitionStatus m_flowDefinitionStatus; Aws::Utils::DateTime m_creationTime; HumanLoopRequestSource m_humanLoopRequestSource; HumanLoopActivationConfig m_humanLoopActivationConfig; HumanLoopConfig m_humanLoopConfig; FlowDefinitionOutputConfig m_outputConfig; Aws::String m_roleArn; Aws::String m_failureReason; Aws::String m_requestId; }; } // namespace Model } // namespace SageMaker } // namespace Aws