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

Contains summary information about the flow definition.

See * Also:

AWS * API Reference

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

The name of the flow definition.

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

The name of the flow definition.

*/ inline bool FlowDefinitionNameHasBeenSet() const { return m_flowDefinitionNameHasBeenSet; } /** *

The name of the flow definition.

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

The name of the flow definition.

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

The name of the flow definition.

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

The name of the flow definition.

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

The name of the flow definition.

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

The name of the flow definition.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

The status of the flow definition. Valid values:

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

The status of the flow definition. Valid values:

*/ inline bool FlowDefinitionStatusHasBeenSet() const { return m_flowDefinitionStatusHasBeenSet; } /** *

The status of the flow definition. Valid values:

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

The status of the flow definition. Valid values:

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

The status of the flow definition. Valid values:

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

The status of the flow definition. Valid values:

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

The timestamp when SageMaker created the flow definition.

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

The timestamp when SageMaker created the flow definition.

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

The timestamp when SageMaker created the flow definition.

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

The timestamp when SageMaker created the flow definition.

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

The timestamp when SageMaker created the flow definition.

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

The timestamp when SageMaker created the flow definition.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

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

The reason why the flow definition creation failed. A failure reason is * returned only when the flow definition status is Failed.

*/ inline FlowDefinitionSummary& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} private: Aws::String m_flowDefinitionName; bool m_flowDefinitionNameHasBeenSet = false; Aws::String m_flowDefinitionArn; bool m_flowDefinitionArnHasBeenSet = false; FlowDefinitionStatus m_flowDefinitionStatus; bool m_flowDefinitionStatusHasBeenSet = false; Aws::Utils::DateTime m_creationTime; bool m_creationTimeHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws