AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RateLimitQueryArgument.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/wafv2/model/TextTransformation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
27
38 {
39 public:
40 AWS_WAFV2_API RateLimitQueryArgument();
43 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
44
45
47
50 inline const Aws::String& GetName() const{ return m_name; }
51 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
52 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
53 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
54 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
55 inline RateLimitQueryArgument& WithName(const Aws::String& value) { SetName(value); return *this;}
56 inline RateLimitQueryArgument& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
57 inline RateLimitQueryArgument& WithName(const char* value) { SetName(value); return *this;}
59
61
71 inline const Aws::Vector<TextTransformation>& GetTextTransformations() const{ return m_textTransformations; }
72 inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
73 inline void SetTextTransformations(const Aws::Vector<TextTransformation>& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = value; }
74 inline void SetTextTransformations(Aws::Vector<TextTransformation>&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations = std::move(value); }
77 inline RateLimitQueryArgument& AddTextTransformations(const TextTransformation& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(value); return *this; }
78 inline RateLimitQueryArgument& AddTextTransformations(TextTransformation&& value) { m_textTransformationsHasBeenSet = true; m_textTransformations.push_back(std::move(value)); return *this; }
80 private:
81
82 Aws::String m_name;
83 bool m_nameHasBeenSet = false;
84
85 Aws::Vector<TextTransformation> m_textTransformations;
86 bool m_textTransformationsHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace WAFV2
91} // namespace Aws
const Aws::Vector< TextTransformation > & GetTextTransformations() const
RateLimitQueryArgument & AddTextTransformations(const TextTransformation &value)
AWS_WAFV2_API RateLimitQueryArgument(Aws::Utils::Json::JsonView jsonValue)
RateLimitQueryArgument & WithTextTransformations(const Aws::Vector< TextTransformation > &value)
AWS_WAFV2_API RateLimitQueryArgument & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTextTransformations(const Aws::Vector< TextTransformation > &value)
void SetTextTransformations(Aws::Vector< TextTransformation > &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
RateLimitQueryArgument & WithName(const Aws::String &value)
RateLimitQueryArgument & WithTextTransformations(Aws::Vector< TextTransformation > &&value)
RateLimitQueryArgument & WithName(const char *value)
RateLimitQueryArgument & AddTextTransformations(TextTransformation &&value)
RateLimitQueryArgument & WithName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue