AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
TextTransformation.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/TextTransformationType.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 TextTransformation() = default;
34 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
43 inline int GetPriority() const { return m_priority; }
44 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
45 inline void SetPriority(int value) {
46 m_priorityHasBeenSet = true;
47 m_priority = value;
48 }
49 inline TextTransformation& WithPriority(int value) {
50 SetPriority(value);
51 return *this;
52 }
54
56
61 inline TextTransformationType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(TextTransformationType value) {
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
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TextTransformationType value)
TextTransformationType GetType() const
AWS_WAFV2_API TextTransformation(Aws::Utils::Json::JsonView jsonValue)
TextTransformation & WithPriority(int value)
AWS_WAFV2_API TextTransformation()=default
AWS_WAFV2_API TextTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
TextTransformation & WithType(TextTransformationType value)
Aws::Utils::Json::JsonValue JsonValue