AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
CreateRegexMatchSetResult.h
1
6#pragma once
7#include <aws/waf-regional/WAFRegional_EXPORTS.h>
8#include <aws/waf-regional/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 WAFRegional
25{
26namespace Model
27{
29 {
30 public:
31 AWS_WAFREGIONAL_API CreateRegexMatchSetResult() = default;
34
35
37
41 inline const RegexMatchSet& GetRegexMatchSet() const { return m_regexMatchSet; }
42 template<typename RegexMatchSetT = RegexMatchSet>
43 void SetRegexMatchSet(RegexMatchSetT&& value) { m_regexMatchSetHasBeenSet = true; m_regexMatchSet = std::forward<RegexMatchSetT>(value); }
44 template<typename RegexMatchSetT = RegexMatchSet>
45 CreateRegexMatchSetResult& WithRegexMatchSet(RegexMatchSetT&& value) { SetRegexMatchSet(std::forward<RegexMatchSetT>(value)); return *this;}
47
49
55 inline const Aws::String& GetChangeToken() const { return m_changeToken; }
56 template<typename ChangeTokenT = Aws::String>
57 void SetChangeToken(ChangeTokenT&& value) { m_changeTokenHasBeenSet = true; m_changeToken = std::forward<ChangeTokenT>(value); }
58 template<typename ChangeTokenT = Aws::String>
59 CreateRegexMatchSetResult& WithChangeToken(ChangeTokenT&& value) { SetChangeToken(std::forward<ChangeTokenT>(value)); return *this;}
61
63
64 inline const Aws::String& GetRequestId() const { return m_requestId; }
65 template<typename RequestIdT = Aws::String>
66 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
67 template<typename RequestIdT = Aws::String>
68 CreateRegexMatchSetResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
70 private:
71
72 RegexMatchSet m_regexMatchSet;
73 bool m_regexMatchSetHasBeenSet = false;
74
75 Aws::String m_changeToken;
76 bool m_changeTokenHasBeenSet = false;
77
78 Aws::String m_requestId;
79 bool m_requestIdHasBeenSet = false;
80 };
81
82} // namespace Model
83} // namespace WAFRegional
84} // namespace Aws
AWS_WAFREGIONAL_API CreateRegexMatchSetResult()=default
AWS_WAFREGIONAL_API CreateRegexMatchSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegexMatchSetResult & WithRequestId(RequestIdT &&value)
CreateRegexMatchSetResult & WithChangeToken(ChangeTokenT &&value)
AWS_WAFREGIONAL_API CreateRegexMatchSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateRegexMatchSetResult & WithRegexMatchSet(RegexMatchSetT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue