AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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:
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 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
45 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
46 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
47 inline DeleteRegexPatternSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
48 inline DeleteRegexPatternSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
49 inline DeleteRegexPatternSetRequest& WithName(const char* value) { SetName(value); return *this;}
51
53
64 inline const Scope& GetScope() const{ return m_scope; }
65 inline bool ScopeHasBeenSet() const { return m_scopeHasBeenSet; }
66 inline void SetScope(const Scope& value) { m_scopeHasBeenSet = true; m_scope = value; }
67 inline void SetScope(Scope&& value) { m_scopeHasBeenSet = true; m_scope = std::move(value); }
68 inline DeleteRegexPatternSetRequest& WithScope(const Scope& value) { SetScope(value); return *this;}
69 inline DeleteRegexPatternSetRequest& WithScope(Scope&& value) { SetScope(std::move(value)); return *this;}
71
73
78 inline const Aws::String& GetId() const{ return m_id; }
79 inline bool IdHasBeenSet() const { return m_idHasBeenSet; }
80 inline void SetId(const Aws::String& value) { m_idHasBeenSet = true; m_id = value; }
81 inline void SetId(Aws::String&& value) { m_idHasBeenSet = true; m_id = std::move(value); }
82 inline void SetId(const char* value) { m_idHasBeenSet = true; m_id.assign(value); }
83 inline DeleteRegexPatternSetRequest& WithId(const Aws::String& value) { SetId(value); return *this;}
84 inline DeleteRegexPatternSetRequest& WithId(Aws::String&& value) { SetId(std::move(value)); return *this;}
85 inline DeleteRegexPatternSetRequest& WithId(const char* value) { SetId(value); return *this;}
87
89
99 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
100 inline bool LockTokenHasBeenSet() const { return m_lockTokenHasBeenSet; }
101 inline void SetLockToken(const Aws::String& value) { m_lockTokenHasBeenSet = true; m_lockToken = value; }
102 inline void SetLockToken(Aws::String&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::move(value); }
103 inline void SetLockToken(const char* value) { m_lockTokenHasBeenSet = true; m_lockToken.assign(value); }
104 inline DeleteRegexPatternSetRequest& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
105 inline DeleteRegexPatternSetRequest& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
106 inline DeleteRegexPatternSetRequest& WithLockToken(const char* value) { SetLockToken(value); return *this;}
108 private:
109
110 Aws::String m_name;
111 bool m_nameHasBeenSet = false;
112
113 Scope m_scope;
114 bool m_scopeHasBeenSet = false;
115
116 Aws::String m_id;
117 bool m_idHasBeenSet = false;
118
119 Aws::String m_lockToken;
120 bool m_lockTokenHasBeenSet = false;
121 };
122
123} // namespace Model
124} // namespace WAFV2
125} // namespace Aws
DeleteRegexPatternSetRequest & WithName(const Aws::String &value)
DeleteRegexPatternSetRequest & WithId(const char *value)
DeleteRegexPatternSetRequest & WithName(const char *value)
virtual const char * GetServiceRequestName() const override
DeleteRegexPatternSetRequest & WithLockToken(const Aws::String &value)
DeleteRegexPatternSetRequest & WithScope(Scope &&value)
DeleteRegexPatternSetRequest & WithLockToken(const char *value)
DeleteRegexPatternSetRequest & WithScope(const Scope &value)
DeleteRegexPatternSetRequest & WithLockToken(Aws::String &&value)
DeleteRegexPatternSetRequest & WithName(Aws::String &&value)
AWS_WAFV2_API Aws::String SerializePayload() const override
DeleteRegexPatternSetRequest & WithId(Aws::String &&value)
DeleteRegexPatternSetRequest & WithId(const Aws::String &value)
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