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

An edge represents a directed connection between two Glue components that are * part of the workflow the edge belongs to.

See Also:

AWS API * Reference

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

The unique of the node within the workflow where the edge starts.

*/ inline const Aws::String& GetSourceId() const{ return m_sourceId; } /** *

The unique of the node within the workflow where the edge starts.

*/ inline bool SourceIdHasBeenSet() const { return m_sourceIdHasBeenSet; } /** *

The unique of the node within the workflow where the edge starts.

*/ inline void SetSourceId(const Aws::String& value) { m_sourceIdHasBeenSet = true; m_sourceId = value; } /** *

The unique of the node within the workflow where the edge starts.

*/ inline void SetSourceId(Aws::String&& value) { m_sourceIdHasBeenSet = true; m_sourceId = std::move(value); } /** *

The unique of the node within the workflow where the edge starts.

*/ inline void SetSourceId(const char* value) { m_sourceIdHasBeenSet = true; m_sourceId.assign(value); } /** *

The unique of the node within the workflow where the edge starts.

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

The unique of the node within the workflow where the edge starts.

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

The unique of the node within the workflow where the edge starts.

*/ inline Edge& WithSourceId(const char* value) { SetSourceId(value); return *this;} /** *

The unique of the node within the workflow where the edge ends.

*/ inline const Aws::String& GetDestinationId() const{ return m_destinationId; } /** *

The unique of the node within the workflow where the edge ends.

*/ inline bool DestinationIdHasBeenSet() const { return m_destinationIdHasBeenSet; } /** *

The unique of the node within the workflow where the edge ends.

*/ inline void SetDestinationId(const Aws::String& value) { m_destinationIdHasBeenSet = true; m_destinationId = value; } /** *

The unique of the node within the workflow where the edge ends.

*/ inline void SetDestinationId(Aws::String&& value) { m_destinationIdHasBeenSet = true; m_destinationId = std::move(value); } /** *

The unique of the node within the workflow where the edge ends.

*/ inline void SetDestinationId(const char* value) { m_destinationIdHasBeenSet = true; m_destinationId.assign(value); } /** *

The unique of the node within the workflow where the edge ends.

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

The unique of the node within the workflow where the edge ends.

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

The unique of the node within the workflow where the edge ends.

*/ inline Edge& WithDestinationId(const char* value) { SetDestinationId(value); return *this;} private: Aws::String m_sourceId; bool m_sourceIdHasBeenSet = false; Aws::String m_destinationId; bool m_destinationIdHasBeenSet = false; }; } // namespace Model } // namespace Glue } // namespace Aws