AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ChallengeAction.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/CustomRequestHandling.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 WAFV2
22{
23namespace Model
24{
25
57 {
58 public:
59 AWS_WAFV2_API ChallengeAction() = default;
62 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
63
64
66
73 inline const CustomRequestHandling& GetCustomRequestHandling() const { return m_customRequestHandling; }
74 inline bool CustomRequestHandlingHasBeenSet() const { return m_customRequestHandlingHasBeenSet; }
75 template<typename CustomRequestHandlingT = CustomRequestHandling>
76 void SetCustomRequestHandling(CustomRequestHandlingT&& value) { m_customRequestHandlingHasBeenSet = true; m_customRequestHandling = std::forward<CustomRequestHandlingT>(value); }
77 template<typename CustomRequestHandlingT = CustomRequestHandling>
78 ChallengeAction& WithCustomRequestHandling(CustomRequestHandlingT&& value) { SetCustomRequestHandling(std::forward<CustomRequestHandlingT>(value)); return *this;}
80 private:
81
82 CustomRequestHandling m_customRequestHandling;
83 bool m_customRequestHandlingHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace WAFV2
88} // namespace Aws
const CustomRequestHandling & GetCustomRequestHandling() const
AWS_WAFV2_API ChallengeAction & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ChallengeAction()=default
AWS_WAFV2_API ChallengeAction(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
ChallengeAction & WithCustomRequestHandling(CustomRequestHandlingT &&value)
void SetCustomRequestHandling(CustomRequestHandlingT &&value)
Aws::Utils::Json::JsonValue JsonValue