AWS SDK for C++  1.9.108
AWS SDK for C++
GetWebACLResult.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 
40  inline const WebACL& GetWebACL() const{ return m_webACL; }
41 
46  inline void SetWebACL(const WebACL& value) { m_webACL = value; }
47 
52  inline void SetWebACL(WebACL&& value) { m_webACL = std::move(value); }
53 
58  inline GetWebACLResult& WithWebACL(const WebACL& value) { SetWebACL(value); return *this;}
59 
64  inline GetWebACLResult& WithWebACL(WebACL&& value) { SetWebACL(std::move(value)); return *this;}
65 
66 
77  inline const Aws::String& GetLockToken() const{ return m_lockToken; }
78 
89  inline void SetLockToken(const Aws::String& value) { m_lockToken = value; }
90 
101  inline void SetLockToken(Aws::String&& value) { m_lockToken = std::move(value); }
102 
113  inline void SetLockToken(const char* value) { m_lockToken.assign(value); }
114 
125  inline GetWebACLResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
126 
137  inline GetWebACLResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
138 
149  inline GetWebACLResult& WithLockToken(const char* value) { SetLockToken(value); return *this;}
150 
151  private:
152 
153  WebACL m_webACL;
154 
155  Aws::String m_lockToken;
156  };
157 
158 } // namespace Model
159 } // namespace WAFV2
160 } // namespace Aws
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::WAFV2::Model::GetWebACLResult::SetWebACL
void SetWebACL(const WebACL &value)
Definition: GetWebACLResult.h:46
Aws::WAFV2::Model::GetWebACLResult::GetWebACL
const WebACL & GetWebACL() const
Definition: GetWebACLResult.h:40
Aws::WAFV2::Model::GetWebACLResult::GetLockToken
const Aws::String & GetLockToken() const
Definition: GetWebACLResult.h:77
WebACL.h
AWS_WAFV2_API
#define AWS_WAFV2_API
Definition: WAFV2_EXPORTS.h:28
Aws::WAFV2::Model::GetWebACLResult::SetLockToken
void SetLockToken(Aws::String &&value)
Definition: GetWebACLResult.h:101
WAFV2_EXPORTS.h
Aws::WAFV2::Model::GetWebACLResult::SetWebACL
void SetWebACL(WebACL &&value)
Definition: GetWebACLResult.h:52
Aws::WAFV2::Model::GetWebACLResult
Definition: GetWebACLResult.h:29
Aws::WAFV2::Model::GetWebACLResult::operator=
GetWebACLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::WAFV2::Model::WebACL
Definition: WebACL.h:47
Aws::WAFV2::Model::GetWebACLResult::SetLockToken
void SetLockToken(const char *value)
Definition: GetWebACLResult.h:113
AWSString.h
Aws::WAFV2::Model::GetWebACLResult::WithWebACL
GetWebACLResult & WithWebACL(const WebACL &value)
Definition: GetWebACLResult.h:58
Aws::WAFV2::Model::GetWebACLResult::WithLockToken
GetWebACLResult & WithLockToken(Aws::String &&value)
Definition: GetWebACLResult.h:137
Aws::WAFV2::Model::GetWebACLResult::WithWebACL
GetWebACLResult & WithWebACL(WebACL &&value)
Definition: GetWebACLResult.h:64
Aws::WAFV2::Model::GetWebACLResult::WithLockToken
GetWebACLResult & WithLockToken(const Aws::String &value)
Definition: GetWebACLResult.h:125
Aws::WAFV2::Model::GetWebACLResult::SetLockToken
void SetLockToken(const Aws::String &value)
Definition: GetWebACLResult.h:89
Aws
Definition: AccessManagementClient.h:15
Aws::WAFV2::Model::GetWebACLResult::GetWebACLResult
GetWebACLResult()
Aws::WAFV2::Model::GetWebACLResult::WithLockToken
GetWebACLResult & WithLockToken(const char *value)
Definition: GetWebACLResult.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::WAFV2::Model::GetWebACLResult::GetWebACLResult
GetWebACLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)