7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
49 inline void SetDomain(
const char* value) { m_domainHasBeenSet =
true; m_domain.assign(value); }
64 inline void SetProtocol(
const char* value) { m_protocolHasBeenSet =
true; m_protocol.assign(value); }
76 inline void SetBlocked(
bool value) { m_blockedHasBeenSet =
true; m_blocked = value; }
91 inline void SetDomainWithSuffix(
const char* value) { m_domainWithSuffixHasBeenSet =
true; m_domainWithSuffix.assign(value); }
99 bool m_domainHasBeenSet =
false;
102 bool m_protocolHasBeenSet =
false;
105 bool m_blockedHasBeenSet =
false;
108 bool m_domainWithSuffixHasBeenSet =
false;
DnsRequestAction & WithProtocol(const char *value)
const Aws::String & GetDomain() const
void SetDomainWithSuffix(const Aws::String &value)
DnsRequestAction & WithDomainWithSuffix(Aws::String &&value)
bool DomainHasBeenSet() const
AWS_GUARDDUTY_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetDomainWithSuffix() const
bool DomainWithSuffixHasBeenSet() const
AWS_GUARDDUTY_API DnsRequestAction & operator=(Aws::Utils::Json::JsonView jsonValue)
bool BlockedHasBeenSet() const
void SetDomain(Aws::String &&value)
void SetProtocol(Aws::String &&value)
void SetBlocked(bool value)
DnsRequestAction & WithProtocol(const Aws::String &value)
const Aws::String & GetProtocol() const
DnsRequestAction & WithDomainWithSuffix(const char *value)
void SetDomain(const Aws::String &value)
DnsRequestAction & WithProtocol(Aws::String &&value)
DnsRequestAction & WithDomain(const Aws::String &value)
DnsRequestAction & WithDomain(Aws::String &&value)
void SetDomainWithSuffix(Aws::String &&value)
DnsRequestAction & WithDomain(const char *value)
void SetProtocol(const char *value)
void SetProtocol(const Aws::String &value)
void SetDomainWithSuffix(const char *value)
DnsRequestAction & WithDomainWithSuffix(const Aws::String &value)
void SetDomain(const char *value)
AWS_GUARDDUTY_API DnsRequestAction()
AWS_GUARDDUTY_API DnsRequestAction(Aws::Utils::Json::JsonView jsonValue)
DnsRequestAction & WithBlocked(bool value)
bool ProtocolHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue