AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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#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 TextTransformation() = default;
39 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
49 inline int GetPriority() const { return m_priority; }
50 inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
51 inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
52 inline TextTransformation& WithPriority(int value) { SetPriority(value); return *this;}
54
56
61 inline TextTransformationType GetType() const { return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(TextTransformationType value) { m_typeHasBeenSet = true; m_type = value; }
64 inline TextTransformation& WithType(TextTransformationType value) { SetType(value); return *this;}
66 private:
67
68 int m_priority{0};
69 bool m_priorityHasBeenSet = false;
70
72 bool m_typeHasBeenSet = false;
73 };
74
75} // namespace Model
76} // namespace WAFV2
77} // 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)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
Aws::Utils::Json::JsonValue JsonValue