7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/securityhub/SecurityHub_EXPORTS.h>
9#include <aws/securityhub/model/NetworkDirection.h>
10#include <aws/securityhub/model/PortRange.h>
44 m_directionHasBeenSet =
true;
60 template <
typename ProtocolT = Aws::String>
62 m_protocolHasBeenSet =
true;
63 m_protocol = std::forward<ProtocolT>(value);
65 template <
typename ProtocolT = Aws::String>
78 template <
typename OpenPortRangeT = PortRange>
80 m_openPortRangeHasBeenSet =
true;
81 m_openPortRange = std::forward<OpenPortRangeT>(value);
83 template <
typename OpenPortRangeT = PortRange>
96 template <
typename SourceIpV4T = Aws::String>
98 m_sourceIpV4HasBeenSet =
true;
99 m_sourceIpV4 = std::forward<SourceIpV4T>(value);
101 template <
typename SourceIpV4T = Aws::String>
114 template <
typename SourceIpV6T = Aws::String>
116 m_sourceIpV6HasBeenSet =
true;
117 m_sourceIpV6 = std::forward<SourceIpV6T>(value);
119 template <
typename SourceIpV6T = Aws::String>
133 m_sourcePortHasBeenSet =
true;
134 m_sourcePort = value;
149 template <
typename SourceDomainT = Aws::String>
151 m_sourceDomainHasBeenSet =
true;
152 m_sourceDomain = std::forward<SourceDomainT>(value);
154 template <
typename SourceDomainT = Aws::String>
168 template <
typename SourceMacT = Aws::String>
170 m_sourceMacHasBeenSet =
true;
171 m_sourceMac = std::forward<SourceMacT>(value);
173 template <
typename SourceMacT = Aws::String>
187 template <
typename DestinationIpV4T = Aws::String>
189 m_destinationIpV4HasBeenSet =
true;
190 m_destinationIpV4 = std::forward<DestinationIpV4T>(value);
192 template <
typename DestinationIpV4T = Aws::String>
206 template <
typename DestinationIpV6T = Aws::String>
208 m_destinationIpV6HasBeenSet =
true;
209 m_destinationIpV6 = std::forward<DestinationIpV6T>(value);
211 template <
typename DestinationIpV6T = Aws::String>
225 m_destinationPortHasBeenSet =
true;
226 m_destinationPort = value;
241 template <
typename DestinationDomainT = Aws::String>
243 m_destinationDomainHasBeenSet =
true;
244 m_destinationDomain = std::forward<DestinationDomainT>(value);
246 template <
typename DestinationDomainT = Aws::String>
257 PortRange m_openPortRange;
273 int m_destinationPort{0};
276 bool m_directionHasBeenSet =
false;
277 bool m_protocolHasBeenSet =
false;
278 bool m_openPortRangeHasBeenSet =
false;
279 bool m_sourceIpV4HasBeenSet =
false;
280 bool m_sourceIpV6HasBeenSet =
false;
281 bool m_sourcePortHasBeenSet =
false;
282 bool m_sourceDomainHasBeenSet =
false;
283 bool m_sourceMacHasBeenSet =
false;
284 bool m_destinationIpV4HasBeenSet =
false;
285 bool m_destinationIpV6HasBeenSet =
false;
286 bool m_destinationPortHasBeenSet =
false;
287 bool m_destinationDomainHasBeenSet =
false;
const Aws::String & GetDestinationIpV6() const
const Aws::String & GetDestinationDomain() const
void SetSourceIpV4(SourceIpV4T &&value)
void SetSourceIpV6(SourceIpV6T &&value)
int GetSourcePort() const
bool SourceDomainHasBeenSet() const
Network & WithProtocol(ProtocolT &&value)
bool DirectionHasBeenSet() const
Network & WithDestinationPort(int value)
void SetDestinationIpV4(DestinationIpV4T &&value)
int GetDestinationPort() const
void SetSourceDomain(SourceDomainT &&value)
bool ProtocolHasBeenSet() const
Network & WithSourceDomain(SourceDomainT &&value)
const Aws::String & GetSourceMac() const
Network & WithSourceIpV4(SourceIpV4T &&value)
const Aws::String & GetDestinationIpV4() const
void SetProtocol(ProtocolT &&value)
Network & WithDestinationIpV4(DestinationIpV4T &&value)
void SetDestinationIpV6(DestinationIpV6T &&value)
Network & WithOpenPortRange(OpenPortRangeT &&value)
NetworkDirection GetDirection() const
AWS_SECURITYHUB_API Network()=default
const Aws::String & GetSourceIpV4() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool SourceMacHasBeenSet() const
bool DestinationDomainHasBeenSet() const
void SetOpenPortRange(OpenPortRangeT &&value)
bool DestinationIpV6HasBeenSet() const
void SetSourceMac(SourceMacT &&value)
void SetDestinationDomain(DestinationDomainT &&value)
AWS_SECURITYHUB_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
Network & WithSourceIpV6(SourceIpV6T &&value)
bool DestinationPortHasBeenSet() const
bool SourcePortHasBeenSet() const
void SetDirection(NetworkDirection value)
const Aws::String & GetSourceDomain() const
bool SourceIpV6HasBeenSet() const
const PortRange & GetOpenPortRange() const
void SetDestinationPort(int value)
Network & WithDestinationIpV6(DestinationIpV6T &&value)
bool OpenPortRangeHasBeenSet() const
const Aws::String & GetProtocol() const
Network & WithDestinationDomain(DestinationDomainT &&value)
Network & WithSourcePort(int value)
const Aws::String & GetSourceIpV6() const
Network & WithSourceMac(SourceMacT &&value)
bool DestinationIpV4HasBeenSet() const
AWS_SECURITYHUB_API Network(Aws::Utils::Json::JsonView jsonValue)
bool SourceIpV4HasBeenSet() const
void SetSourcePort(int value)
Network & WithDirection(NetworkDirection value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue