AWS SDK for C++

AWS SDK for C++ Version 1.11.744

Loading...
Searching...
No Matches
CreateRegexPatternSetResult.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 CreateRegexPatternSetResult() = default;
29
31
34 inline const RegexPatternSet& GetRegexPatternSet() const { return m_regexPatternSet; }
35 template <typename RegexPatternSetT = RegexPatternSet>
36 void SetRegexPatternSet(RegexPatternSetT&& value) {
37 m_regexPatternSetHasBeenSet = true;
38 m_regexPatternSet = std::forward<RegexPatternSetT>(value);
39 }
40 template <typename RegexPatternSetT = RegexPatternSet>
42 SetRegexPatternSet(std::forward<RegexPatternSetT>(value));
43 return *this;
44 }
46
48
54 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
55 template <typename ChangeTokenT = Aws::String>
56 void SetChangeToken(ChangeTokenT&& value) {
57 m_changeTokenHasBeenSet = true;
58 m_changeToken = std::forward<ChangeTokenT>(value);
59 }
60 template <typename ChangeTokenT = Aws::String>
62 SetChangeToken(std::forward<ChangeTokenT>(value));
63 return *this;
64 }
66
68
69 inline const Aws::String& GetRequestId() const { return m_requestId; }
70 template <typename RequestIdT = Aws::String>
71 void SetRequestId(RequestIdT&& value) {
72 m_requestIdHasBeenSet = true;
73 m_requestId = std::forward<RequestIdT>(value);
74 }
75 template <typename RequestIdT = Aws::String>
77 SetRequestId(std::forward<RequestIdT>(value));
78 return *this;
79 }
81 private:
82 RegexPatternSet m_regexPatternSet;
83
84 Aws::String m_changeToken;
85
86 Aws::String m_requestId;
87 bool m_regexPatternSetHasBeenSet = false;
88 bool m_changeTokenHasBeenSet = false;
89 bool m_requestIdHasBeenSet = false;
90};
91
92} // namespace Model
93} // namespace WAF
94} // namespace Aws
AWS_WAF_API CreateRegexPatternSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAF_API CreateRegexPatternSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegexPatternSetResult & WithRegexPatternSet(RegexPatternSetT &&value)
CreateRegexPatternSetResult & WithRequestId(RequestIdT &&value)
CreateRegexPatternSetResult & WithChangeToken(ChangeTokenT &&value)
AWS_WAF_API CreateRegexPatternSetResult()=default
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue