AWS SDK for C++

AWS SDK for C++ Version 1.11.757

Loading...
Searching...
No Matches
GetRegexMatchSetResult.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/RegexMatchSet.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 {
26 public:
27 AWS_WAF_API GetRegexMatchSetResult() = default;
30
32
37 inline const RegexMatchSet& GetRegexMatchSet() const { return m_regexMatchSet; }
38 template <typename RegexMatchSetT = RegexMatchSet>
39 void SetRegexMatchSet(RegexMatchSetT&& value) {
40 m_regexMatchSetHasBeenSet = true;
41 m_regexMatchSet = std::forward<RegexMatchSetT>(value);
42 }
43 template <typename RegexMatchSetT = RegexMatchSet>
44 GetRegexMatchSetResult& WithRegexMatchSet(RegexMatchSetT&& value) {
45 SetRegexMatchSet(std::forward<RegexMatchSetT>(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 RegexMatchSet m_regexMatchSet;
68
69 Aws::String m_requestId;
70 Aws::Http::HttpResponseCode m_HttpResponseCode;
71 bool m_regexMatchSetHasBeenSet = false;
72 bool m_requestIdHasBeenSet = false;
73};
74
75} // namespace Model
76} // namespace WAF
77} // namespace Aws
Aws::Http::HttpResponseCode GetHttpResponseCode() const
const RegexMatchSet & GetRegexMatchSet() const
void SetRegexMatchSet(RegexMatchSetT &&value)
GetRegexMatchSetResult & WithRegexMatchSet(RegexMatchSetT &&value)
AWS_WAF_API GetRegexMatchSetResult()=default
AWS_WAF_API GetRegexMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegexMatchSetResult & WithRequestId(RequestIdT &&value)
AWS_WAF_API GetRegexMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue