7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/NetworkAutonomousSystem.h>
10#include <aws/securityhub/model/NetworkConnection.h>
11#include <aws/securityhub/model/NetworkGeoLocation.h>
52 template <
typename IdT = Aws::String>
54 m_idHasBeenSet =
true;
55 m_id = std::forward<IdT>(value);
57 template <
typename IdT = Aws::String>
59 SetId(std::forward<IdT>(value));
70 template <
typename IpT = Aws::String>
72 m_ipHasBeenSet =
true;
73 m_ip = std::forward<IpT>(value);
75 template <
typename IpT = Aws::String>
77 SetIp(std::forward<IpT>(value));
88 template <
typename DomainT = Aws::String>
90 m_domainHasBeenSet =
true;
91 m_domain = std::forward<DomainT>(value);
93 template <
typename DomainT = Aws::String>
107 m_portHasBeenSet =
true;
122 template <
typename LocationT = NetworkGeoLocation>
124 m_locationHasBeenSet =
true;
125 m_location = std::forward<LocationT>(value);
127 template <
typename LocationT = NetworkGeoLocation>
140 template <
typename AutonomousSystemT = NetworkAutonomousSystem>
142 m_autonomousSystemHasBeenSet =
true;
143 m_autonomousSystem = std::forward<AutonomousSystemT>(value);
145 template <
typename AutonomousSystemT = NetworkAutonomousSystem>
158 template <
typename ConnectionT = NetworkConnection>
160 m_connectionHasBeenSet =
true;
161 m_connection = std::forward<ConnectionT>(value);
163 template <
typename ConnectionT = NetworkConnection>
178 NetworkGeoLocation m_location;
180 NetworkAutonomousSystem m_autonomousSystem;
182 NetworkConnection m_connection;
183 bool m_idHasBeenSet =
false;
184 bool m_ipHasBeenSet =
false;
185 bool m_domainHasBeenSet =
false;
186 bool m_portHasBeenSet =
false;
187 bool m_locationHasBeenSet =
false;
188 bool m_autonomousSystemHasBeenSet =
false;
189 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