AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFirewallPolicyResult.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/FirewallPolicyResponse.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 UpdateFirewallPolicyResult();
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 UpdateFirewallPolicyResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
53 inline UpdateFirewallPolicyResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
54 inline UpdateFirewallPolicyResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
56
58
63 inline const FirewallPolicyResponse& GetFirewallPolicyResponse() const{ return m_firewallPolicyResponse; }
64 inline void SetFirewallPolicyResponse(const FirewallPolicyResponse& value) { m_firewallPolicyResponse = value; }
65 inline void SetFirewallPolicyResponse(FirewallPolicyResponse&& value) { m_firewallPolicyResponse = std::move(value); }
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 UpdateFirewallPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
77 inline UpdateFirewallPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
78 inline UpdateFirewallPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
80 private:
81
82 Aws::String m_updateToken;
83
84 FirewallPolicyResponse m_firewallPolicyResponse;
85
86 Aws::String m_requestId;
87 };
88
89} // namespace Model
90} // namespace NetworkFirewall
91} // namespace Aws
UpdateFirewallPolicyResult & WithUpdateToken(const Aws::String &value)
UpdateFirewallPolicyResult & WithUpdateToken(const char *value)
UpdateFirewallPolicyResult & WithRequestId(const Aws::String &value)
UpdateFirewallPolicyResult & WithRequestId(const char *value)
UpdateFirewallPolicyResult & WithFirewallPolicyResponse(FirewallPolicyResponse &&value)
UpdateFirewallPolicyResult & WithFirewallPolicyResponse(const FirewallPolicyResponse &value)
void SetFirewallPolicyResponse(const FirewallPolicyResponse &value)
UpdateFirewallPolicyResult & WithRequestId(Aws::String &&value)
UpdateFirewallPolicyResult & WithUpdateToken(Aws::String &&value)
AWS_NETWORKFIREWALL_API UpdateFirewallPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_NETWORKFIREWALL_API UpdateFirewallPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue