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>
98 template<
typename VpcOwnerAccountIdT = Aws::String>
99 void SetVpcOwnerAccountId(VpcOwnerAccountIdT&& value) { m_vpcOwnerAccountIdHasBeenSet =
true; m_vpcOwnerAccountId = std::forward<VpcOwnerAccountIdT>(value); }
100 template<
typename VpcOwnerAccountIdT = Aws::String>
106 bool m_domainHasBeenSet =
false;
109 bool m_protocolHasBeenSet =
false;
111 bool m_blocked{
false};
112 bool m_blockedHasBeenSet =
false;
115 bool m_domainWithSuffixHasBeenSet =
false;
118 bool m_vpcOwnerAccountIdHasBeenSet =
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)
void SetVpcOwnerAccountId(VpcOwnerAccountIdT &&value)
bool BlockedHasBeenSet() const
DnsRequestAction & WithDomainWithSuffix(DomainWithSuffixT &&value)
void SetProtocol(ProtocolT &&value)
void SetDomainWithSuffix(DomainWithSuffixT &&value)
void SetBlocked(bool value)
bool VpcOwnerAccountIdHasBeenSet() const
const Aws::String & GetProtocol() const
DnsRequestAction & WithVpcOwnerAccountId(VpcOwnerAccountIdT &&value)
const Aws::String & GetVpcOwnerAccountId() 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