7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/NetworkGeoLocation.h>
10#include <aws/securityhub/model/NetworkAutonomousSystem.h>
11#include <aws/securityhub/model/NetworkConnection.h>
58 template<
typename IdT = Aws::String>
59 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
60 template<
typename IdT = Aws::String>
70 template<
typename IpT = Aws::String>
71 void SetIp(IpT&& value) { m_ipHasBeenSet =
true; m_ip = std::forward<IpT>(value); }
72 template<
typename IpT = Aws::String>
82 template<
typename DomainT = Aws::String>
83 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
84 template<
typename DomainT = Aws::String>
92 inline int GetPort()
const {
return m_port; }
94 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
104 template<
typename LocationT = NetworkGeoLocation>
105 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
106 template<
typename LocationT = NetworkGeoLocation>
116 template<
typename AutonomousSystemT = NetworkAutonomousSystem>
117 void SetAutonomousSystem(AutonomousSystemT&& value) { m_autonomousSystemHasBeenSet =
true; m_autonomousSystem = std::forward<AutonomousSystemT>(value); }
118 template<
typename AutonomousSystemT = NetworkAutonomousSystem>
128 template<
typename ConnectionT = NetworkConnection>
129 void SetConnection(ConnectionT&& value) { m_connectionHasBeenSet =
true; m_connection = std::forward<ConnectionT>(value); }
130 template<
typename ConnectionT = NetworkConnection>
136 bool m_idHasBeenSet =
false;
139 bool m_ipHasBeenSet =
false;
142 bool m_domainHasBeenSet =
false;
145 bool m_portHasBeenSet =
false;
147 NetworkGeoLocation m_location;
148 bool m_locationHasBeenSet =
false;
150 NetworkAutonomousSystem m_autonomousSystem;
151 bool m_autonomousSystemHasBeenSet =
false;
153 NetworkConnection m_connection;
154 bool m_connectionHasBeenSet =
false;
bool IdHasBeenSet() const
bool ConnectionHasBeenSet() const
NetworkEndpoint & WithConnection(ConnectionT &&value)
const NetworkConnection & GetConnection() const
bool LocationHasBeenSet() const
bool DomainHasBeenSet() const
NetworkEndpoint & WithAutonomousSystem(AutonomousSystemT &&value)
const Aws::String & GetIp() const
bool IpHasBeenSet() const
AWS_SECURITYHUB_API NetworkEndpoint()=default
void SetDomain(DomainT &&value)
NetworkEndpoint & WithLocation(LocationT &&value)
NetworkEndpoint & WithPort(int value)
const NetworkAutonomousSystem & GetAutonomousSystem() const
NetworkEndpoint & WithDomain(DomainT &&value)
AWS_SECURITYHUB_API NetworkEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetConnection(ConnectionT &&value)
const Aws::String & GetDomain() const
void SetLocation(LocationT &&value)
NetworkEndpoint & WithIp(IpT &&value)
AWS_SECURITYHUB_API NetworkEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortHasBeenSet() const
NetworkEndpoint & WithId(IdT &&value)
const Aws::String & GetId() const
const NetworkGeoLocation & GetLocation() const
bool AutonomousSystemHasBeenSet() const
void SetAutonomousSystem(AutonomousSystemT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue