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