AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
DeleteRegexPatternSetRequest.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/WAFV2Request.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/wafv2/model/Scope.h>
11#include <utility>
12
13namespace Aws
14{
15namespace WAFV2
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_WAFV2_API DeleteRegexPatternSetRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "DeleteRegexPatternSet"; }
32
33 AWS_WAFV2_API Aws::String SerializePayload() const override;
34
36
37
39
42 inline const Aws::String& GetName() const { return m_name; }
43 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
44 template<typename NameT = Aws::String>
45 void SetName(NameT&& value) { m_nameHasBeenSet = true; m_name = std::forward<NameT>(value); }
46 template<typename NameT = Aws::String>
47 DeleteRegexPatternSetRequest& WithName(NameT&& value) { SetName(std::forward<NameT>(value)); return *this;}
49
51
60 inline Scope GetScope() const { return m_scope; }
61 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
62 inline void SetScope(Scope value) { m_scopeHasBeenSet = true; m_scope = value; }
63 inline DeleteRegexPatternSetRequest& WithScope(Scope value) { SetScope(value); return *this;}
65
67
72 inline const Aws::String& GetId() const { return m_id; }
73 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
74 template<typename IdT = Aws::String>
75 void SetId(IdT&& value) { m_idHasBeenSet = true; m_id = std::forward<IdT>(value); }
76 template<typename IdT = Aws::String>
77 DeleteRegexPatternSetRequest& WithId(IdT&& value) { SetId(std::forward<IdT>(value)); return *this;}
79
81
91 inline const Aws::String& GetLockToken() const { return m_lockToken; }
92 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
93 template<typename LockTokenT = Aws::String>
94 void SetLockToken(LockTokenT&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::forward<LockTokenT>(value); }
95 template<typename LockTokenT = Aws::String>
96 DeleteRegexPatternSetRequest& WithLockToken(LockTokenT&& value) { SetLockToken(std::forward<LockTokenT>(value)); return *this;}
98 private:
99
100 Aws::String m_name;
101 bool m_nameHasBeenSet = false;
102
103 Scope m_scope{Scope::NOT_SET};
104 bool m_scopeHasBeenSet = false;
105
106 Aws::String m_id;
107 bool m_idHasBeenSet = false;
108
109 Aws::String m_lockToken;
110 bool m_lockTokenHasBeenSet = false;
111 };
112
113} // namespace Model
114} // namespace WAFV2
115} // 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