AWS SDK for C++

AWS SDK for C++ Version 1.11.931

Loading...
Searching...
No Matches
DeleteRegexPatternSetRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/wafv2/WAFV2_EXPORTS.h>
10#include <aws/wafv2/model/Scope.h>
11
12#include <utility>
13
14namespace Aws {
15namespace WAFV2 {
16namespace Model {
17
21 public:
22 AWS_WAFV2_API DeleteRegexPatternSetRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "DeleteRegexPatternSet"; }
29
30 AWS_WAFV2_API Aws::String SerializePayload() const override;
31
33
35
38 inline const Aws::String& GetName() const { return m_name; }
39 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
40 template <typename NameT = Aws::String>
41 void SetName(NameT&& value) {
42 m_nameHasBeenSet = true;
43 m_name = std::forward<NameT>(value);
44 }
45 template <typename NameT = Aws::String>
47 SetName(std::forward<NameT>(value));
48 return *this;
49 }
51
53
62 inline Scope GetScope() const { return m_scope; }
63 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
64 inline void SetScope(Scope value) {
65 m_scopeHasBeenSet = true;
66 m_scope = value;
67 }
69 SetScope(value);
70 return *this;
71 }
73
75
80 inline const Aws::String& GetId() const { return m_id; }
81 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
82 template <typename IdT = Aws::String>
83 void SetId(IdT&& value) {
84 m_idHasBeenSet = true;
85 m_id = std::forward<IdT>(value);
86 }
87 template <typename IdT = Aws::String>
89 SetId(std::forward<IdT>(value));
90 return *this;
91 }
93
95
105 inline const Aws::String& GetLockToken() const { return m_lockToken; }
106 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
107 template <typename LockTokenT = Aws::String>
108 void SetLockToken(LockTokenT&& value) {
109 m_lockTokenHasBeenSet = true;
110 m_lockToken = std::forward<LockTokenT>(value);
111 }
112 template <typename LockTokenT = Aws::String>
114 SetLockToken(std::forward<LockTokenT>(value));
115 return *this;
116 }
118 private:
119 Aws::String m_name;
120
121 Scope m_scope{Scope::NOT_SET};
122
123 Aws::String m_id;
124
125 Aws::String m_lockToken;
126 bool m_nameHasBeenSet = false;
127 bool m_scopeHasBeenSet = false;
128 bool m_idHasBeenSet = false;
129 bool m_lockTokenHasBeenSet = false;
130};
131
132} // namespace Model
133} // namespace WAFV2
134} // namespace Aws
AWS_WAFV2_API DeleteRegexPatternSetRequest()=default
DeleteRegexPatternSetRequest & WithId(IdT &&value)
virtual const char * GetServiceRequestName() const override
DeleteRegexPatternSetRequest & WithLockToken(LockTokenT &&value)
DeleteRegexPatternSetRequest & WithScope(Scope value)
DeleteRegexPatternSetRequest & WithName(NameT &&value)
AWS_WAFV2_API Aws::String SerializePayload() const override
AWS_WAFV2_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String