7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/guardduty/GuardDuty_EXPORTS.h>
9#include <aws/guardduty/model/DnsContext.h>
10#include <aws/guardduty/model/Enrichment.h>
11#include <aws/guardduty/model/NetworkAnomaly.h>
12#include <aws/guardduty/model/NetworkCounts.h>
13#include <aws/guardduty/model/NetworkPorts.h>
14#include <aws/guardduty/model/NetworkTraffic.h>
46 template <
typename ProtocolT = Aws::String>
48 m_protocolHasBeenSet =
true;
49 m_protocol = std::forward<ProtocolT>(value);
51 template <
typename ProtocolT = Aws::String>
64 template <
typename DirectionT = Aws::String>
66 m_directionHasBeenSet =
true;
67 m_direction = std::forward<DirectionT>(value);
69 template <
typename DirectionT = Aws::String>
82 template <
typename MethodT = Aws::String>
84 m_methodHasBeenSet =
true;
85 m_method = std::forward<MethodT>(value);
87 template <
typename MethodT = Aws::String>
100 template <
typename BlockedT = Aws::String>
102 m_blockedHasBeenSet =
true;
103 m_blocked = std::forward<BlockedT>(value);
105 template <
typename BlockedT = Aws::String>
118 template <
typename PlatformT = Aws::String>
120 m_platformHasBeenSet =
true;
121 m_platform = std::forward<PlatformT>(value);
123 template <
typename PlatformT = Aws::String>
136 template <
typename PortsT = NetworkPorts>
138 m_portsHasBeenSet =
true;
139 m_ports = std::forward<PortsT>(value);
141 template <
typename PortsT = NetworkPorts>
143 SetPorts(std::forward<PortsT>(value));
154 template <
typename TrafficT = NetworkTraffic>
156 m_trafficHasBeenSet =
true;
157 m_traffic = std::forward<TrafficT>(value);
159 template <
typename TrafficT = NetworkTraffic>
172 template <
typename AnomalyT = NetworkAnomaly>
174 m_anomalyHasBeenSet =
true;
175 m_anomaly = std::forward<AnomalyT>(value);
177 template <
typename AnomalyT = NetworkAnomaly>
190 template <
typename DnsT = DnsContext>
192 m_dnsHasBeenSet =
true;
193 m_dns = std::forward<DnsT>(value);
195 template <
typename DnsT = DnsContext>
197 SetDns(std::forward<DnsT>(value));
209 template <
typename CountsT = NetworkCounts>
211 m_countsHasBeenSet =
true;
212 m_counts = std::forward<CountsT>(value);
214 template <
typename CountsT = NetworkCounts>
228 template <
typename EnrichmentT = Enrichment>
230 m_enrichmentHasBeenSet =
true;
231 m_enrichment = std::forward<EnrichmentT>(value);
233 template <
typename EnrichmentT = Enrichment>
261 bool m_protocolHasBeenSet =
false;
262 bool m_directionHasBeenSet =
false;
263 bool m_methodHasBeenSet =
false;
264 bool m_blockedHasBeenSet =
false;
265 bool m_platformHasBeenSet =
false;
266 bool m_portsHasBeenSet =
false;
267 bool m_trafficHasBeenSet =
false;
268 bool m_anomalyHasBeenSet =
false;
269 bool m_dnsHasBeenSet =
false;
270 bool m_countsHasBeenSet =
false;
271 bool m_enrichmentHasBeenSet =
false;
AWS_GUARDDUTY_API NetworkActivity & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MethodHasBeenSet() const
bool TrafficHasBeenSet() const
const Aws::String & GetMethod() const
const NetworkPorts & GetPorts() const
void SetAnomaly(AnomalyT &&value)
void SetEnrichment(EnrichmentT &&value)
NetworkActivity & WithAnomaly(AnomalyT &&value)
NetworkActivity & WithPorts(PortsT &&value)
const Aws::String & GetDirection() const
const NetworkAnomaly & GetAnomaly() const
bool CountsHasBeenSet() const
void SetTraffic(TrafficT &&value)
bool EnrichmentHasBeenSet() const
const NetworkCounts & GetCounts() const
AWS_GUARDDUTY_API NetworkActivity(Aws::Utils::Json::JsonView jsonValue)
const DnsContext & GetDns() const
NetworkActivity & WithDns(DnsT &&value)
bool DirectionHasBeenSet() const
bool PortsHasBeenSet() const
void SetPorts(PortsT &&value)
NetworkActivity & WithEnrichment(EnrichmentT &&value)
const Aws::String & GetBlocked() const
AWS_GUARDDUTY_API NetworkActivity()=default
NetworkActivity & WithCounts(CountsT &&value)
const Aws::String & GetPlatform() const
const NetworkTraffic & GetTraffic() const
bool DnsHasBeenSet() const
const Enrichment & GetEnrichment() const
bool AnomalyHasBeenSet() const
bool ProtocolHasBeenSet() const
NetworkActivity & WithBlocked(BlockedT &&value)
NetworkActivity & WithTraffic(TrafficT &&value)
NetworkActivity & WithMethod(MethodT &&value)
NetworkActivity & WithPlatform(PlatformT &&value)
const Aws::String & GetProtocol() const
void SetDns(DnsT &&value)
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkActivity & WithDirection(DirectionT &&value)
NetworkActivity & WithProtocol(ProtocolT &&value)
bool BlockedHasBeenSet() const
void SetBlocked(BlockedT &&value)
void SetCounts(CountsT &&value)
void SetPlatform(PlatformT &&value)
bool PlatformHasBeenSet() const
void SetDirection(DirectionT &&value)
void SetMethod(MethodT &&value)
void SetProtocol(ProtocolT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue