AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ByteMatchSetUpdate.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/ChangeAction.h>
9#include <aws/waf/model/ByteMatchTuple.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAF
23{
24namespace Model
25{
26
43 {
44 public:
45 AWS_WAF_API ByteMatchSetUpdate() = default;
49
50
52
55 inline ChangeAction GetAction() const { return m_action; }
56 inline bool ActionHasBeenSet() const { return m_actionHasBeenSet; }
57 inline void SetAction(ChangeAction value) { m_actionHasBeenSet = true; m_action = value; }
58 inline ByteMatchSetUpdate& WithAction(ChangeAction value) { SetAction(value); return *this;}
60
62
70 inline const ByteMatchTuple& GetByteMatchTuple() const { return m_byteMatchTuple; }
71 inline bool ByteMatchTupleHasBeenSet() const { return m_byteMatchTupleHasBeenSet; }
72 template<typename ByteMatchTupleT = ByteMatchTuple>
73 void SetByteMatchTuple(ByteMatchTupleT&& value) { m_byteMatchTupleHasBeenSet = true; m_byteMatchTuple = std::forward<ByteMatchTupleT>(value); }
74 template<typename ByteMatchTupleT = ByteMatchTuple>
75 ByteMatchSetUpdate& WithByteMatchTuple(ByteMatchTupleT&& value) { SetByteMatchTuple(std::forward<ByteMatchTupleT>(value)); return *this;}
77 private:
78
80 bool m_actionHasBeenSet = false;
81
82 ByteMatchTuple m_byteMatchTuple;
83 bool m_byteMatchTupleHasBeenSet = false;
84 };
85
86} // namespace Model
87} // namespace WAF
88} // namespace Aws
AWS_WAF_API ByteMatchSetUpdate()=default
AWS_WAF_API ByteMatchSetUpdate & operator=(Aws::Utils::Json::JsonView jsonValue)
ByteMatchSetUpdate & WithAction(ChangeAction value)
AWS_WAF_API Aws::Utils::Json::JsonValue Jsonize() const
const ByteMatchTuple & GetByteMatchTuple() const
ByteMatchSetUpdate & WithByteMatchTuple(ByteMatchTupleT &&value)
void SetByteMatchTuple(ByteMatchTupleT &&value)
AWS_WAF_API ByteMatchSetUpdate(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue