7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
44 inline int GetPort()
const{
return m_port; }
46 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
58 inline void SetPortName(
const char* value) { m_portNameHasBeenSet =
true; m_portName.assign(value); }
66 bool m_portHasBeenSet =
false;
69 bool m_portNameHasBeenSet =
false;
AWS_GUARDDUTY_API RemotePortDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_GUARDDUTY_API RemotePortDetails()
bool PortNameHasBeenSet() const
RemotePortDetails & WithPortName(const char *value)
void SetPortName(const char *value)
void SetPortName(const Aws::String &value)
RemotePortDetails & WithPortName(const Aws::String &value)
bool PortHasBeenSet() const
RemotePortDetails & WithPort(int value)
RemotePortDetails & WithPortName(Aws::String &&value)
void SetPortName(Aws::String &&value)
const Aws::String & GetPortName() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_GUARDDUTY_API RemotePortDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue