AWS SDK for C++

AWS SDK for C++ Version 1.11.932

Loading...
Searching...
No Matches
RateLimitUriPath.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/wafv2/WAFV2_EXPORTS.h>
9#include <aws/wafv2/model/TextTransformation.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace WAFV2 {
21namespace Model {
22
32 public:
33 AWS_WAFV2_API RateLimitUriPath() = default;
36 AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const;
37
39
49 inline const Aws::Vector<TextTransformation>& GetTextTransformations() const { return m_textTransformations; }
50 inline bool TextTransformationsHasBeenSet() const { return m_textTransformationsHasBeenSet; }
51 template <typename TextTransformationsT = Aws::Vector<TextTransformation>>
52 void SetTextTransformations(TextTransformationsT&& value) {
53 m_textTransformationsHasBeenSet = true;
54 m_textTransformations = std::forward<TextTransformationsT>(value);
55 }
56 template <typename TextTransformationsT = Aws::Vector<TextTransformation>>
57 RateLimitUriPath& WithTextTransformations(TextTransformationsT&& value) {
58 SetTextTransformations(std::forward<TextTransformationsT>(value));
59 return *this;
60 }
61 template <typename TextTransformationsT = TextTransformation>
62 RateLimitUriPath& AddTextTransformations(TextTransformationsT&& value) {
63 m_textTransformationsHasBeenSet = true;
64 m_textTransformations.emplace_back(std::forward<TextTransformationsT>(value));
65 return *this;
66 }
68 private:
69 Aws::Vector<TextTransformation> m_textTransformations;
70 bool m_textTransformationsHasBeenSet = false;
71};
72
73} // namespace Model
74} // namespace WAFV2
75} // namespace Aws
void SetTextTransformations(TextTransformationsT &&value)
RateLimitUriPath & AddTextTransformations(TextTransformationsT &&value)
AWS_WAFV2_API RateLimitUriPath & operator=(Aws::Utils::Json::JsonView jsonValue)
RateLimitUriPath & WithTextTransformations(TextTransformationsT &&value)
AWS_WAFV2_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_WAFV2_API RateLimitUriPath()=default
const Aws::Vector< TextTransformation > & GetTextTransformations() const
AWS_WAFV2_API RateLimitUriPath(Aws::Utils::Json::JsonView jsonValue)
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue