7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/guardduty/model/LocalPortDetails.h>
10#include <aws/guardduty/model/LocalIpDetails.h>
11#include <aws/guardduty/model/RemoteIpDetails.h>
12#include <aws/guardduty/model/RemotePortDetails.h>
51 inline void SetBlocked(
bool value) { m_blockedHasBeenSet =
true; m_blocked = value; }
63 inline void SetConnectionDirection(
const char* value) { m_connectionDirectionHasBeenSet =
true; m_connectionDirection.assign(value); }
89 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
116 inline void SetLocalNetworkInterface(
const char* value) { m_localNetworkInterfaceHasBeenSet =
true; m_localNetworkInterface.assign(value); }
148 bool m_blockedHasBeenSet =
false;
151 bool m_connectionDirectionHasBeenSet =
false;
154 bool m_localPortDetailsHasBeenSet =
false;
157 bool m_protocolHasBeenSet =
false;
160 bool m_localIpDetailsHasBeenSet =
false;
163 bool m_localNetworkInterfaceHasBeenSet =
false;
166 bool m_remoteIpDetailsHasBeenSet =
false;
169 bool m_remotePortDetailsHasBeenSet =
false;
NetworkConnectionAction & WithLocalPortDetails(const LocalPortDetails &value)
void SetProtocol(Aws::String &&value)
void SetRemotePortDetails(const RemotePortDetails &value)
const RemoteIpDetails & GetRemoteIpDetails() const
void SetBlocked(bool value)
bool LocalIpDetailsHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
NetworkConnectionAction & WithConnectionDirection(const Aws::String &value)
bool ProtocolHasBeenSet() const
NetworkConnectionAction & WithRemotePortDetails(RemotePortDetails &&value)
const RemotePortDetails & GetRemotePortDetails() const
NetworkConnectionAction & WithProtocol(Aws::String &&value)
NetworkConnectionAction & WithConnectionDirection(const char *value)
AWS_GUARDDUTY_API NetworkConnectionAction(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteIpDetails(RemoteIpDetails &&value)
void SetConnectionDirection(Aws::String &&value)
NetworkConnectionAction & WithRemotePortDetails(const RemotePortDetails &value)
void SetLocalIpDetails(LocalIpDetails &&value)
bool RemoteIpDetailsHasBeenSet() const
NetworkConnectionAction & WithLocalIpDetails(LocalIpDetails &&value)
NetworkConnectionAction & WithLocalIpDetails(const LocalIpDetails &value)
void SetProtocol(const Aws::String &value)
bool LocalNetworkInterfaceHasBeenSet() const
NetworkConnectionAction & WithRemoteIpDetails(const RemoteIpDetails &value)
bool ConnectionDirectionHasBeenSet() const
const Aws::String & GetLocalNetworkInterface() const
void SetLocalPortDetails(const LocalPortDetails &value)
void SetProtocol(const char *value)
bool LocalPortDetailsHasBeenSet() const
bool BlockedHasBeenSet() const
void SetRemotePortDetails(RemotePortDetails &&value)
void SetLocalNetworkInterface(const char *value)
NetworkConnectionAction & WithLocalNetworkInterface(const Aws::String &value)
const Aws::String & GetConnectionDirection() const
NetworkConnectionAction & WithProtocol(const char *value)
NetworkConnectionAction & WithConnectionDirection(Aws::String &&value)
const LocalIpDetails & GetLocalIpDetails() const
void SetLocalPortDetails(LocalPortDetails &&value)
NetworkConnectionAction & WithBlocked(bool value)
AWS_GUARDDUTY_API NetworkConnectionAction()
bool RemotePortDetailsHasBeenSet() const
AWS_GUARDDUTY_API NetworkConnectionAction & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetRemoteIpDetails(const RemoteIpDetails &value)
NetworkConnectionAction & WithRemoteIpDetails(RemoteIpDetails &&value)
void SetConnectionDirection(const char *value)
const LocalPortDetails & GetLocalPortDetails() const
void SetLocalNetworkInterface(Aws::String &&value)
const Aws::String & GetProtocol() const
NetworkConnectionAction & WithLocalNetworkInterface(Aws::String &&value)
void SetConnectionDirection(const Aws::String &value)
NetworkConnectionAction & WithProtocol(const Aws::String &value)
NetworkConnectionAction & WithLocalNetworkInterface(const char *value)
void SetLocalNetworkInterface(const Aws::String &value)
void SetLocalIpDetails(const LocalIpDetails &value)
NetworkConnectionAction & WithLocalPortDetails(LocalPortDetails &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue