AWS SDK for C++

AWS SDK for C++ Version 1.11.769

Loading...
Searching...
No Matches
GetXssMatchSetResult.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 GetXssMatchSetResult() = default;
36
38
48 inline const XssMatchSet& GetXssMatchSet() const { return m_xssMatchSet; }
49 template <typename XssMatchSetT = XssMatchSet>
50 void SetXssMatchSet(XssMatchSetT&& value) {
51 m_xssMatchSetHasBeenSet = true;
52 m_xssMatchSet = std::forward<XssMatchSetT>(value);
53 }
54 template <typename XssMatchSetT = XssMatchSet>
55 GetXssMatchSetResult& WithXssMatchSet(XssMatchSetT&& value) {
56 SetXssMatchSet(std::forward<XssMatchSetT>(value));
57 return *this;
58 }
60
62
63 inline const Aws::String& GetRequestId() const { return m_requestId; }
64 template <typename RequestIdT = Aws::String>
65 void SetRequestId(RequestIdT&& value) {
66 m_requestIdHasBeenSet = true;
67 m_requestId = std::forward<RequestIdT>(value);
68 }
69 template <typename RequestIdT = Aws::String>
70 GetXssMatchSetResult& WithRequestId(RequestIdT&& value) {
71 SetRequestId(std::forward<RequestIdT>(value));
72 return *this;
73 }
75 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
76
77 private:
78 XssMatchSet m_xssMatchSet;
79
80 Aws::String m_requestId;
81 Aws::Http::HttpResponseCode m_HttpResponseCode;
82 bool m_xssMatchSetHasBeenSet = false;
83 bool m_requestIdHasBeenSet = false;
84};
85
86} // namespace Model
87} // namespace WAF
88} // namespace Aws
GetXssMatchSetResult & WithRequestId(RequestIdT &&value)
AWS_WAF_API GetXssMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API GetXssMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
GetXssMatchSetResult & WithXssMatchSet(XssMatchSetT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetXssMatchSet(XssMatchSetT &&value)
const XssMatchSet & GetXssMatchSet() const
AWS_WAF_API GetXssMatchSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue