AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
CreateXssMatchSetResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/waf/WAF_EXPORTS.h>
9#include <aws/waf/model/XssMatchSet.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace WAF {
23namespace Model {
31 public:
32 AWS_WAF_API CreateXssMatchSetResult() = default;
35
37
40 inline const XssMatchSet& GetXssMatchSet() const { return m_xssMatchSet; }
41 template <typename XssMatchSetT = XssMatchSet>
42 void SetXssMatchSet(XssMatchSetT&& value) {
43 m_xssMatchSetHasBeenSet = true;
44 m_xssMatchSet = std::forward<XssMatchSetT>(value);
45 }
46 template <typename XssMatchSetT = XssMatchSet>
48 SetXssMatchSet(std::forward<XssMatchSetT>(value));
49 return *this;
50 }
52
54
60 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
61 template <typename ChangeTokenT = Aws::String>
62 void SetChangeToken(ChangeTokenT&& value) {
63 m_changeTokenHasBeenSet = true;
64 m_changeToken = std::forward<ChangeTokenT>(value);
65 }
66 template <typename ChangeTokenT = Aws::String>
68 SetChangeToken(std::forward<ChangeTokenT>(value));
69 return *this;
70 }
72
74
75 inline const Aws::String& GetRequestId() const { return m_requestId; }
76 template <typename RequestIdT = Aws::String>
77 void SetRequestId(RequestIdT&& value) {
78 m_requestIdHasBeenSet = true;
79 m_requestId = std::forward<RequestIdT>(value);
80 }
81 template <typename RequestIdT = Aws::String>
83 SetRequestId(std::forward<RequestIdT>(value));
84 return *this;
85 }
87 private:
88 XssMatchSet m_xssMatchSet;
89
90 Aws::String m_changeToken;
91
92 Aws::String m_requestId;
93 bool m_xssMatchSetHasBeenSet = false;
94 bool m_changeTokenHasBeenSet = false;
95 bool m_requestIdHasBeenSet = false;
96};
97
98} // namespace Model
99} // namespace WAF
100} // 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
CreateXssMatchSetResult & WithChangeToken(ChangeTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue