AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
UpdateRegexMatchSetResult.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
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 {
25 public:
26 AWS_WAF_API UpdateRegexMatchSetResult() = default;
29
31
37 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
38 template <typename ChangeTokenT = Aws::String>
39 void SetChangeToken(ChangeTokenT&& value) {
40 m_changeTokenHasBeenSet = true;
41 m_changeToken = std::forward<ChangeTokenT>(value);
42 }
43 template <typename ChangeTokenT = Aws::String>
45 SetChangeToken(std::forward<ChangeTokenT>(value));
46 return *this;
47 }
49
51
52 inline const Aws::String& GetRequestId() const { return m_requestId; }
53 template <typename RequestIdT = Aws::String>
54 void SetRequestId(RequestIdT&& value) {
55 m_requestIdHasBeenSet = true;
56 m_requestId = std::forward<RequestIdT>(value);
57 }
58 template <typename RequestIdT = Aws::String>
60 SetRequestId(std::forward<RequestIdT>(value));
61 return *this;
62 }
64 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
65
66 private:
67 Aws::String m_changeToken;
68
69 Aws::String m_requestId;
70 Aws::Http::HttpResponseCode m_HttpResponseCode;
71 bool m_changeTokenHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace WAF
77} // namespace Aws
AWS_WAF_API UpdateRegexMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API UpdateRegexMatchSetResult()=default
AWS_WAF_API UpdateRegexMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRegexMatchSetResult & WithRequestId(RequestIdT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateRegexMatchSetResult & WithChangeToken(ChangeTokenT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue