7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/AutonomousSystem.h>
10#include <aws/guardduty/model/NetworkConnection.h>
11#include <aws/guardduty/model/NetworkGeoLocation.h>
44 template <
typename IdT = Aws::String>
46 m_idHasBeenSet =
true;
47 m_id = std::forward<IdT>(value);
49 template <
typename IdT = Aws::String>
51 SetId(std::forward<IdT>(value));
62 template <
typename IpT = Aws::String>
64 m_ipHasBeenSet =
true;
65 m_ip = std::forward<IpT>(value);
67 template <
typename IpT = Aws::String>
69 SetIp(std::forward<IpT>(value));
80 template <
typename DomainT = Aws::String>
82 m_domainHasBeenSet =
true;
83 m_domain = std::forward<DomainT>(value);
85 template <
typename DomainT = Aws::String>
96 inline int GetPort()
const {
return m_port; }
99 m_portHasBeenSet =
true;
114 template <
typename LocationT = NetworkGeoLocation>
116 m_locationHasBeenSet =
true;
117 m_location = std::forward<LocationT>(value);
119 template <
typename LocationT = NetworkGeoLocation>
132 template <
typename AutonomousSystemT = AutonomousSystem>
134 m_autonomousSystemHasBeenSet =
true;
135 m_autonomousSystem = std::forward<AutonomousSystemT>(value);
137 template <
typename AutonomousSystemT = AutonomousSystem>
150 template <
typename ConnectionT = NetworkConnection>
152 m_connectionHasBeenSet =
true;
153 m_connection = std::forward<ConnectionT>(value);
155 template <
typename ConnectionT = NetworkConnection>
170 NetworkGeoLocation m_location;
172 AutonomousSystem m_autonomousSystem;
174 NetworkConnection m_connection;
175 bool m_idHasBeenSet =
false;
176 bool m_ipHasBeenSet =
false;
177 bool m_domainHasBeenSet =
false;
178 bool m_portHasBeenSet =
false;
179 bool m_locationHasBeenSet =
false;
180 bool m_autonomousSystemHasBeenSet =
false;
181 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