7#include <aws/application-signals/ApplicationSignals_EXPORTS.h>
8#include <aws/application-signals/model/ConnectionType.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
20namespace ApplicationSignals {
32 AWS_APPLICATIONSIGNALS_API
Edge() =
default;
43 template <
typename SourceNodeIdT = Aws::String>
45 m_sourceNodeIdHasBeenSet =
true;
46 m_sourceNodeId = std::forward<SourceNodeIdT>(value);
48 template <
typename SourceNodeIdT = Aws::String>
61 template <
typename DestinationNodeIdT = Aws::String>
63 m_destinationNodeIdHasBeenSet =
true;
64 m_destinationNodeId = std::forward<DestinationNodeIdT>(value);
66 template <
typename DestinationNodeIdT = Aws::String>
80 m_durationHasBeenSet =
true;
97 m_connectionTypeHasBeenSet =
true;
98 m_connectionType = value;
110 double m_duration{0.0};
113 bool m_sourceNodeIdHasBeenSet =
false;
114 bool m_destinationNodeIdHasBeenSet =
false;
115 bool m_durationHasBeenSet =
false;
116 bool m_connectionTypeHasBeenSet =
false;
void SetConnectionType(ConnectionType value)
bool DurationHasBeenSet() const
const Aws::String & GetDestinationNodeId() const
ConnectionType GetConnectionType() const
void SetSourceNodeId(SourceNodeIdT &&value)
Edge & WithSourceNodeId(SourceNodeIdT &&value)
AWS_APPLICATIONSIGNALS_API Aws::Utils::Json::JsonValue Jsonize() const
double GetDuration() const
AWS_APPLICATIONSIGNALS_API Edge()=default
const Aws::String & GetSourceNodeId() const
void SetDuration(double value)
AWS_APPLICATIONSIGNALS_API Edge(Aws::Utils::Json::JsonView jsonValue)
Edge & WithConnectionType(ConnectionType value)
AWS_APPLICATIONSIGNALS_API Edge & operator=(Aws::Utils::Json::JsonView jsonValue)
bool ConnectionTypeHasBeenSet() const
Edge & WithDuration(double value)
bool DestinationNodeIdHasBeenSet() const
void SetDestinationNodeId(DestinationNodeIdT &&value)
Edge & WithDestinationNodeId(DestinationNodeIdT &&value)
bool SourceNodeIdHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue