7#include <aws/discovery/ApplicationDiscoveryService_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
21namespace ApplicationDiscoveryService
48 inline void SetSourceServerId(
const char* value) { m_sourceServerIdHasBeenSet =
true; m_sourceServerId.assign(value); }
62 inline void SetDestinationServerId(
const char* value) { m_destinationServerIdHasBeenSet =
true; m_destinationServerId.assign(value); }
74 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
86 inline void SetTransportProtocol(
const char* value) { m_transportProtocolHasBeenSet =
true; m_transportProtocol.assign(value); }
98 inline void SetConnectionsCount(
long long value) { m_connectionsCountHasBeenSet =
true; m_connectionsCount = value; }
104 bool m_sourceServerIdHasBeenSet =
false;
107 bool m_destinationServerIdHasBeenSet =
false;
109 int m_destinationPort;
110 bool m_destinationPortHasBeenSet =
false;
113 bool m_transportProtocolHasBeenSet =
false;
115 long long m_connectionsCount;
116 bool m_connectionsCountHasBeenSet =
false;
bool ConnectionsCountHasBeenSet() const
long long GetConnectionsCount() const
NeighborConnectionDetail & WithDestinationServerId(const char *value)
void SetSourceServerId(const Aws::String &value)
bool DestinationPortHasBeenSet() const
void SetConnectionsCount(long long value)
void SetDestinationServerId(const Aws::String &value)
NeighborConnectionDetail & WithDestinationServerId(const Aws::String &value)
void SetTransportProtocol(Aws::String &&value)
void SetDestinationServerId(Aws::String &&value)
void SetSourceServerId(const char *value)
bool SourceServerIdHasBeenSet() const
AWS_APPLICATIONDISCOVERYSERVICE_API Aws::Utils::Json::JsonValue Jsonize() const
void SetTransportProtocol(const Aws::String &value)
NeighborConnectionDetail & WithConnectionsCount(long long value)
const Aws::String & GetDestinationServerId() const
NeighborConnectionDetail & WithDestinationServerId(Aws::String &&value)
const Aws::String & GetTransportProtocol() const
bool TransportProtocolHasBeenSet() const
NeighborConnectionDetail & WithTransportProtocol(const Aws::String &value)
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
NeighborConnectionDetail & WithTransportProtocol(Aws::String &&value)
const Aws::String & GetSourceServerId() const
NeighborConnectionDetail & WithSourceServerId(Aws::String &&value)
void SetTransportProtocol(const char *value)
bool DestinationServerIdHasBeenSet() const
void SetDestinationPort(int value)
NeighborConnectionDetail & WithSourceServerId(const Aws::String &value)
NeighborConnectionDetail & WithTransportProtocol(const char *value)
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail()
int GetDestinationPort() const
AWS_APPLICATIONDISCOVERYSERVICE_API NeighborConnectionDetail(Aws::Utils::Json::JsonView jsonValue)
void SetSourceServerId(Aws::String &&value)
NeighborConnectionDetail & WithSourceServerId(const char *value)
NeighborConnectionDetail & WithDestinationPort(int value)
void SetDestinationServerId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue