7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ApplicationDiscoveryService
46 template<
typename SourceServerIdT = Aws::String>
47 void SetSourceServerId(SourceServerIdT&& value) { m_sourceServerIdHasBeenSet =
true; m_sourceServerId = std::forward<SourceServerIdT>(value); }
48 template<
typename SourceServerIdT = Aws::String>
58 template<
typename DestinationServerIdT = Aws::String>
59 void SetDestinationServerId(DestinationServerIdT&& value) { m_destinationServerIdHasBeenSet =
true; m_destinationServerId = std::forward<DestinationServerIdT>(value); }
60 template<
typename DestinationServerIdT = Aws::String>
70 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
80 template<
typename TransportProtocolT = Aws::String>
81 void SetTransportProtocol(TransportProtocolT&& value) { m_transportProtocolHasBeenSet =
true; m_transportProtocol = std::forward<TransportProtocolT>(value); }
82 template<
typename TransportProtocolT = Aws::String>
92 inline void SetConnectionsCount(
long long value) { m_connectionsCountHasBeenSet =
true; m_connectionsCount = value; }
98 bool m_sourceServerIdHasBeenSet =
false;
101 bool m_destinationServerIdHasBeenSet =
false;
103 int m_destinationPort{0};
104 bool m_destinationPortHasBeenSet =
false;
107 bool m_transportProtocolHasBeenSet =
false;
109 long long m_connectionsCount{0};
110 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