AWS SDK for C++  1.9.131
AWS SDK for C++
DeleteRegexPatternSetRequest.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 "DeleteRegexPatternSet"; }
31 
32  Aws::String SerializePayload() const override;
33 
35 
36 
42  inline const Aws::String& GetRegexPatternSetId() const{ return m_regexPatternSetId; }
43 
49  inline bool RegexPatternSetIdHasBeenSet() const { return m_regexPatternSetIdHasBeenSet; }
50 
56  inline void SetRegexPatternSetId(const Aws::String& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = value; }
57 
63  inline void SetRegexPatternSetId(Aws::String&& value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId = std::move(value); }
64 
70  inline void SetRegexPatternSetId(const char* value) { m_regexPatternSetIdHasBeenSet = true; m_regexPatternSetId.assign(value); }
71 
77  inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(const Aws::String& value) { SetRegexPatternSetId(value); return *this;}
78 
84  inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(Aws::String&& value) { SetRegexPatternSetId(std::move(value)); return *this;}
85 
91  inline DeleteRegexPatternSetRequest& WithRegexPatternSetId(const char* value) { SetRegexPatternSetId(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 DeleteRegexPatternSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
123 
127  inline DeleteRegexPatternSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
128 
132  inline DeleteRegexPatternSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
133 
134  private:
135 
136  Aws::String m_regexPatternSetId;
137  bool m_regexPatternSetIdHasBeenSet;
138 
139  Aws::String m_changeToken;
140  bool m_changeTokenHasBeenSet;
141  };
142 
143 } // namespace Model
144 } // namespace WAFRegional
145 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithRegexPatternSetId
DeleteRegexPatternSetRequest & WithRegexPatternSetId(Aws::String &&value)
Definition: DeleteRegexPatternSetRequest.h:84
Aws::WAFRegional::WAFRegionalRequest
Definition: WAFRegionalRequest.h:17
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::GetChangeToken
const Aws::String & GetChangeToken() const
Definition: DeleteRegexPatternSetRequest.h:97
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::ChangeTokenHasBeenSet
bool ChangeTokenHasBeenSet() const
Definition: DeleteRegexPatternSetRequest.h:102
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: DeleteRegexPatternSetRequest.h:30
AWS_WAFREGIONAL_API
#define AWS_WAFREGIONAL_API
Definition: WAFRegional_EXPORTS.h:28
WAFRegionalRequest.h
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetRegexPatternSetId
void SetRegexPatternSetId(Aws::String &&value)
Definition: DeleteRegexPatternSetRequest.h:63
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithRegexPatternSetId
DeleteRegexPatternSetRequest & WithRegexPatternSetId(const char *value)
Definition: DeleteRegexPatternSetRequest.h:91
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::DeleteRegexPatternSetRequest
DeleteRegexPatternSetRequest()
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetChangeToken
void SetChangeToken(Aws::String &&value)
Definition: DeleteRegexPatternSetRequest.h:112
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::RegexPatternSetIdHasBeenSet
bool RegexPatternSetIdHasBeenSet() const
Definition: DeleteRegexPatternSetRequest.h:49
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetChangeToken
void SetChangeToken(const char *value)
Definition: DeleteRegexPatternSetRequest.h:117
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest
Definition: DeleteRegexPatternSetRequest.h:22
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetRegexPatternSetId
void SetRegexPatternSetId(const char *value)
Definition: DeleteRegexPatternSetRequest.h:70
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetRegexPatternSetId
void SetRegexPatternSetId(const Aws::String &value)
Definition: DeleteRegexPatternSetRequest.h:56
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::GetRegexPatternSetId
const Aws::String & GetRegexPatternSetId() const
Definition: DeleteRegexPatternSetRequest.h:42
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithRegexPatternSetId
DeleteRegexPatternSetRequest & WithRegexPatternSetId(const Aws::String &value)
Definition: DeleteRegexPatternSetRequest.h:77
AWSString.h
WAFRegional_EXPORTS.h
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithChangeToken
DeleteRegexPatternSetRequest & WithChangeToken(const char *value)
Definition: DeleteRegexPatternSetRequest.h:132
Aws
Definition: AccessManagementClient.h:15
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithChangeToken
DeleteRegexPatternSetRequest & WithChangeToken(Aws::String &&value)
Definition: DeleteRegexPatternSetRequest.h:127
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::SetChangeToken
void SetChangeToken(const Aws::String &value)
Definition: DeleteRegexPatternSetRequest.h:107
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFRegional::Model::DeleteRegexPatternSetRequest::WithChangeToken
DeleteRegexPatternSetRequest & WithChangeToken(const Aws::String &value)
Definition: DeleteRegexPatternSetRequest.h:122