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

The connection between two service in an insight impact graph.

See * Also:

AWS * API Reference

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

Identifier of the edge. Unique within a service map.

*/ inline int GetReferenceId() const{ return m_referenceId; } /** *

Identifier of the edge. Unique within a service map.

*/ inline bool ReferenceIdHasBeenSet() const { return m_referenceIdHasBeenSet; } /** *

Identifier of the edge. Unique within a service map.

*/ inline void SetReferenceId(int value) { m_referenceIdHasBeenSet = true; m_referenceId = value; } /** *

Identifier of the edge. Unique within a service map.

*/ inline InsightImpactGraphEdge& WithReferenceId(int value) { SetReferenceId(value); return *this;} private: int m_referenceId; bool m_referenceIdHasBeenSet = false; }; } // namespace Model } // namespace XRay } // namespace Aws