AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetRuleGroupResult.h
1
6#pragma once
7#include <aws/wafv2/WAFV2_EXPORTS.h>
8#include <aws/wafv2/model/RuleGroup.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 GetRuleGroupResult();
34
35
37
40 inline const RuleGroup& GetRuleGroup() const{ return m_ruleGroup; }
41 inline void SetRuleGroup(const RuleGroup& value) { m_ruleGroup = value; }
42 inline void SetRuleGroup(RuleGroup&& value) { m_ruleGroup = std::move(value); }
43 inline GetRuleGroupResult& WithRuleGroup(const RuleGroup& value) { SetRuleGroup(value); return *this;}
44 inline GetRuleGroupResult& WithRuleGroup(RuleGroup&& value) { SetRuleGroup(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 GetRuleGroupResult& WithLockToken(const Aws::String& value) { SetLockToken(value); return *this;}
63 inline GetRuleGroupResult& WithLockToken(Aws::String&& value) { SetLockToken(std::move(value)); return *this;}
64 inline GetRuleGroupResult& 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 GetRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
74 inline GetRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
75 inline GetRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
77 private:
78
79 RuleGroup m_ruleGroup;
80
81 Aws::String m_lockToken;
82
83 Aws::String m_requestId;
84 };
85
86} // namespace Model
87} // namespace WAFV2
88} // namespace Aws
GetRuleGroupResult & WithRequestId(const Aws::String &value)
GetRuleGroupResult & WithLockToken(const Aws::String &value)
GetRuleGroupResult & WithRuleGroup(RuleGroup &&value)
AWS_WAFV2_API GetRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetRuleGroupResult & WithRequestId(const char *value)
const Aws::String & GetLockToken() const
const Aws::String & GetRequestId() const
GetRuleGroupResult & WithRequestId(Aws::String &&value)
void SetRuleGroup(const RuleGroup &value)
GetRuleGroupResult & WithLockToken(const char *value)
AWS_WAFV2_API GetRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetLockToken(const Aws::String &value)
void SetRequestId(const Aws::String &value)
GetRuleGroupResult & WithLockToken(Aws::String &&value)
GetRuleGroupResult & WithRuleGroup(const RuleGroup &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue