AWS SDK for C++  1.9.72
AWS SDK for C++
GetSqlInjectionMatchSetRequest.h
Go to the documentation of this file.
1 
6 #pragma once
7 #include <aws/waf/WAF_EXPORTS.h>
8 #include <aws/waf/WAFRequest.h>
10 #include <utility>
11 
12 namespace Aws
13 {
14 namespace WAF
15 {
16 namespace Model
17 {
18 
25  {
26  public:
28 
29  // Service request name is the Operation name which will send this request out,
30  // each operation should has unique request name, so that we can get operation's name from this request.
31  // Note: this is not true for response, multiple operations may have the same response name,
32  // so we can not get operation's name from response.
33  inline virtual const char* GetServiceRequestName() const override { return "GetSqlInjectionMatchSet"; }
34 
35  Aws::String SerializePayload() const override;
36 
38 
39 
45  inline const Aws::String& GetSqlInjectionMatchSetId() const{ return m_sqlInjectionMatchSetId; }
46 
52  inline bool SqlInjectionMatchSetIdHasBeenSet() const { return m_sqlInjectionMatchSetIdHasBeenSet; }
53 
59  inline void SetSqlInjectionMatchSetId(const Aws::String& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = value; }
60 
66  inline void SetSqlInjectionMatchSetId(Aws::String&& value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId = std::move(value); }
67 
73  inline void SetSqlInjectionMatchSetId(const char* value) { m_sqlInjectionMatchSetIdHasBeenSet = true; m_sqlInjectionMatchSetId.assign(value); }
74 
80  inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const Aws::String& value) { SetSqlInjectionMatchSetId(value); return *this;}
81 
87  inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(Aws::String&& value) { SetSqlInjectionMatchSetId(std::move(value)); return *this;}
88 
94  inline GetSqlInjectionMatchSetRequest& WithSqlInjectionMatchSetId(const char* value) { SetSqlInjectionMatchSetId(value); return *this;}
95 
96  private:
97 
98  Aws::String m_sqlInjectionMatchSetId;
99  bool m_sqlInjectionMatchSetIdHasBeenSet;
100  };
101 
102 } // namespace Model
103 } // namespace WAF
104 } // namespace Aws
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::WAF::Model::GetSqlInjectionMatchSetRequest
Definition: GetSqlInjectionMatchSetRequest.h:25
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
GetSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const char *value)
Definition: GetSqlInjectionMatchSetRequest.h:94
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::GetSqlInjectionMatchSetRequest
GetSqlInjectionMatchSetRequest()
AWS_WAF_API
#define AWS_WAF_API
Definition: WAF_EXPORTS.h:28
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(const Aws::String &value)
Definition: GetSqlInjectionMatchSetRequest.h:59
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(const char *value)
Definition: GetSqlInjectionMatchSetRequest.h:73
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::SetSqlInjectionMatchSetId
void SetSqlInjectionMatchSetId(Aws::String &&value)
Definition: GetSqlInjectionMatchSetRequest.h:66
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::SqlInjectionMatchSetIdHasBeenSet
bool SqlInjectionMatchSetIdHasBeenSet() const
Definition: GetSqlInjectionMatchSetRequest.h:52
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
GetSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(Aws::String &&value)
Definition: GetSqlInjectionMatchSetRequest.h:87
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::WithSqlInjectionMatchSetId
GetSqlInjectionMatchSetRequest & WithSqlInjectionMatchSetId(const Aws::String &value)
Definition: GetSqlInjectionMatchSetRequest.h:80
AWSString.h
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::GetSqlInjectionMatchSetId
const Aws::String & GetSqlInjectionMatchSetId() const
Definition: GetSqlInjectionMatchSetRequest.h:45
WAF_EXPORTS.h
WAFRequest.h
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::SerializePayload
Aws::String SerializePayload() const override
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAF::Model::GetSqlInjectionMatchSetRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: GetSqlInjectionMatchSetRequest.h:33
Aws::WAF::WAFRequest
Definition: WAFRequest.h:17