AWS SDK for C++  1.9.72
AWS SDK for C++
DeleteXssMatchSetRequest.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 "DeleteXssMatchSet"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
46  inline const Aws::String& GetXssMatchSetId() const{ return m_xssMatchSetId; }
47 
53  inline bool XssMatchSetIdHasBeenSet() const { return m_xssMatchSetIdHasBeenSet; }
54 
60  inline void SetXssMatchSetId(const Aws::String& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = value; }
61 
67  inline void SetXssMatchSetId(Aws::String&& value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId = std::move(value); }
68 
74  inline void SetXssMatchSetId(const char* value) { m_xssMatchSetIdHasBeenSet = true; m_xssMatchSetId.assign(value); }
75 
81  inline DeleteXssMatchSetRequest& WithXssMatchSetId(const Aws::String& value) { SetXssMatchSetId(value); return *this;}
82 
88  inline DeleteXssMatchSetRequest& WithXssMatchSetId(Aws::String&& value) { SetXssMatchSetId(std::move(value)); return *this;}
89 
95  inline DeleteXssMatchSetRequest& WithXssMatchSetId(const char* value) { SetXssMatchSetId(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 DeleteXssMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
127 
131  inline DeleteXssMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
132 
136  inline DeleteXssMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
137 
138  private:
139 
140  Aws::String m_xssMatchSetId;
141  bool m_xssMatchSetIdHasBeenSet;
142 
143  Aws::String m_changeToken;
144  bool m_changeTokenHasBeenSet;
145  };
146 
147 } // namespace Model
148 } // namespace WAF
149 } // namespace Aws
Aws::WAF::Model::DeleteXssMatchSetRequest::WithChangeToken
DeleteXssMatchSetRequest & WithChangeToken(const char *value)
Definition: DeleteXssMatchSetRequest.h:136
Aws::WAF::Model::DeleteXssMatchSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAF::Model::DeleteXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(const char *value)
Definition: DeleteXssMatchSetRequest.h:74
Aws::WAF::Model::DeleteXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(Aws::String &&value)
Definition: DeleteXssMatchSetRequest.h:67
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::DeleteXssMatchSetRequest
Definition: DeleteXssMatchSetRequest.h:26
Aws::WAF::Model::DeleteXssMatchSetRequest::SetChangeToken
void SetChangeToken(const char *value)
Definition: DeleteXssMatchSetRequest.h:121
Aws::WAF::Model::DeleteXssMatchSetRequest::DeleteXssMatchSetRequest
DeleteXssMatchSetRequest()
Aws::WAF::Model::DeleteXssMatchSetRequest::SetChangeToken
void SetChangeToken(Aws::String &&value)
Definition: DeleteXssMatchSetRequest.h:116
Aws::WAF::Model::DeleteXssMatchSetRequest::GetXssMatchSetId
const Aws::String & GetXssMatchSetId() const
Definition: DeleteXssMatchSetRequest.h:46
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::DeleteXssMatchSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAF::Model::DeleteXssMatchSetRequest::WithXssMatchSetId
DeleteXssMatchSetRequest & WithXssMatchSetId(const char *value)
Definition: DeleteXssMatchSetRequest.h:95
Aws::WAF::Model::DeleteXssMatchSetRequest::SetChangeToken
void SetChangeToken(const Aws::String &value)
Definition: DeleteXssMatchSetRequest.h:111
AWSString.h
Aws::WAF::Model::DeleteXssMatchSetRequest::XssMatchSetIdHasBeenSet
bool XssMatchSetIdHasBeenSet() const
Definition: DeleteXssMatchSetRequest.h:53
Aws::WAF::Model::DeleteXssMatchSetRequest::ChangeTokenHasBeenSet
bool ChangeTokenHasBeenSet() const
Definition: DeleteXssMatchSetRequest.h:106
Aws::WAF::Model::DeleteXssMatchSetRequest::GetChangeToken
const Aws::String & GetChangeToken() const
Definition: DeleteXssMatchSetRequest.h:101
Aws::WAF::Model::DeleteXssMatchSetRequest::WithChangeToken
DeleteXssMatchSetRequest & WithChangeToken(Aws::String &&value)
Definition: DeleteXssMatchSetRequest.h:131
WAF_EXPORTS.h
Aws::WAF::Model::DeleteXssMatchSetRequest::WithXssMatchSetId
DeleteXssMatchSetRequest & WithXssMatchSetId(const Aws::String &value)
Definition: DeleteXssMatchSetRequest.h:81
WAFRequest.h
Aws::WAF::Model::DeleteXssMatchSetRequest::WithXssMatchSetId
DeleteXssMatchSetRequest & WithXssMatchSetId(Aws::String &&value)
Definition: DeleteXssMatchSetRequest.h:88
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::DeleteXssMatchSetRequest::WithChangeToken
DeleteXssMatchSetRequest & WithChangeToken(const Aws::String &value)
Definition: DeleteXssMatchSetRequest.h:126
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17
Aws::WAF::Model::DeleteXssMatchSetRequest::SetXssMatchSetId
void SetXssMatchSetId(const Aws::String &value)
Definition: DeleteXssMatchSetRequest.h:60
Aws::WAF::Model::DeleteXssMatchSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteXssMatchSetRequest.h:34