AWS SDK for C++

AWS SDK for C++ Version 1.11.932

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
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace WAFV2 {
20namespace Model {
21
30 public:
31 AWS_WAFV2_API ClientSideActionConfig() = default;
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
46 inline const ClientSideAction& GetChallenge() const { return m_challenge; }
47 inline bool ChallengeHasBeenSet() const { return m_challengeHasBeenSet; }
48 template <typename ChallengeT = ClientSideAction>
49 void SetChallenge(ChallengeT&& value) {
50 m_challengeHasBeenSet = true;
51 m_challenge = std::forward<ChallengeT>(value);
52 }
53 template <typename ChallengeT = ClientSideAction>
55 SetChallenge(std::forward<ChallengeT>(value));
56 return *this;
57 }
59 private:
60 ClientSideAction m_challenge;
61 bool m_challengeHasBeenSet = false;
62};
63
64} // namespace Model
65} // namespace WAFV2
66} // 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