7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/NetworkGeoLocation.h>
10#include <aws/guardduty/model/AutonomousSystem.h>
11#include <aws/guardduty/model/NetworkConnection.h>
50 template<
typename IdT = Aws::String>
51 void SetId(IdT&& value) { m_idHasBeenSet =
true; m_id = std::forward<IdT>(value); }
52 template<
typename IdT = Aws::String>
62 template<
typename IpT = Aws::String>
63 void SetIp(IpT&& value) { m_ipHasBeenSet =
true; m_ip = std::forward<IpT>(value); }
64 template<
typename IpT = Aws::String>
74 template<
typename DomainT = Aws::String>
75 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
76 template<
typename DomainT = Aws::String>
84 inline int GetPort()
const {
return m_port; }
86 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
96 template<
typename LocationT = NetworkGeoLocation>
97 void SetLocation(LocationT&& value) { m_locationHasBeenSet =
true; m_location = std::forward<LocationT>(value); }
98 template<
typename LocationT = NetworkGeoLocation>
108 template<
typename AutonomousSystemT = AutonomousSystem>
109 void SetAutonomousSystem(AutonomousSystemT&& value) { m_autonomousSystemHasBeenSet =
true; m_autonomousSystem = std::forward<AutonomousSystemT>(value); }
110 template<
typename AutonomousSystemT = AutonomousSystem>
120 template<
typename ConnectionT = NetworkConnection>
121 void SetConnection(ConnectionT&& value) { m_connectionHasBeenSet =
true; m_connection = std::forward<ConnectionT>(value); }
122 template<
typename ConnectionT = NetworkConnection>
128 bool m_idHasBeenSet =
false;
131 bool m_ipHasBeenSet =
false;
134 bool m_domainHasBeenSet =
false;
137 bool m_portHasBeenSet =
false;
139 NetworkGeoLocation m_location;
140 bool m_locationHasBeenSet =
false;
142 AutonomousSystem m_autonomousSystem;
143 bool m_autonomousSystemHasBeenSet =
false;
145 NetworkConnection m_connection;
146 bool m_connectionHasBeenSet =
false;
NetworkEndpoint & WithAutonomousSystem(AutonomousSystemT &&value)
const Aws::String & GetDomain() const
NetworkEndpoint & WithId(IdT &&value)
const AutonomousSystem & GetAutonomousSystem() const
const NetworkConnection & GetConnection() const
const Aws::String & GetIp() const
bool PortHasBeenSet() const
bool DomainHasBeenSet() const
bool ConnectionHasBeenSet() const
void SetConnection(ConnectionT &&value)
void SetAutonomousSystem(AutonomousSystemT &&value)
AWS_GUARDDUTY_API NetworkEndpoint & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IdHasBeenSet() const
bool AutonomousSystemHasBeenSet() const
AWS_GUARDDUTY_API NetworkEndpoint()=default
void SetDomain(DomainT &&value)
NetworkEndpoint & WithIp(IpT &&value)
AWS_GUARDDUTY_API NetworkEndpoint(Aws::Utils::Json::JsonView jsonValue)
void SetLocation(LocationT &&value)
NetworkEndpoint & WithLocation(LocationT &&value)
bool IpHasBeenSet() const
bool LocationHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const NetworkGeoLocation & GetLocation() const
NetworkEndpoint & WithDomain(DomainT &&value)
NetworkEndpoint & WithPort(int value)
NetworkEndpoint & WithConnection(ConnectionT &&value)
const Aws::String & GetId() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue