7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/NetworkDirection.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/securityhub/model/PortRange.h>
64 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
90 inline void SetSourceIpV4(
const char* value) { m_sourceIpV4HasBeenSet =
true; m_sourceIpV4.assign(value); }
104 inline void SetSourceIpV6(
const char* value) { m_sourceIpV6HasBeenSet =
true; m_sourceIpV6.assign(value); }
116 inline void SetSourcePort(
int value) { m_sourcePortHasBeenSet =
true; m_sourcePort = value; }
129 inline void SetSourceDomain(
const char* value) { m_sourceDomainHasBeenSet =
true; m_sourceDomain.assign(value); }
144 inline void SetSourceMac(
const char* value) { m_sourceMacHasBeenSet =
true; m_sourceMac.assign(value); }
159 inline void SetDestinationIpV4(
const char* value) { m_destinationIpV4HasBeenSet =
true; m_destinationIpV4.assign(value); }
174 inline void SetDestinationIpV6(
const char* value) { m_destinationIpV6HasBeenSet =
true; m_destinationIpV6.assign(value); }
186 inline void SetDestinationPort(
int value) { m_destinationPortHasBeenSet =
true; m_destinationPort = value; }
199 inline void SetDestinationDomain(
const char* value) { m_destinationDomainHasBeenSet =
true; m_destinationDomain.assign(value); }
207 bool m_directionHasBeenSet =
false;
210 bool m_protocolHasBeenSet =
false;
213 bool m_openPortRangeHasBeenSet =
false;
216 bool m_sourceIpV4HasBeenSet =
false;
219 bool m_sourceIpV6HasBeenSet =
false;
222 bool m_sourcePortHasBeenSet =
false;
225 bool m_sourceDomainHasBeenSet =
false;
228 bool m_sourceMacHasBeenSet =
false;
231 bool m_destinationIpV4HasBeenSet =
false;
234 bool m_destinationIpV6HasBeenSet =
false;
236 int m_destinationPort;
237 bool m_destinationPortHasBeenSet =
false;
240 bool m_destinationDomainHasBeenSet =
false;
void SetDestinationDomain(Aws::String &&value)
void SetSourceIpV6(Aws::String &&value)
const Aws::String & GetDestinationIpV6() const
void SetSourceIpV6(const Aws::String &value)
const Aws::String & GetDestinationDomain() const
Network & WithSourceMac(Aws::String &&value)
void SetSourceMac(const Aws::String &value)
Network & WithProtocol(const char *value)
void SetSourceDomain(Aws::String &&value)
int GetSourcePort() const
bool SourceDomainHasBeenSet() const
void SetSourceMac(const char *value)
Network & WithDestinationIpV4(const Aws::String &value)
bool DirectionHasBeenSet() const
Network & WithDestinationPort(int value)
Network & WithSourceMac(const Aws::String &value)
void SetDestinationIpV4(const char *value)
Network & WithProtocol(Aws::String &&value)
int GetDestinationPort() const
void SetDestinationIpV6(const Aws::String &value)
void SetDestinationIpV4(Aws::String &&value)
bool ProtocolHasBeenSet() const
void SetDestinationIpV6(const char *value)
const NetworkDirection & GetDirection() const
void SetDestinationIpV4(const Aws::String &value)
void SetDestinationDomain(const char *value)
void SetSourceDomain(const char *value)
const Aws::String & GetSourceMac() const
Network & WithDestinationIpV4(const char *value)
Network & WithSourceMac(const char *value)
Network & WithOpenPortRange(const PortRange &value)
Network & WithSourceDomain(const char *value)
void SetDirection(NetworkDirection &&value)
const Aws::String & GetDestinationIpV4() const
void SetSourceIpV4(const char *value)
void SetSourceIpV4(const Aws::String &value)
Network & WithDirection(const NetworkDirection &value)
void SetSourceDomain(const Aws::String &value)
void SetOpenPortRange(PortRange &&value)
Network & WithDestinationIpV6(const Aws::String &value)
const Aws::String & GetSourceIpV4() const
void SetDestinationDomain(const Aws::String &value)
void SetProtocol(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Network & WithDestinationIpV4(Aws::String &&value)
bool SourceMacHasBeenSet() const
bool DestinationDomainHasBeenSet() const
Network & WithSourceIpV4(Aws::String &&value)
void SetSourceIpV6(const char *value)
Network & WithSourceIpV6(const char *value)
void SetOpenPortRange(const PortRange &value)
void SetProtocol(const Aws::String &value)
bool DestinationIpV6HasBeenSet() const
void SetDirection(const NetworkDirection &value)
AWS_SECURITYHUB_API Network & operator=(Aws::Utils::Json::JsonView jsonValue)
Network & WithSourceIpV4(const Aws::String &value)
bool DestinationPortHasBeenSet() const
bool SourcePortHasBeenSet() const
Network & WithSourceIpV4(const char *value)
Network & WithDestinationIpV6(const char *value)
Network & WithProtocol(const Aws::String &value)
const Aws::String & GetSourceDomain() const
bool SourceIpV6HasBeenSet() const
Network & WithDestinationDomain(const Aws::String &value)
const PortRange & GetOpenPortRange() const
void SetDestinationPort(int value)
Network & WithDestinationIpV6(Aws::String &&value)
Network & WithDestinationDomain(const char *value)
bool OpenPortRangeHasBeenSet() const
const Aws::String & GetProtocol() const
Network & WithOpenPortRange(PortRange &&value)
Network & WithSourceIpV6(const Aws::String &value)
Network & WithSourcePort(int value)
void SetDestinationIpV6(Aws::String &&value)
const Aws::String & GetSourceIpV6() const
Network & WithSourceDomain(const Aws::String &value)
bool DestinationIpV4HasBeenSet() const
Network & WithSourceDomain(Aws::String &&value)
AWS_SECURITYHUB_API Network(Aws::Utils::Json::JsonView jsonValue)
Network & WithDestinationDomain(Aws::String &&value)
bool SourceIpV4HasBeenSet() const
void SetProtocol(const char *value)
void SetSourcePort(int value)
Network & WithSourceIpV6(Aws::String &&value)
void SetSourceIpV4(Aws::String &&value)
void SetSourceMac(Aws::String &&value)
AWS_SECURITYHUB_API Network()
Network & WithDirection(NetworkDirection &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue