AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
RateLimitQueryString.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/wafv2/model/TextTransformation.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace WAFV2
23{
24namespace Model
25{
26
36 {
37 public:
38 AWS_WAFV2_API RateLimitQueryString() = default;
41 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
55 inline const Aws::Vector<TextTransformation>& GetTextTransformations() const { return m_textTransformations; }
56 inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
57 template<typename TextTransformationsT = Aws::Vector<TextTransformation>>
58 void SetTextTransformations(TextTransformationsT&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = std::forward<TextTransformationsT>(value); }
59 template<typename TextTransformationsT = Aws::Vector<TextTransformation>>
60 RateLimitQueryString& WithTextTransformations(TextTransformationsT&& value) { SetTextTransformations(std::forward<TextTransformationsT>(value)); return *this;}
61 template<typename TextTransformationsT = TextTransformation>
62 RateLimitQueryString& AddTextTransformations(TextTransformationsT&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value)); return *this; }
64 private:
65
66 Aws::Vector<TextTransformation> m_textTransformations;
67 bool m_textTransformationsHasBeenSet = false;
68 };
69
70} // namespace Model
71} // namespace WAFV2
72} // namespace Aws
void SetTextTransformations(TextTransformationsT &&value)
AWS_WAFV2_API RateLimitQueryString()=default
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RateLimitQueryString & WithTextTransformations(TextTransformationsT &&value)
AWS_WAFV2_API RateLimitQueryString(Aws::Utils::Json::JsonView jsonValue)
const Aws::Vector< TextTransformation > & GetTextTransformations() const
RateLimitQueryString & AddTextTransformations(TextTransformationsT &&value)
AWS_WAFV2_API RateLimitQueryString & operator=(Aws::Utils::Json::JsonView jsonValue)
std::shared_ptr< T > MakeShared(const char *allocationTag, ArgTypes &&... args)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue