AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
PreParseTextTransformation.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/PreParseTextTransformationType.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
32 public:
33 AWS_WAFV2_API PreParseTextTransformation() = default;
36 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
44 inline int GetPriority() const { return m_priority; }
45 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
46 inline void SetPriority(int value) {
47 m_priorityHasBeenSet = true;
48 m_priority = value;
49 }
51 SetPriority(value);
52 return *this;
53 }
55
57
61 inline PreParseTextTransformationType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
64 m_typeHasBeenSet = true;
65 m_type = value;
66 }
68 SetType(value);
69 return *this;
70 }
72 private:
73 int m_priority{0};
74
76 bool m_priorityHasBeenSet = false;
77 bool m_typeHasBeenSet = false;
78};
79
80} // namespace Model
81} // namespace WAFV2
82} // namespace Aws
PreParseTextTransformationType GetType() const
PreParseTextTransformation & WithType(PreParseTextTransformationType value)
AWS_WAFV2_API PreParseTextTransformation()=default
PreParseTextTransformation & WithPriority(int value)
AWS_WAFV2_API PreParseTextTransformation(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(PreParseTextTransformationType value)
AWS_WAFV2_API PreParseTextTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue