AWS SDK for C++

AWS SDK for C++ Version 1.11.746

Loading...
Searching...
No Matches
GetRegexPatternSetResult.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/RegexPatternSet.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 GetRegexPatternSetResult() = default;
29
31
36 inline const RegexPatternSet& GetRegexPatternSet() const { return m_regexPatternSet; }
37 template <typename RegexPatternSetT = RegexPatternSet>
38 void SetRegexPatternSet(RegexPatternSetT&& value) {
39 m_regexPatternSetHasBeenSet = true;
40 m_regexPatternSet = std::forward<RegexPatternSetT>(value);
41 }
42 template <typename RegexPatternSetT = RegexPatternSet>
43 GetRegexPatternSetResult& WithRegexPatternSet(RegexPatternSetT&& value) {
44 SetRegexPatternSet(std::forward<RegexPatternSetT>(value));
45 return *this;
46 }
48
50
51 inline const Aws::String& GetRequestId() const { return m_requestId; }
52 template <typename RequestIdT = Aws::String>
53 void SetRequestId(RequestIdT&& value) {
54 m_requestIdHasBeenSet = true;
55 m_requestId = std::forward<RequestIdT>(value);
56 }
57 template <typename RequestIdT = Aws::String>
59 SetRequestId(std::forward<RequestIdT>(value));
60 return *this;
61 }
63 private:
64 RegexPatternSet m_regexPatternSet;
65
66 Aws::String m_requestId;
67 bool m_regexPatternSetHasBeenSet = false;
68 bool m_requestIdHasBeenSet = false;
69};
70
71} // namespace Model
72} // namespace WAF
73} // namespace Aws
void SetRegexPatternSet(RegexPatternSetT &&value)
GetRegexPatternSetResult & WithRequestId(RequestIdT &&value)
const RegexPatternSet & GetRegexPatternSet() const
AWS_WAF_API GetRegexPatternSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API GetRegexPatternSetResult()=default
AWS_WAF_API GetRegexPatternSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegexPatternSetResult & WithRegexPatternSet(RegexPatternSetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue