AWS SDK for C++

AWS SDK for C++ Version 1.11.719

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
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
29 public:
30 AWS_SECURITYHUB_API AwsWafv2ActionAllowDetails() = default;
33 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
42 inline const AwsWafv2CustomRequestHandlingDetails& GetCustomRequestHandling() const { return m_customRequestHandling; }
43 inline bool CustomRequestHandlingHasBeenSet() const { return m_customRequestHandlingHasBeenSet; }
44 template <typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
45 void SetCustomRequestHandling(CustomRequestHandlingT&& value) {
46 m_customRequestHandlingHasBeenSet = true;
47 m_customRequestHandling = std::forward<CustomRequestHandlingT>(value);
48 }
49 template <typename CustomRequestHandlingT = AwsWafv2CustomRequestHandlingDetails>
50 AwsWafv2ActionAllowDetails& WithCustomRequestHandling(CustomRequestHandlingT&& value) {
51 SetCustomRequestHandling(std::forward<CustomRequestHandlingT>(value));
52 return *this;
53 }
55 private:
56 AwsWafv2CustomRequestHandlingDetails m_customRequestHandling;
57 bool m_customRequestHandlingHasBeenSet = false;
58};
59
60} // namespace Model
61} // namespace SecurityHub
62} // 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