7#include <aws/securityhub/SecurityHub_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;
void SetPortName(Aws::String &&value)
ActionRemotePortDetails & WithPortName(Aws::String &&value)
void SetPortName(const Aws::String &value)
bool PortHasBeenSet() const
ActionRemotePortDetails & WithPortName(const char *value)
AWS_SECURITYHUB_API ActionRemotePortDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
ActionRemotePortDetails & WithPort(int value)
const Aws::String & GetPortName() const
void SetPortName(const char *value)
bool PortNameHasBeenSet() const
AWS_SECURITYHUB_API ActionRemotePortDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API ActionRemotePortDetails()
ActionRemotePortDetails & WithPortName(const Aws::String &value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue