7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
46 inline int GetPort()
const{
return m_port; }
48 inline void SetPort(
int value) { m_portHasBeenSet =
true; m_port = value; }
60 inline void SetPortName(
const char* value) { m_portNameHasBeenSet =
true; m_portName.assign(value); }
68 bool m_portHasBeenSet =
false;
71 bool m_portNameHasBeenSet =
false;
ActionLocalPortDetails & WithPortName(const char *value)
ActionLocalPortDetails & WithPort(int value)
void SetPortName(const char *value)
AWS_SECURITYHUB_API ActionLocalPortDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetPortName() const
ActionLocalPortDetails & WithPortName(const Aws::String &value)
void SetPortName(Aws::String &&value)
AWS_SECURITYHUB_API ActionLocalPortDetails(Aws::Utils::Json::JsonView jsonValue)
bool PortHasBeenSet() const
AWS_SECURITYHUB_API ActionLocalPortDetails()
ActionLocalPortDetails & WithPortName(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
bool PortNameHasBeenSet() const
void SetPortName(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue