AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateXssMatchSetResult.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/XssMatchSet.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 WAF
25{
26namespace Model
27{
35 {
36 public:
40
41
43
46 inline const XssMatchSet& GetXssMatchSet() const{ return m_xssMatchSet; }
47 inline void SetXssMatchSet(const XssMatchSet& value) { m_xssMatchSet = value; }
48 inline void SetXssMatchSet(XssMatchSet&& value) { m_xssMatchSet = std::move(value); }
49 inline CreateXssMatchSetResult& WithXssMatchSet(const XssMatchSet& value) { SetXssMatchSet(value); return *this;}
50 inline CreateXssMatchSetResult& WithXssMatchSet(XssMatchSet&& value) { SetXssMatchSet(std::move(value)); return *this;}
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 CreateXssMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
65 inline CreateXssMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
66 inline CreateXssMatchSetResult& 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 CreateXssMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
76 inline CreateXssMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
77 inline CreateXssMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
79 private:
80
81 XssMatchSet m_xssMatchSet;
82
83 Aws::String m_changeToken;
84
85 Aws::String m_requestId;
86 };
87
88} // namespace Model
89} // namespace WAF
90} // namespace Aws
void SetChangeToken(const Aws::String &value)
CreateXssMatchSetResult & WithRequestId(const Aws::String &value)
void SetXssMatchSet(const XssMatchSet &value)
CreateXssMatchSetResult & WithRequestId(Aws::String &&value)
CreateXssMatchSetResult & WithXssMatchSet(const XssMatchSet &value)
CreateXssMatchSetResult & WithChangeToken(Aws::String &&value)
CreateXssMatchSetResult & WithChangeToken(const char *value)
CreateXssMatchSetResult & WithXssMatchSet(XssMatchSet &&value)
AWS_WAF_API CreateXssMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API CreateXssMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateXssMatchSetResult & WithRequestId(const char *value)
CreateXssMatchSetResult & WithChangeToken(const Aws::String &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue