AWS SDK for C++  1.9.108
AWS SDK for C++
GetRegexPatternSetResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace WAFV2
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const RegexPatternSet& GetRegexPatternSet() const{ return m_regexPatternSet; }
40 
44  inline void SetRegexPatternSet(const RegexPatternSet& value) { m_regexPatternSet = value; }
45 
49  inline void SetRegexPatternSet(RegexPatternSet&& value) { m_regexPatternSet = std::move(value); }
50 
54  inline GetRegexPatternSetResult& WithRegexPatternSet(const RegexPatternSet& value) { SetRegexPatternSet(value); return *this;}
55 
59  inline GetRegexPatternSetResult& WithRegexPatternSet(RegexPatternSet&& value) { SetRegexPatternSet(std::move(value)); return *this;}
60 
61 
72  inline const Aws::String& GetLockToken() const{ return m_lockToken; }
73 
84  inline void SetLockToken(const Aws::String& value) { m_lockToken = value; }
85 
96  inline void SetLockToken(Aws::String&& value) { m_lockToken = std::move(value); }
97 
108  inline void SetLockToken(const char* value) { m_lockToken.assign(value); }
109 
120  inline GetRegexPatternSetResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
121 
132  inline GetRegexPatternSetResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
133 
144  inline GetRegexPatternSetResult& WithLockToken(const char* value) { SetLockToken(value); return *this;}
145 
146  private:
147 
148  RegexPatternSet m_regexPatternSet;
149 
150  Aws::String m_lockToken;
151  };
152 
153 } // namespace Model
154 } // namespace WAFV2
155 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::GetRegexPatternSetResult::SetLockToken
void SetLockToken(Aws::String &&value)
Definition: GetRegexPatternSetResult.h:96
RegexPatternSet.h
Aws::WAFV2::Model::GetRegexPatternSetResult::WithLockToken
GetRegexPatternSetResult & WithLockToken(const char *value)
Definition: GetRegexPatternSetResult.h:144
Aws::WAFV2::Model::GetRegexPatternSetResult::WithRegexPatternSet
GetRegexPatternSetResult & WithRegexPatternSet(const RegexPatternSet &value)
Definition: GetRegexPatternSetResult.h:54
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::GetRegexPatternSetResult::GetLockToken
const Aws::String & GetLockToken() const
Definition: GetRegexPatternSetResult.h:72
Aws::WAFV2::Model::GetRegexPatternSetResult
Definition: GetRegexPatternSetResult.h:29
WAFV2_EXPORTS.h
Aws::WAFV2::Model::GetRegexPatternSetResult::SetRegexPatternSet
void SetRegexPatternSet(RegexPatternSet &&value)
Definition: GetRegexPatternSetResult.h:49
Aws::WAFV2::Model::GetRegexPatternSetResult::SetLockToken
void SetLockToken(const Aws::String &value)
Definition: GetRegexPatternSetResult.h:84
Aws::WAFV2::Model::GetRegexPatternSetResult::GetRegexPatternSetResult
GetRegexPatternSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::WAFV2::Model::RegexPatternSet
Definition: RegexPatternSet.h:37
Aws::WAFV2::Model::GetRegexPatternSetResult::WithLockToken
GetRegexPatternSetResult & WithLockToken(Aws::String &&value)
Definition: GetRegexPatternSetResult.h:132
Aws::WAFV2::Model::GetRegexPatternSetResult::SetLockToken
void SetLockToken(const char *value)
Definition: GetRegexPatternSetResult.h:108
Aws::WAFV2::Model::GetRegexPatternSetResult::operator=
GetRegexPatternSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::GetRegexPatternSetResult::SetRegexPatternSet
void SetRegexPatternSet(const RegexPatternSet &value)
Definition: GetRegexPatternSetResult.h:44
Aws::WAFV2::Model::GetRegexPatternSetResult::GetRegexPatternSet
const RegexPatternSet & GetRegexPatternSet() const
Definition: GetRegexPatternSetResult.h:39
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::GetRegexPatternSetResult::WithRegexPatternSet
GetRegexPatternSetResult & WithRegexPatternSet(RegexPatternSet &&value)
Definition: GetRegexPatternSetResult.h:59
Aws::WAFV2::Model::GetRegexPatternSetResult::WithLockToken
GetRegexPatternSetResult & WithLockToken(const Aws::String &value)
Definition: GetRegexPatternSetResult.h:120
Aws::WAFV2::Model::GetRegexPatternSetResult::GetRegexPatternSetResult
GetRegexPatternSetResult()