AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetManagedRuleSetResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/ManagedRuleSet.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 GetManagedRuleSetResult();
34
35
37
40 inline const ManagedRuleSet& GetManagedRuleSet() const{ return m_managedRuleSet; }
41 inline void SetManagedRuleSet(const ManagedRuleSet& value) { m_managedRuleSet = value; }
42 inline void SetManagedRuleSet(ManagedRuleSet&& value) { m_managedRuleSet = std::move(value); }
43 inline GetManagedRuleSetResult& WithManagedRuleSet(const ManagedRuleSet& value) { SetManagedRuleSet(value); return *this;}
44 inline GetManagedRuleSetResult& WithManagedRuleSet(ManagedRuleSet&& value) { SetManagedRuleSet(std::move(value)); return *this;}
46
48
58 inline const Aws::String& GetLockToken() const{ return m_lockToken; }
59 inline void SetLockToken(const Aws::String& value) { m_lockToken = value; }
60 inline void SetLockToken(Aws::String&& value) { m_lockToken = std::move(value); }
61 inline void SetLockToken(const char* value) { m_lockToken.assign(value); }
62 inline GetManagedRuleSetResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
63 inline GetManagedRuleSetResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
64 inline GetManagedRuleSetResult& WithLockToken(const char* value) { SetLockToken(value); return *this;}
66
68
69 inline const Aws::String& GetRequestId() const{ return m_requestId; }
70 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
72 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
73 inline GetManagedRuleSetResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetManagedRuleSetResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetManagedRuleSetResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 ManagedRuleSet m_managedRuleSet;
80
81 Aws::String m_lockToken;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace WAFV2
88} // namespace Aws
AWS_WAFV2_API GetManagedRuleSetResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedRuleSetResult & WithLockToken(Aws::String &&value)
GetManagedRuleSetResult & WithLockToken(const Aws::String &value)
GetManagedRuleSetResult & WithManagedRuleSet(const ManagedRuleSet &value)
AWS_WAFV2_API GetManagedRuleSetResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetManagedRuleSetResult & WithRequestId(const char *value)
GetManagedRuleSetResult & WithLockToken(const char *value)
GetManagedRuleSetResult & WithRequestId(const Aws::String &value)
GetManagedRuleSetResult & WithManagedRuleSet(ManagedRuleSet &&value)
void SetManagedRuleSet(const ManagedRuleSet &value)
GetManagedRuleSetResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue