AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsWafv2RulesActionCaptchaDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafv2CustomRequestHandlingDetails.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace SecurityHub
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_SECURITYHUB_API AwsWafv2RulesActionCaptchaDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
49 inline const AwsWafv2CustomRequestHandlingDetails& GetCustomRequestHandling() const { return m_customRequestHandling; }
50 inline bool CustomRequestHandlingHasBeenSet() const { return m_customRequestHandlingHasBeenSet; }
51 template<typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
52 void SetCustomRequestHandling(CustomRequestHandlingT&& value) { m_customRequestHandlingHasBeenSet = true; m_customRequestHandling = std::forward<CustomRequestHandlingT>(value); }
53 template<typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
54 AwsWafv2RulesActionCaptchaDetails& WithCustomRequestHandling(CustomRequestHandlingT&& value) { SetCustomRequestHandling(std::forward<CustomRequestHandlingT>(value)); return *this;}
56 private:
57
58 AwsWafv2CustomRequestHandlingDetails m_customRequestHandling;
59 bool m_customRequestHandlingHasBeenSet = false;
60 };
61
62} // namespace Model
63} // namespace SecurityHub
64} // namespace Aws
AWS_SECURITYHUB_API AwsWafv2RulesActionCaptchaDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafv2RulesActionCaptchaDetails()=default
AWS_SECURITYHUB_API AwsWafv2RulesActionCaptchaDetails(Aws::Utils::Json::JsonView jsonValue)
const AwsWafv2CustomRequestHandlingDetails & GetCustomRequestHandling() const
AwsWafv2RulesActionCaptchaDetails & WithCustomRequestHandling(CustomRequestHandlingT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
Aws::Utils::Json::JsonValue JsonValue