AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
DescribeRuleGroupResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/RuleGroup.h>
10#include <aws/network-firewall/model/RuleGroupResponse.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace NetworkFirewall
26{
27namespace Model
28{
30 {
31 public:
32 AWS_NETWORKFIREWALL_API DescribeRuleGroupResult();
35
36
38
49 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
50 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
51 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
52 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
53 inline DescribeRuleGroupResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
54 inline DescribeRuleGroupResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
55 inline DescribeRuleGroupResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
57
59
71 inline const RuleGroup& GetRuleGroup() const{ return m_ruleGroup; }
72 inline void SetRuleGroup(const RuleGroup& value) { m_ruleGroup = value; }
73 inline void SetRuleGroup(RuleGroup&& value) { m_ruleGroup = std::move(value); }
74 inline DescribeRuleGroupResult& WithRuleGroup(const RuleGroup& value) { SetRuleGroup(value); return *this;}
75 inline DescribeRuleGroupResult& WithRuleGroup(RuleGroup&& value) { SetRuleGroup(std::move(value)); return *this;}
77
79
84 inline const RuleGroupResponse& GetRuleGroupResponse() const{ return m_ruleGroupResponse; }
85 inline void SetRuleGroupResponse(const RuleGroupResponse& value) { m_ruleGroupResponse = value; }
86 inline void SetRuleGroupResponse(RuleGroupResponse&& value) { m_ruleGroupResponse = std::move(value); }
88 inline DescribeRuleGroupResult& WithRuleGroupResponse(RuleGroupResponse&& value) { SetRuleGroupResponse(std::move(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const{ return m_requestId; }
94 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
95 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
96 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
97 inline DescribeRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
98 inline DescribeRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
99 inline DescribeRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
101 private:
102
103 Aws::String m_updateToken;
104
105 RuleGroup m_ruleGroup;
106
107 RuleGroupResponse m_ruleGroupResponse;
108
109 Aws::String m_requestId;
110 };
111
112} // namespace Model
113} // namespace NetworkFirewall
114} // namespace Aws
DescribeRuleGroupResult & WithRequestId(Aws::String &&value)
DescribeRuleGroupResult & WithRuleGroup(RuleGroup &&value)
DescribeRuleGroupResult & WithRuleGroupResponse(RuleGroupResponse &&value)
void SetRuleGroupResponse(const RuleGroupResponse &value)
DescribeRuleGroupResult & WithUpdateToken(const Aws::String &value)
DescribeRuleGroupResult & WithRequestId(const char *value)
DescribeRuleGroupResult & WithUpdateToken(Aws::String &&value)
DescribeRuleGroupResult & WithRuleGroupResponse(const RuleGroupResponse &value)
DescribeRuleGroupResult & WithRuleGroup(const RuleGroup &value)
AWS_NETWORKFIREWALL_API DescribeRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NETWORKFIREWALL_API DescribeRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
DescribeRuleGroupResult & WithRequestId(const Aws::String &value)
DescribeRuleGroupResult & WithUpdateToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue