AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteRegexMatchSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAFRegional
15 {
16 namespace Model
17 {
18 
22  {
23  public:
25 
26  // Service request name is the Operation name which will send this request out,
27  // each operation should has unique request name, so that we can get operation's name from this request.
28  // Note: this is not true for response, multiple operations may have the same response name,
29  // so we can not get operation's name from response.
30  inline virtual const char* GetServiceRequestName() const override { return "DeleteRegexMatchSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetRegexMatchSetId() const{ return m_regexMatchSetId; }
43 
49  inline bool RegexMatchSetIdHasBeenSet() const { return m_regexMatchSetIdHasBeenSet; }
50 
56  inline void SetRegexMatchSetId(const Aws::String& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = value; }
57 
63  inline void SetRegexMatchSetId(Aws::String&& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = std::move(value); }
64 
70  inline void SetRegexMatchSetId(const char* value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId.assign(value); }
71 
77  inline DeleteRegexMatchSetRequest& WithRegexMatchSetId(const Aws::String& value) { SetRegexMatchSetId(value); return *this;}
78 
84  inline DeleteRegexMatchSetRequest& WithRegexMatchSetId(Aws::String&& value) { SetRegexMatchSetId(std::move(value)); return *this;}
85 
91  inline DeleteRegexMatchSetRequest& WithRegexMatchSetId(const char* value) { SetRegexMatchSetId(value); return *this;}
92 
93 
97  inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
98 
102  inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
103 
107  inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
108 
112  inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
113 
117  inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
118 
122  inline DeleteRegexMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
123 
127  inline DeleteRegexMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
128 
132  inline DeleteRegexMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
133 
134  private:
135 
136  Aws::String m_regexMatchSetId;
137  bool m_regexMatchSetIdHasBeenSet;
138 
139  Aws::String m_changeToken;
140  bool m_changeTokenHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace WAFRegional
145 } // namespace Aws
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithRegexMatchSetId
DeleteRegexMatchSetRequest & WithRegexMatchSetId(const Aws::String &value)
Definition: DeleteRegexMatchSetRequest.h:77
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithChangeToken
DeleteRegexMatchSetRequest & WithChangeToken(const Aws::String &value)
Definition: DeleteRegexMatchSetRequest.h:122
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFRegional::WAFRegionalRequest
Definition: WAFRegionalRequest.h:17
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetRegexMatchSetId
void SetRegexMatchSetId(Aws::String &&value)
Definition: DeleteRegexMatchSetRequest.h:63
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetChangeToken
void SetChangeToken(const Aws::String &value)
Definition: DeleteRegexMatchSetRequest.h:107
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRegexMatchSetRequest.h:30
AWS_WAFREGIONAL_API
#define AWS_WAFREGIONAL_API
Definition: WAFRegional_EXPORTS.h:28
WAFRegionalRequest.h
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::GetRegexMatchSetId
const Aws::String & GetRegexMatchSetId() const
Definition: DeleteRegexMatchSetRequest.h:42
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithChangeToken
DeleteRegexMatchSetRequest & WithChangeToken(Aws::String &&value)
Definition: DeleteRegexMatchSetRequest.h:127
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::GetChangeToken
const Aws::String & GetChangeToken() const
Definition: DeleteRegexMatchSetRequest.h:97
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetRegexMatchSetId
void SetRegexMatchSetId(const char *value)
Definition: DeleteRegexMatchSetRequest.h:70
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::RegexMatchSetIdHasBeenSet
bool RegexMatchSetIdHasBeenSet() const
Definition: DeleteRegexMatchSetRequest.h:49
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithChangeToken
DeleteRegexMatchSetRequest & WithChangeToken(const char *value)
Definition: DeleteRegexMatchSetRequest.h:132
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::DeleteRegexMatchSetRequest
DeleteRegexMatchSetRequest()
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithRegexMatchSetId
DeleteRegexMatchSetRequest & WithRegexMatchSetId(const char *value)
Definition: DeleteRegexMatchSetRequest.h:91
AWSString.h
WAFRegional_EXPORTS.h
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest
Definition: DeleteRegexMatchSetRequest.h:22
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetChangeToken
void SetChangeToken(const char *value)
Definition: DeleteRegexMatchSetRequest.h:117
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetChangeToken
void SetChangeToken(Aws::String &&value)
Definition: DeleteRegexMatchSetRequest.h:112
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::WithRegexMatchSetId
DeleteRegexMatchSetRequest & WithRegexMatchSetId(Aws::String &&value)
Definition: DeleteRegexMatchSetRequest.h:84
Aws
Definition: AccessManagementClient.h:15
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::ChangeTokenHasBeenSet
bool ChangeTokenHasBeenSet() const
Definition: DeleteRegexMatchSetRequest.h:102
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SetRegexMatchSetId
void SetRegexMatchSetId(const Aws::String &value)
Definition: DeleteRegexMatchSetRequest.h:56
Aws::WAFRegional::Model::DeleteRegexMatchSetRequest::SerializePayload
Aws::String SerializePayload() const override