AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
PutManagedRuleSetVersionsResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <utility>
10
11namespace Aws
12{
13template<typename RESULT_TYPE>
14class AmazonWebServiceResult;
15
16namespace Utils
17{
18namespace Json
19{
20 class JsonValue;
21} // namespace Json
22} // namespace Utils
23namespace WAFV2
24{
25namespace Model
26{
28 {
29 public:
33
34
36
46 inline const Aws::String& GetNextLockToken() const{ return m_nextLockToken; }
47 inline void SetNextLockToken(const Aws::String& value) { m_nextLockToken = value; }
48 inline void SetNextLockToken(Aws::String&& value) { m_nextLockToken = std::move(value); }
49 inline void SetNextLockToken(const char* value) { m_nextLockToken.assign(value); }
51 inline PutManagedRuleSetVersionsResult& WithNextLockToken(Aws::String&& value) { SetNextLockToken(std::move(value)); return *this;}
52 inline PutManagedRuleSetVersionsResult& WithNextLockToken(const char* value) { SetNextLockToken(value); return *this;}
54
56
57 inline const Aws::String& GetRequestId() const{ return m_requestId; }
58 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
59 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
60 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
61 inline PutManagedRuleSetVersionsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
62 inline PutManagedRuleSetVersionsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
63 inline PutManagedRuleSetVersionsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
65 private:
66
67 Aws::String m_nextLockToken;
68
69 Aws::String m_requestId;
70 };
71
72} // namespace Model
73} // namespace WAFV2
74} // namespace Aws
PutManagedRuleSetVersionsResult & WithRequestId(const char *value)
PutManagedRuleSetVersionsResult & WithNextLockToken(const Aws::String &value)
PutManagedRuleSetVersionsResult & WithNextLockToken(Aws::String &&value)
PutManagedRuleSetVersionsResult & WithNextLockToken(const char *value)
PutManagedRuleSetVersionsResult & WithRequestId(const Aws::String &value)
AWS_WAFV2_API PutManagedRuleSetVersionsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_WAFV2_API PutManagedRuleSetVersionsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
PutManagedRuleSetVersionsResult & WithRequestId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue