AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 const TextTransformationType& GetType() const{ return m_type; }
62 inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
63 inline void SetType(const TextTransformationType& value) { m_typeHasBeenSet = true; m_type = value; }
64 inline void SetType(TextTransformationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
65 inline TextTransformation& WithType(const TextTransformationType& value) { SetType(value); return *this;}
66 inline TextTransformation& WithType(TextTransformationType&& value) { SetType(std::move(value)); return *this;}
68 private:
69
70 int m_priority;
71 bool m_priorityHasBeenSet = false;
72
74 bool m_typeHasBeenSet = false;
75 };
76
77} // namespace Model
78} // namespace WAFV2
79} // namespace Aws
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
void SetType(TextTransformationType &&value)
TextTransformation & WithType(const TextTransformationType &value)
void SetType(const TextTransformationType &value)
const TextTransformationType & GetType() const
TextTransformation & WithType(TextTransformationType &&value)
AWS_WAFV2_API TextTransformation(Aws::Utils::Json::JsonView jsonValue)
TextTransformation & WithPriority(int value)
AWS_WAFV2_API TextTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::Utils::Json::JsonValue JsonValue