7#include <aws/guardduty/GuardDuty_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
47 template<
typename DomainT = Aws::String>
48 void SetDomain(DomainT&& value) { m_domainHasBeenSet =
true; m_domain = std::forward<DomainT>(value); }
49 template<
typename DomainT = Aws::String>
60 template<
typename ProtocolT = Aws::String>
61 void SetProtocol(ProtocolT&& value) { m_protocolHasBeenSet =
true; m_protocol = std::forward<ProtocolT>(value); }
62 template<
typename ProtocolT = Aws::String>
72 inline void SetBlocked(
bool value) { m_blockedHasBeenSet =
true; m_blocked = value; }
85 template<
typename DomainWithSuffixT = Aws::String>
86 void SetDomainWithSuffix(DomainWithSuffixT&& value) { m_domainWithSuffixHasBeenSet =
true; m_domainWithSuffix = std::forward<DomainWithSuffixT>(value); }
87 template<
typename DomainWithSuffixT = Aws::String>
93 bool m_domainHasBeenSet =
false;
96 bool m_protocolHasBeenSet =
false;
98 bool m_blocked{
false};
99 bool m_blockedHasBeenSet =
false;
102 bool m_domainWithSuffixHasBeenSet =
false;
const Aws::String & GetDomain() const
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
DnsRequestAction & WithDomainWithSuffix(DomainWithSuffixT &&value)
void SetProtocol(ProtocolT &&value)
void SetDomainWithSuffix(DomainWithSuffixT &&value)
void SetBlocked(bool value)
const Aws::String & GetProtocol() const
DnsRequestAction & WithDomain(DomainT &&value)
void SetDomain(DomainT &&value)
DnsRequestAction & WithProtocol(ProtocolT &&value)
AWS_GUARDDUTY_API DnsRequestAction()=default
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