AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRegexPatternSetResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/RegexPatternSet.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace WAFV2
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAFV2_API GetRegexPatternSetResult();
34
35
37
40 inline const RegexPatternSet& GetRegexPatternSet() const{ return m_regexPatternSet; }
41 inline void SetRegexPatternSet(const RegexPatternSet& value) { m_regexPatternSet = value; }
42 inline void SetRegexPatternSet(RegexPatternSet&& value) { m_regexPatternSet = std::move(value); }
44 inline GetRegexPatternSetResult& WithRegexPatternSet(RegexPatternSet&& value) { SetRegexPatternSet(std::move(value)); return *this;}
46
48
58 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
59 inline void SetLockToken(const Aws::String& value) { m_lockToken = value; }
60 inline void SetLockToken(Aws::String&& value) { m_lockToken = std::move(value); }
61 inline void SetLockToken(const char* value) { m_lockToken.assign(value); }
62 inline GetRegexPatternSetResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
63 inline GetRegexPatternSetResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
64 inline GetRegexPatternSetResult& WithLockToken(const char* value) { SetLockToken(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetRegexPatternSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetRegexPatternSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetRegexPatternSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 RegexPatternSet m_regexPatternSet;
80
81 Aws::String m_lockToken;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace WAFV2
88} // namespace Aws
GetRegexPatternSetResult & WithRequestId(const Aws::String &value)
GetRegexPatternSetResult & WithRegexPatternSet(RegexPatternSet &&value)
GetRegexPatternSetResult & WithLockToken(const char *value)
AWS_WAFV2_API GetRegexPatternSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRegexPatternSet(const RegexPatternSet &value)
GetRegexPatternSetResult & WithLockToken(const Aws::String &value)
AWS_WAFV2_API GetRegexPatternSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRegexPatternSetResult & WithLockToken(Aws::String &&value)
GetRegexPatternSetResult & WithRegexPatternSet(const RegexPatternSet &value)
GetRegexPatternSetResult & WithRequestId(Aws::String &&value)
GetRegexPatternSetResult & WithRequestId(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue