AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
GetWebACLResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/WebACL.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 GetWebACLResult() = default;
34
35
37
41 inline const WebACL& GetWebACL() const { return m_webACL; }
42 template<typename WebACLT = WebACL>
43 void SetWebACL(WebACLT&& value) { m_webACLHasBeenSet = true; m_webACL = std::forward<WebACLT>(value); }
44 template<typename WebACLT = WebACL>
45 GetWebACLResult& WithWebACL(WebACLT&& value) { SetWebACL(std::forward<WebACLT>(value)); return *this;}
47
49
59 inline const Aws::String& GetLockToken() const { return m_lockToken; }
60 template<typename LockTokenT = Aws::String>
61 void SetLockToken(LockTokenT&& value) { m_lockTokenHasBeenSet = true; m_lockToken = std::forward<LockTokenT>(value); }
62 template<typename LockTokenT = Aws::String>
63 GetWebACLResult& WithLockToken(LockTokenT&& value) { SetLockToken(std::forward<LockTokenT>(value)); return *this;}
65
67
78 inline const Aws::String& GetApplicationIntegrationURL() const { return m_applicationIntegrationURL; }
79 template<typename ApplicationIntegrationURLT = Aws::String>
80 void SetApplicationIntegrationURL(ApplicationIntegrationURLT&& value) { m_applicationIntegrationURLHasBeenSet = true; m_applicationIntegrationURL = std::forward<ApplicationIntegrationURLT>(value); }
81 template<typename ApplicationIntegrationURLT = Aws::String>
82 GetWebACLResult& WithApplicationIntegrationURL(ApplicationIntegrationURLT&& value) { SetApplicationIntegrationURL(std::forward<ApplicationIntegrationURLT>(value)); return *this;}
84
86
87 inline const Aws::String& GetRequestId() const { return m_requestId; }
88 template<typename RequestIdT = Aws::String>
89 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
90 template<typename RequestIdT = Aws::String>
91 GetWebACLResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
93 private:
94
95 WebACL m_webACL;
96 bool m_webACLHasBeenSet = false;
97
98 Aws::String m_lockToken;
99 bool m_lockTokenHasBeenSet = false;
100
101 Aws::String m_applicationIntegrationURL;
102 bool m_applicationIntegrationURLHasBeenSet = false;
103
104 Aws::String m_requestId;
105 bool m_requestIdHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace WAFV2
110} // namespace Aws
const Aws::String & GetLockToken() const
GetWebACLResult & WithLockToken(LockTokenT &&value)
AWS_WAFV2_API GetWebACLResult()=default
const Aws::String & GetRequestId() const
void SetApplicationIntegrationURL(ApplicationIntegrationURLT &&value)
GetWebACLResult & WithRequestId(RequestIdT &&value)
AWS_WAFV2_API GetWebACLResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRequestId(RequestIdT &&value)
const Aws::String & GetApplicationIntegrationURL() const
void SetLockToken(LockTokenT &&value)
AWS_WAFV2_API GetWebACLResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetWebACLResult & WithApplicationIntegrationURL(ApplicationIntegrationURLT &&value)
GetWebACLResult & WithWebACL(WebACLT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue