AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
CreateRegexMatchSetResult.h
1
6#pragma once
7#include <aws/waf/WAF_EXPORTS.h>
8#include <aws/waf/model/RegexMatchSet.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 WAF
25{
26namespace Model
27{
29 {
30 public:
34
35
37
41 inline const RegexMatchSet& GetRegexMatchSet() const{ return m_regexMatchSet; }
42 inline void SetRegexMatchSet(const RegexMatchSet& value) { m_regexMatchSet = value; }
43 inline void SetRegexMatchSet(RegexMatchSet&& value) { m_regexMatchSet = std::move(value); }
44 inline CreateRegexMatchSetResult& WithRegexMatchSet(const RegexMatchSet& value) { SetRegexMatchSet(value); return *this;}
45 inline CreateRegexMatchSetResult& WithRegexMatchSet(RegexMatchSet&& value) { SetRegexMatchSet(std::move(value)); return *this;}
47
49
55 inline const Aws::String& GetChangeToken() const{ return m_changeToken; }
56 inline void SetChangeToken(const Aws::String& value) { m_changeToken = value; }
57 inline void SetChangeToken(Aws::String&& value) { m_changeToken = std::move(value); }
58 inline void SetChangeToken(const char* value) { m_changeToken.assign(value); }
59 inline CreateRegexMatchSetResult& WithChangeToken(const Aws::String& value) { SetChangeToken(value); return *this;}
60 inline CreateRegexMatchSetResult& WithChangeToken(Aws::String&& value) { SetChangeToken(std::move(value)); return *this;}
61 inline CreateRegexMatchSetResult& WithChangeToken(const char* value) { SetChangeToken(value); return *this;}
63
65
66 inline const Aws::String& GetRequestId() const{ return m_requestId; }
67 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
68 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
69 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
70 inline CreateRegexMatchSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
71 inline CreateRegexMatchSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
72 inline CreateRegexMatchSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
74 private:
75
76 RegexMatchSet m_regexMatchSet;
77
78 Aws::String m_changeToken;
79
80 Aws::String m_requestId;
81 };
82
83} // namespace Model
84} // namespace WAF
85} // namespace Aws
CreateRegexMatchSetResult & WithRequestId(const Aws::String &value)
CreateRegexMatchSetResult & WithRegexMatchSet(const RegexMatchSet &value)
CreateRegexMatchSetResult & WithRegexMatchSet(RegexMatchSet &&value)
CreateRegexMatchSetResult & WithChangeToken(const Aws::String &value)
CreateRegexMatchSetResult & WithRequestId(const char *value)
AWS_WAF_API CreateRegexMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegexMatchSetResult & WithChangeToken(const char *value)
void SetRegexMatchSet(const RegexMatchSet &value)
CreateRegexMatchSetResult & WithChangeToken(Aws::String &&value)
AWS_WAF_API CreateRegexMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegexMatchSetResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue