AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateSqlInjectionMatchSetResult.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/model/SqlInjectionMatchSet.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WAFRegional
25{
26namespace Model
27{
35 {
36 public:
37 AWS_WAFREGIONAL_API CreateSqlInjectionMatchSetResult();
40
41
43
46 inline const SqlInjectionMatchSet& GetSqlInjectionMatchSet() const{ return m_sqlInjectionMatchSet; }
47 inline void SetSqlInjectionMatchSet(const SqlInjectionMatchSet& value) { m_sqlInjectionMatchSet = value; }
48 inline void SetSqlInjectionMatchSet(SqlInjectionMatchSet&& value) { m_sqlInjectionMatchSet = std::move(value); }
52
54
60 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
61 inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; }
62 inline void SetChangeToken(Aws::String&& value) { m_changeToken = std::move(value); }
63 inline void SetChangeToken(const char* value) { m_changeToken.assign(value); }
64 inline CreateSqlInjectionMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
65 inline CreateSqlInjectionMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
66 inline CreateSqlInjectionMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
68
70
71 inline const Aws::String& GetRequestId() const{ return m_requestId; }
72 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
73 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
74 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
75 inline CreateSqlInjectionMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline CreateSqlInjectionMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline CreateSqlInjectionMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 SqlInjectionMatchSet m_sqlInjectionMatchSet;
82
83 Aws::String m_changeToken;
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace WAFRegional
90} // namespace Aws
CreateSqlInjectionMatchSetResult & WithChangeToken(Aws::String &&value)
CreateSqlInjectionMatchSetResult & WithChangeToken(const Aws::String &value)
CreateSqlInjectionMatchSetResult & WithSqlInjectionMatchSet(const SqlInjectionMatchSet &value)
AWS_WAFREGIONAL_API CreateSqlInjectionMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSqlInjectionMatchSetResult & WithSqlInjectionMatchSet(SqlInjectionMatchSet &&value)
CreateSqlInjectionMatchSetResult & WithRequestId(const Aws::String &value)
AWS_WAFREGIONAL_API CreateSqlInjectionMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateSqlInjectionMatchSetResult & WithRequestId(const char *value)
CreateSqlInjectionMatchSetResult & WithRequestId(Aws::String &&value)
CreateSqlInjectionMatchSetResult & WithChangeToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue