AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
CreateXssMatchSetResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/waf/WAF_EXPORTS.h>
10#include <aws/waf/model/XssMatchSet.h>
11
12#include <utility>
13
14namespace Aws {
15template <typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils {
19namespace Json {
20class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WAF {
24namespace Model {
32 public:
33 AWS_WAF_API CreateXssMatchSetResult() = default;
36
38
41 inline const XssMatchSet& GetXssMatchSet() const { return m_xssMatchSet; }
42 template <typename XssMatchSetT = XssMatchSet>
43 void SetXssMatchSet(XssMatchSetT&& value) {
44 m_xssMatchSetHasBeenSet = true;
45 m_xssMatchSet = std::forward<XssMatchSetT>(value);
46 }
47 template <typename XssMatchSetT = XssMatchSet>
49 SetXssMatchSet(std::forward<XssMatchSetT>(value));
50 return *this;
51 }
53
55
61 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
62 template <typename ChangeTokenT = Aws::String>
63 void SetChangeToken(ChangeTokenT&& value) {
64 m_changeTokenHasBeenSet = true;
65 m_changeToken = std::forward<ChangeTokenT>(value);
66 }
67 template <typename ChangeTokenT = Aws::String>
69 SetChangeToken(std::forward<ChangeTokenT>(value));
70 return *this;
71 }
73
75
76 inline const Aws::String& GetRequestId() const { return m_requestId; }
77 template <typename RequestIdT = Aws::String>
78 void SetRequestId(RequestIdT&& value) {
79 m_requestIdHasBeenSet = true;
80 m_requestId = std::forward<RequestIdT>(value);
81 }
82 template <typename RequestIdT = Aws::String>
84 SetRequestId(std::forward<RequestIdT>(value));
85 return *this;
86 }
88 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
89
90 private:
91 XssMatchSet m_xssMatchSet;
92
93 Aws::String m_changeToken;
94
95 Aws::String m_requestId;
96 Aws::Http::HttpResponseCode m_HttpResponseCode;
97 bool m_xssMatchSetHasBeenSet = false;
98 bool m_changeTokenHasBeenSet = false;
99 bool m_requestIdHasBeenSet = false;
100};
101
102} // namespace Model
103} // namespace WAF
104} // namespace Aws
CreateXssMatchSetResult & WithXssMatchSet(XssMatchSetT &&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(RequestIdT &&value)
AWS_WAF_API CreateXssMatchSetResult()=default
Aws::Http::HttpResponseCode GetHttpResponseCode() const
CreateXssMatchSetResult & WithChangeToken(ChangeTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue