AWS SDK for C++  1.9.108
AWS SDK for C++
TextTransformation.h
Go to the documentation of this file.
1 
6 #pragma once
9 #include <utility>
10 
11 namespace Aws
12 {
13 namespace Utils
14 {
15 namespace Json
16 {
17  class JsonValue;
18  class JsonView;
19 } // namespace Json
20 } // namespace Utils
21 namespace WAFV2
22 {
23 namespace Model
24 {
25 
34  {
35  public:
40 
41 
48  inline int GetPriority() const{ return m_priority; }
49 
56  inline bool PriorityHasBeenSet() const { return m_priorityHasBeenSet; }
57 
64  inline void SetPriority(int value) { m_priorityHasBeenSet = true; m_priority = value; }
65 
72  inline TextTransformation& WithPriority(int value) { SetPriority(value); return *this;}
73 
74 
148  inline const TextTransformationType& GetType() const{ return m_type; }
149 
223  inline bool TypeHasBeenSet() const { return m_typeHasBeenSet; }
224 
298  inline void SetType(const TextTransformationType& value) { m_typeHasBeenSet = true; m_type = value; }
299 
373  inline void SetType(TextTransformationType&& value) { m_typeHasBeenSet = true; m_type = std::move(value); }
374 
448  inline TextTransformation& WithType(const TextTransformationType& value) { SetType(value); return *this;}
449 
523  inline TextTransformation& WithType(TextTransformationType&& value) { SetType(std::move(value)); return *this;}
524 
525  private:
526 
527  int m_priority;
528  bool m_priorityHasBeenSet;
529 
530  TextTransformationType m_type;
531  bool m_typeHasBeenSet;
532  };
533 
534 } // namespace Model
535 } // namespace WAFV2
536 } // namespace Aws
Aws::WAFV2::Model::TextTransformation::TextTransformation
TextTransformation(Aws::Utils::Json::JsonView jsonValue)
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::TextTransformation
Definition: TextTransformation.h:34
Aws::WAFV2::Model::TextTransformation::PriorityHasBeenSet
bool PriorityHasBeenSet() const
Definition: TextTransformation.h:56
Aws::WAFV2::Model::TextTransformation::operator=
TextTransformation & operator=(Aws::Utils::Json::JsonView jsonValue)
WAFV2_EXPORTS.h
Aws::WAFV2::Model::TextTransformation::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::WAFV2::Model::TextTransformation::GetPriority
int GetPriority() const
Definition: TextTransformation.h:48
Aws::WAFV2::Model::TextTransformation::SetType
void SetType(const TextTransformationType &value)
Definition: TextTransformation.h:298
Aws::WAFV2::Model::TextTransformation::GetType
const TextTransformationType & GetType() const
Definition: TextTransformation.h:148
Aws::WAFV2::Model::TextTransformation::WithType
TextTransformation & WithType(TextTransformationType &&value)
Definition: TextTransformation.h:523
Aws::WAFV2::Model::TextTransformation::SetPriority
void SetPriority(int value)
Definition: TextTransformation.h:64
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:235
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:33
Aws::WAFV2::Model::TextTransformationType
TextTransformationType
Definition: TextTransformationType.h:17
Aws::WAFV2::Model::TextTransformation::WithType
TextTransformation & WithType(const TextTransformationType &value)
Definition: TextTransformation.h:448
Aws
Definition: AccessManagementClient.h:15
TextTransformationType.h
Aws::WAFV2::Model::TextTransformation::TextTransformation
TextTransformation()
Aws::WAFV2::Model::TextTransformation::SetType
void SetType(TextTransformationType &&value)
Definition: TextTransformation.h:373
Aws::WAFV2::Model::TextTransformation::TypeHasBeenSet
bool TypeHasBeenSet() const
Definition: TextTransformation.h:223
Aws::WAFV2::Model::TextTransformation::WithPriority
TextTransformation & WithPriority(int value)
Definition: TextTransformation.h:72