AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSqlInjectionMatchSetRequest.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 <utility>
11
12namespace Aws
13{
14namespace WAF
15{
16namespace 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 "CreateSqlInjectionMatchSet"; }
35
36 AWS_WAF_API Aws::String SerializePayload() const override;
37
39
40
42
47 inline const Aws::String& GetName() const{ return m_name; }
48 inline bool NameHasBeenSet() const { return m_nameHasBeenSet; }
49 inline void SetName(const Aws::String& value) { m_nameHasBeenSet = true; m_name = value; }
50 inline void SetName(Aws::String&& value) { m_nameHasBeenSet = true; m_name = std::move(value); }
51 inline void SetName(const char* value) { m_nameHasBeenSet = true; m_name.assign(value); }
52 inline CreateSqlInjectionMatchSetRequest& WithName(const Aws::String& value) { SetName(value); return *this;}
53 inline CreateSqlInjectionMatchSetRequest& WithName(Aws::String&& value) { SetName(std::move(value)); return *this;}
54 inline CreateSqlInjectionMatchSetRequest& WithName(const char* value) { SetName(value); return *this;}
56
58
61 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
62 inline bool ChangeTokenHasBeenSet() const { return m_changeTokenHasBeenSet; }
63 inline void SetChangeToken(const Aws::String& value) { m_changeTokenHasBeenSet = true; m_changeToken = value; }
64 inline void SetChangeToken(Aws::String&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::move(value); }
65 inline void SetChangeToken(const char* value) { m_changeTokenHasBeenSet = true; m_changeToken.assign(value); }
66 inline CreateSqlInjectionMatchSetRequest& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
67 inline CreateSqlInjectionMatchSetRequest& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
68 inline CreateSqlInjectionMatchSetRequest& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
70 private:
71
72 Aws::String m_name;
73 bool m_nameHasBeenSet = false;
74
75 Aws::String m_changeToken;
76 bool m_changeTokenHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace WAF
81} // namespace Aws
CreateSqlInjectionMatchSetRequest & WithName(Aws::String &&value)
CreateSqlInjectionMatchSetRequest & WithName(const Aws::String &value)
AWS_WAF_API Aws::String SerializePayload() const override
AWS_WAF_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateSqlInjectionMatchSetRequest & WithChangeToken(const char *value)
CreateSqlInjectionMatchSetRequest & WithName(const char *value)
CreateSqlInjectionMatchSetRequest & WithChangeToken(const Aws::String &value)
CreateSqlInjectionMatchSetRequest & WithChangeToken(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String