7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
19namespace ApplicationDiscoveryService {
40 template <
typename SourceServerIdT = Aws::String>
42 m_sourceServerIdHasBeenSet =
true;
43 m_sourceServerId = std::forward<SourceServerIdT>(value);
45 template <
typename SourceServerIdT = Aws::String>
58 template <
typename DestinationServerIdT = Aws::String>
60 m_destinationServerIdHasBeenSet =
true;
61 m_destinationServerId = std::forward<DestinationServerIdT>(value);
63 template <
typename DestinationServerIdT = Aws::String>
77 m_destinationPortHasBeenSet =
true;
78 m_destinationPort = value;
92 template <
typename TransportProtocolT = Aws::String>
94 m_transportProtocolHasBeenSet =
true;
95 m_transportProtocol = std::forward<TransportProtocolT>(value);
97 template <
typename TransportProtocolT = Aws::String>
111 m_connectionsCountHasBeenSet =
true;
112 m_connectionsCount = value;
124 int m_destinationPort{0};
128 long long m_connectionsCount{0};
129 bool m_sourceServerIdHasBeenSet =
false;
130 bool m_destinationServerIdHasBeenSet =
false;
131 bool m_destinationPortHasBeenSet =
false;
132 bool m_transportProtocolHasBeenSet =
false;
133 bool m_connectionsCountHasBeenSet =
false;
bool ConnectionsCountHasBeenSet() const
long long GetConnectionsCount() const
NeighborConnectionDetail & WithTransportProtocol(TransportProtocolT &&value)
bool DestinationPortHasBeenSet() const
NeighborConnectionDetail & WithDestinationServerId(DestinationServerIdT &&value)
void SetConnectionsCount(long long value)
bool SourceServerIdHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
NeighborConnectionDetail & WithConnectionsCount(long long value)
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail()=default
const Aws::String & GetDestinationServerId() const
const Aws::String & GetTransportProtocol() const
NeighborConnectionDetail & WithSourceServerId(SourceServerIdT &&value)
bool TransportProtocolHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetSourceServerId() const
bool DestinationServerIdHasBeenSet() const
void SetDestinationPort(int value)
void SetTransportProtocol(TransportProtocolT &&value)
void SetSourceServerId(SourceServerIdT &&value)
int GetDestinationPort() const
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail(Aws::Utils::Json::JsonView jsonValue)
NeighborConnectionDetail & WithDestinationPort(int value)
void SetDestinationServerId(DestinationServerIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue