AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsWafv2ActionBlockDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/AwsWafv2CustomResponseDetails.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
34 {
35 public:
36 AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
48 inline const AwsWafv2CustomResponseDetails& GetCustomResponse() const{ return m_customResponse; }
49 inline bool CustomResponseHasBeenSet() const { return m_customResponseHasBeenSet; }
50 inline void SetCustomResponse(const AwsWafv2CustomResponseDetails& value) { m_customResponseHasBeenSet = true; m_customResponse = value; }
51 inline void SetCustomResponse(AwsWafv2CustomResponseDetails&& value) { m_customResponseHasBeenSet = true; m_customResponse = std::move(value); }
55 private:
56
57 AwsWafv2CustomResponseDetails m_customResponse;
58 bool m_customResponseHasBeenSet = false;
59 };
60
61} // namespace Model
62} // namespace SecurityHub
63} // namespace Aws
AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsWafv2ActionBlockDetails & WithCustomResponse(const AwsWafv2CustomResponseDetails &value)
void SetCustomResponse(AwsWafv2CustomResponseDetails &&value)
void SetCustomResponse(const AwsWafv2CustomResponseDetails &value)
AwsWafv2ActionBlockDetails & WithCustomResponse(AwsWafv2CustomResponseDetails &&value)
AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
const AwsWafv2CustomResponseDetails & GetCustomResponse() const
Aws::Utils::Json::JsonValue JsonValue