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

A directed edge connecting two lineage entities.

See Also:

* AWS * API Reference

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

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline const Aws::String& GetSourceArn() const{ return m_sourceArn; } /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline bool SourceArnHasBeenSet() const { return m_sourceArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline void SetSourceArn(const Aws::String& value) { m_sourceArnHasBeenSet = true; m_sourceArn = value; } /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline void SetSourceArn(Aws::String&& value) { m_sourceArnHasBeenSet = true; m_sourceArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline void SetSourceArn(const char* value) { m_sourceArnHasBeenSet = true; m_sourceArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline Edge& WithSourceArn(const Aws::String& value) { SetSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline Edge& WithSourceArn(Aws::String&& value) { SetSourceArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the source lineage entity of the directed * edge.

*/ inline Edge& WithSourceArn(const char* value) { SetSourceArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline const Aws::String& GetDestinationArn() const{ return m_destinationArn; } /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline bool DestinationArnHasBeenSet() const { return m_destinationArnHasBeenSet; } /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline void SetDestinationArn(const Aws::String& value) { m_destinationArnHasBeenSet = true; m_destinationArn = value; } /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline void SetDestinationArn(Aws::String&& value) { m_destinationArnHasBeenSet = true; m_destinationArn = std::move(value); } /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline void SetDestinationArn(const char* value) { m_destinationArnHasBeenSet = true; m_destinationArn.assign(value); } /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline Edge& WithDestinationArn(const Aws::String& value) { SetDestinationArn(value); return *this;} /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline Edge& WithDestinationArn(Aws::String&& value) { SetDestinationArn(std::move(value)); return *this;} /** *

The Amazon Resource Name (ARN) of the destination lineage entity of the * directed edge.

*/ inline Edge& WithDestinationArn(const char* value) { SetDestinationArn(value); return *this;} /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline const AssociationEdgeType& GetAssociationType() const{ return m_associationType; } /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline bool AssociationTypeHasBeenSet() const { return m_associationTypeHasBeenSet; } /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline void SetAssociationType(const AssociationEdgeType& value) { m_associationTypeHasBeenSet = true; m_associationType = value; } /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline void SetAssociationType(AssociationEdgeType&& value) { m_associationTypeHasBeenSet = true; m_associationType = std::move(value); } /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline Edge& WithAssociationType(const AssociationEdgeType& value) { SetAssociationType(value); return *this;} /** *

The type of the Association(Edge) between the source and destination. For * example ContributedTo, Produced, or * DerivedFrom.

*/ inline Edge& WithAssociationType(AssociationEdgeType&& value) { SetAssociationType(std::move(value)); return *this;} private: Aws::String m_sourceArn; bool m_sourceArnHasBeenSet = false; Aws::String m_destinationArn; bool m_destinationArnHasBeenSet = false; AssociationEdgeType m_associationType; bool m_associationTypeHasBeenSet = false; }; } // namespace Model } // namespace SageMaker } // namespace Aws