AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ClientSideActionConfig.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/ClientSideAction.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
34 {
35 public:
36 AWS_WAFV2_API ClientSideActionConfig() = default;
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
52 inline const ClientSideAction& GetChallenge() const { return m_challenge; }
53 inline bool ChallengeHasBeenSet() const { return m_challengeHasBeenSet; }
54 template<typename ChallengeT = ClientSideAction>
55 void SetChallenge(ChallengeT&& value) { m_challengeHasBeenSet = true; m_challenge = std::forward<ChallengeT>(value); }
56 template<typename ChallengeT = ClientSideAction>
57 ClientSideActionConfig& WithChallenge(ChallengeT&& value) { SetChallenge(std::forward<ChallengeT>(value)); return *this;}
59 private:
60
61 ClientSideAction m_challenge;
62 bool m_challengeHasBeenSet = false;
63 };
64
65} // namespace Model
66} // namespace WAFV2
67} // namespace Aws
AWS_WAFV2_API ClientSideActionConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
ClientSideActionConfig & WithChallenge(ChallengeT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
const ClientSideAction & GetChallenge() const
AWS_WAFV2_API ClientSideActionConfig(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API ClientSideActionConfig()=default
Aws::Utils::Json::JsonValue JsonValue