AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateRuleGroupResult.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/RuleGroupResponse.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 NetworkFirewall
25{
26namespace Model
27{
29 {
30 public:
31 AWS_NETWORKFIREWALL_API UpdateRuleGroupResult();
34
35
37
48 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
49 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
50 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
51 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
52 inline UpdateRuleGroupResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
53 inline UpdateRuleGroupResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
54 inline UpdateRuleGroupResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
56
58
63 inline const RuleGroupResponse& GetRuleGroupResponse() const{ return m_ruleGroupResponse; }
64 inline void SetRuleGroupResponse(const RuleGroupResponse& value) { m_ruleGroupResponse = value; }
65 inline void SetRuleGroupResponse(RuleGroupResponse&& value) { m_ruleGroupResponse = std::move(value); }
67 inline UpdateRuleGroupResult& WithRuleGroupResponse(RuleGroupResponse&& value) { SetRuleGroupResponse(std::move(value)); return *this;}
69
71
72 inline const Aws::String& GetRequestId() const{ return m_requestId; }
73 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
74 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
75 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
76 inline UpdateRuleGroupResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline UpdateRuleGroupResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline UpdateRuleGroupResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_updateToken;
83
84 RuleGroupResponse m_ruleGroupResponse;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace NetworkFirewall
91} // namespace Aws
UpdateRuleGroupResult & WithRuleGroupResponse(RuleGroupResponse &&value)
UpdateRuleGroupResult & WithRequestId(Aws::String &&value)
AWS_NETWORKFIREWALL_API UpdateRuleGroupResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetRuleGroupResponse(const RuleGroupResponse &value)
UpdateRuleGroupResult & WithUpdateToken(Aws::String &&value)
AWS_NETWORKFIREWALL_API UpdateRuleGroupResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateRuleGroupResult & WithUpdateToken(const Aws::String &value)
UpdateRuleGroupResult & WithRequestId(const Aws::String &value)
UpdateRuleGroupResult & WithRuleGroupResponse(const RuleGroupResponse &value)
UpdateRuleGroupResult & WithRequestId(const char *value)
UpdateRuleGroupResult & WithUpdateToken(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue