AWS SDK for C++  1.9.128
AWS SDK for C++
DeleteSqlInjectionMatchSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
8 #include <aws/waf/WAFRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAF
15 {
16 namespace Model
17 {
18 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "DeleteSqlInjectionMatchSet"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
46  inline const Aws::String& GetSqlInjectionMatchSetId() const{ return m_sqlInjectionMatchSetId; }
47 
53  inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
54 
60  inline void SetSqlInjectionMatchSetId(const Aws::String& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = value; }
61 
67  inline void SetSqlInjectionMatchSetId(Aws::String&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::move(value); }
68 
74  inline void SetSqlInjectionMatchSetId(const char* value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId.assign(value); }
75 
81  inline DeleteSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const Aws::String& value) { SetSqlInjectionMatchSetId(value); return *this;}
82 
88  inline DeleteSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(Aws::String&& value) { SetSqlInjectionMatchSetId(std::move(value)); return *this;}
89 
95  inline DeleteSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const char* value) { SetSqlInjectionMatchSetId(value); return *this;}
96 
97 
101  inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
102 
106  inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
107 
111  inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
112 
116  inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
117 
121  inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
122 
126  inline DeleteSqlInjectionMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
127 
131  inline DeleteSqlInjectionMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
132 
136  inline DeleteSqlInjectionMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
137 
138  private:
139 
140  Aws::String m_sqlInjectionMatchSetId;
141  bool m_sqlInjectionMatchSetIdHasBeenSet;
142 
143  Aws::String m_changeToken;
144  bool m_changeTokenHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace WAF
149 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteSqlInjectionMatchSetRequest.h:34
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithChangeToken
DeleteSqlInjectionMatchSetRequest & WithChangeToken(const char *value)
Definition: DeleteSqlInjectionMatchSetRequest.h:136
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::GetChangeToken
const Aws::String & GetChangeToken() const
Definition: DeleteSqlInjectionMatchSetRequest.h:101
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(const char *value)
Definition: DeleteSqlInjectionMatchSetRequest.h:74
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
DeleteSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const Aws::String &value)
Definition: DeleteSqlInjectionMatchSetRequest.h:81
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SqlInjectionMatchSetIdHasBeenSet
bool SqlInjectionMatchSetIdHasBeenSet() const
Definition: DeleteSqlInjectionMatchSetRequest.h:53
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetChangeToken
void SetChangeToken(const Aws::String &value)
Definition: DeleteSqlInjectionMatchSetRequest.h:111
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetChangeToken
void SetChangeToken(Aws::String &&value)
Definition: DeleteSqlInjectionMatchSetRequest.h:116
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithChangeToken
DeleteSqlInjectionMatchSetRequest & WithChangeToken(Aws::String &&value)
Definition: DeleteSqlInjectionMatchSetRequest.h:131
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
DeleteSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const char *value)
Definition: DeleteSqlInjectionMatchSetRequest.h:95
AWSString.h
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithChangeToken
DeleteSqlInjectionMatchSetRequest & WithChangeToken(const Aws::String &value)
Definition: DeleteSqlInjectionMatchSetRequest.h:126
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
DeleteSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(Aws::String &&value)
Definition: DeleteSqlInjectionMatchSetRequest.h:88
WAF_EXPORTS.h
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetChangeToken
void SetChangeToken(const char *value)
Definition: DeleteSqlInjectionMatchSetRequest.h:121
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(const Aws::String &value)
Definition: DeleteSqlInjectionMatchSetRequest.h:60
WAFRequest.h
Aws
Definition: AccessManagementClient.h:15
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest
Definition: DeleteSqlInjectionMatchSetRequest.h:26
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::GetSqlInjectionMatchSetId
const Aws::String & GetSqlInjectionMatchSetId() const
Definition: DeleteSqlInjectionMatchSetRequest.h:46
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::ChangeTokenHasBeenSet
bool ChangeTokenHasBeenSet() const
Definition: DeleteSqlInjectionMatchSetRequest.h:106
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(Aws::String &&value)
Definition: DeleteSqlInjectionMatchSetRequest.h:67
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17
Aws::WAF::Model::DeleteSqlInjectionMatchSetRequest::DeleteSqlInjectionMatchSetRequest
DeleteSqlInjectionMatchSetRequest()