AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRegexMatchSetRequest.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/WAFRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/waf/model/RegexMatchSetUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WAF
17{
18namespace Model
19{
20
24 {
25 public:
27
28 // Service request name is the Operation name which will send this request out,
29 // each operation should has unique request name, so that we can get operation's name from this request.
30 // Note: this is not true for response, multiple operations may have the same response name,
31 // so we can not get operation's name from response.
32 inline virtual const char* GetServiceRequestName() const override { return "UpdateRegexMatchSet"; }
33
34 AWS_WAF_API Aws::String SerializePayload() const override;
35
37
38
40
45 inline const Aws::String& GetRegexMatchSetId() const{ return m_regexMatchSetId; }
46 inline bool RegexMatchSetIdHasBeenSet() const { return m_regexMatchSetIdHasBeenSet; }
47 inline void SetRegexMatchSetId(const Aws::String& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = value; }
48 inline void SetRegexMatchSetId(Aws::String&& value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId = std::move(value); }
49 inline void SetRegexMatchSetId(const char* value) { m_regexMatchSetIdHasBeenSet = true; m_regexMatchSetId.assign(value); }
51 inline UpdateRegexMatchSetRequest& WithRegexMatchSetId(Aws::String&& value) { SetRegexMatchSetId(std::move(value)); return *this;}
52 inline UpdateRegexMatchSetRequest& WithRegexMatchSetId(const char* value) { SetRegexMatchSetId(value); return *this;}
54
56
61 inline const Aws::Vector<RegexMatchSetUpdate>& GetUpdates() const{ return m_updates; }
62 inline bool UpdatesHasBeenSet() const { return m_updatesHasBeenSet; }
63 inline void SetUpdates(const Aws::Vector<RegexMatchSetUpdate>& value) { m_updatesHasBeenSet = true; m_updates = value; }
64 inline void SetUpdates(Aws::Vector<RegexMatchSetUpdate>&& value) { m_updatesHasBeenSet = true; m_updates = std::move(value); }
66 inline UpdateRegexMatchSetRequest& WithUpdates(Aws::Vector<RegexMatchSetUpdate>&& value) { SetUpdates(std::move(value)); return *this;}
67 inline UpdateRegexMatchSetRequest& AddUpdates(const RegexMatchSetUpdate& value) { m_updatesHasBeenSet = true; m_updates.push_back(value); return *this; }
68 inline UpdateRegexMatchSetRequest& AddUpdates(RegexMatchSetUpdate&& value) { m_updatesHasBeenSet = true; m_updates.push_back(std::move(value)); return *this; }
70
72
75 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
76 inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
77 inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
78 inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
79 inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
80 inline UpdateRegexMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
81 inline UpdateRegexMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
82 inline UpdateRegexMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
84 private:
85
86 Aws::String m_regexMatchSetId;
87 bool m_regexMatchSetIdHasBeenSet = false;
88
90 bool m_updatesHasBeenSet = false;
91
92 Aws::String m_changeToken;
93 bool m_changeTokenHasBeenSet = false;
94 };
95
96} // namespace Model
97} // namespace WAF
98} // namespace Aws
UpdateRegexMatchSetRequest & WithUpdates(const Aws::Vector< RegexMatchSetUpdate > &value)
UpdateRegexMatchSetRequest & AddUpdates(const RegexMatchSetUpdate &value)
UpdateRegexMatchSetRequest & AddUpdates(RegexMatchSetUpdate &&value)
const Aws::Vector< RegexMatchSetUpdate > & GetUpdates() const
void SetUpdates(Aws::Vector< RegexMatchSetUpdate > &&value)
virtual const char * GetServiceRequestName() const override
UpdateRegexMatchSetRequest & WithRegexMatchSetId(Aws::String &&value)
UpdateRegexMatchSetRequest & WithChangeToken(const Aws::String &value)
UpdateRegexMatchSetRequest & WithChangeToken(Aws::String &&value)
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRegexMatchSetRequest & WithChangeToken(const char *value)
UpdateRegexMatchSetRequest & WithRegexMatchSetId(const char *value)
UpdateRegexMatchSetRequest & WithUpdates(Aws::Vector< RegexMatchSetUpdate > &&value)
UpdateRegexMatchSetRequest & WithRegexMatchSetId(const Aws::String &value)
AWS_WAF_API Aws::String SerializePayload() const override
void SetUpdates(const Aws::Vector< RegexMatchSetUpdate > &value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector