AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
AwsWafv2ActionAllowDetails.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 AwsWafv2ActionAllowDetails() = default;
38 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
48 inline const AwsWafv2CustomRequestHandlingDetails& GetCustomRequestHandling() const { return m_customRequestHandling; }
49 inline bool CustomRequestHandlingHasBeenSet() const { return m_customRequestHandlingHasBeenSet; }
50 template<typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
51 void SetCustomRequestHandling(CustomRequestHandlingT&& value) { m_customRequestHandlingHasBeenSet = true; m_customRequestHandling = std::forward<CustomRequestHandlingT>(value); }
52 template<typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
53 AwsWafv2ActionAllowDetails& WithCustomRequestHandling(CustomRequestHandlingT&& value) { SetCustomRequestHandling(std::forward<CustomRequestHandlingT>(value)); return *this;}
55 private:
56
57 AwsWafv2CustomRequestHandlingDetails m_customRequestHandling;
58 bool m_customRequestHandlingHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityHub
63} // namespace Aws
const AwsWafv2CustomRequestHandlingDetails & GetCustomRequestHandling() const
AWS_SECURITYHUB_API AwsWafv2ActionAllowDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_SECURITYHUB_API AwsWafv2ActionAllowDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2ActionAllowDetails & WithCustomRequestHandling(CustomRequestHandlingT &&value)
AWS_SECURITYHUB_API AwsWafv2ActionAllowDetails(Aws::Utils::Json::JsonView jsonValue)
void SetCustomRequestHandling(CustomRequestHandlingT &&value)
Aws::Utils::Json::JsonValue JsonValue