AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace SecurityHub {
20namespace Model {
21
30 public:
31 AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails() = default;
34 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
42 inline const AwsWafv2CustomResponseDetails& GetCustomResponse() const { return m_customResponse; }
43 inline bool CustomResponseHasBeenSet() const { return m_customResponseHasBeenSet; }
44 template <typename CustomResponseT = AwsWafv2CustomResponseDetails>
45 void SetCustomResponse(CustomResponseT&& value) {
46 m_customResponseHasBeenSet = true;
47 m_customResponse = std::forward<CustomResponseT>(value);
48 }
49 template <typename CustomResponseT = AwsWafv2CustomResponseDetails>
51 SetCustomResponse(std::forward<CustomResponseT>(value));
52 return *this;
53 }
55 private:
56 AwsWafv2CustomResponseDetails m_customResponse;
57 bool m_customResponseHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace SecurityHub
62} // namespace Aws
AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API AwsWafv2ActionBlockDetails()=default
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsWafv2ActionBlockDetails & WithCustomResponse(CustomResponseT &&value)
const AwsWafv2CustomResponseDetails & GetCustomResponse() const
Aws::Utils::Json::JsonValue JsonValue