AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateSqlInjectionMatchSetRequest.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/SqlInjectionMatchSetUpdate.h>
12#include <utility>
13
14namespace Aws
15{
16namespace WAF
17{
18namespace Model
19{
20
28 {
29 public:
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "UpdateSqlInjectionMatchSet"; }
37
38 AWS_WAF_API Aws::String SerializePayload() const override;
39
41
42
44
50 inline const Aws::String& GetSqlInjectionMatchSetId() const{ return m_sqlInjectionMatchSetId; }
51 inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
52 inline void SetSqlInjectionMatchSetId(const Aws::String& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = value; }
53 inline void SetSqlInjectionMatchSetId(Aws::String&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::move(value); }
54 inline void SetSqlInjectionMatchSetId(const char* value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId.assign(value); }
59
61
64 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
65 inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
66 inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
67 inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
68 inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
69 inline UpdateSqlInjectionMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
70 inline UpdateSqlInjectionMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
71 inline UpdateSqlInjectionMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
73
75
85 inline const Aws::Vector<SqlInjectionMatchSetUpdate>& GetUpdates() const{ return m_updates; }
86 inline bool UpdatesHasBeenSet() const { return m_updatesHasBeenSet; }
87 inline void SetUpdates(const Aws::Vector<SqlInjectionMatchSetUpdate>& value) { m_updatesHasBeenSet = true; m_updates = value; }
88 inline void SetUpdates(Aws::Vector<SqlInjectionMatchSetUpdate>&& value) { m_updatesHasBeenSet = true; m_updates = std::move(value); }
91 inline UpdateSqlInjectionMatchSetRequest& AddUpdates(const SqlInjectionMatchSetUpdate& value) { m_updatesHasBeenSet = true; m_updates.push_back(value); return *this; }
92 inline UpdateSqlInjectionMatchSetRequest& AddUpdates(SqlInjectionMatchSetUpdate&& value) { m_updatesHasBeenSet = true; m_updates.push_back(std::move(value)); return *this; }
94 private:
95
96 Aws::String m_sqlInjectionMatchSetId;
97 bool m_sqlInjectionMatchSetIdHasBeenSet = false;
98
99 Aws::String m_changeToken;
100 bool m_changeTokenHasBeenSet = false;
101
103 bool m_updatesHasBeenSet = false;
104 };
105
106} // namespace Model
107} // namespace WAF
108} // namespace Aws
UpdateSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(Aws::String &&value)
const Aws::Vector< SqlInjectionMatchSetUpdate > & GetUpdates() const
UpdateSqlInjectionMatchSetRequest & AddUpdates(SqlInjectionMatchSetUpdate &&value)
void SetUpdates(const Aws::Vector< SqlInjectionMatchSetUpdate > &value)
UpdateSqlInjectionMatchSetRequest & WithChangeToken(const char *value)
UpdateSqlInjectionMatchSetRequest & WithUpdates(Aws::Vector< SqlInjectionMatchSetUpdate > &&value)
UpdateSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const char *value)
void SetUpdates(Aws::Vector< SqlInjectionMatchSetUpdate > &&value)
UpdateSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const Aws::String &value)
UpdateSqlInjectionMatchSetRequest & AddUpdates(const SqlInjectionMatchSetUpdate &value)
UpdateSqlInjectionMatchSetRequest & WithChangeToken(const Aws::String &value)
UpdateSqlInjectionMatchSetRequest & WithChangeToken(Aws::String &&value)
AWS_WAF_API Aws::String SerializePayload() const override
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateSqlInjectionMatchSetRequest & WithUpdates(const Aws::Vector< SqlInjectionMatchSetUpdate > &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