7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
50 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
65 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
77 inline void SetBlocked(
bool value) { m_blockedHasBeenSet =
true; m_blocked = value; }
83 bool m_domainHasBeenSet =
false;
86 bool m_protocolHasBeenSet =
false;
89 bool m_blockedHasBeenSet =
false;
DnsRequestAction & WithProtocol(Aws::String &&value)
void SetBlocked(bool value)
bool DomainHasBeenSet() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
DnsRequestAction & WithDomain(const char *value)
AWS_SECURITYHUB_API DnsRequestAction(Aws::Utils::Json::JsonView jsonValue)
bool ProtocolHasBeenSet() const
void SetDomain(const char *value)
void SetProtocol(const Aws::String &value)
void SetDomain(Aws::String &&value)
AWS_SECURITYHUB_API DnsRequestAction()
AWS_SECURITYHUB_API DnsRequestAction & operator=(Aws::Utils::Json::JsonView jsonValue)
DnsRequestAction & WithProtocol(const Aws::String &value)
DnsRequestAction & WithBlocked(bool value)
void SetDomain(const Aws::String &value)
DnsRequestAction & WithProtocol(const char *value)
DnsRequestAction & WithDomain(const Aws::String &value)
void SetProtocol(Aws::String &&value)
bool BlockedHasBeenSet() const
const Aws::String & GetDomain() const
void SetProtocol(const char *value)
const Aws::String & GetProtocol() const
DnsRequestAction & WithDomain(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue