AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AssociateFirewallPolicyResult.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_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 NetworkFirewall
24{
25namespace Model
26{
28 {
29 public:
30 AWS_NETWORKFIREWALL_API AssociateFirewallPolicyResult();
33
34
36
39 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
40 inline void SetFirewallArn(const Aws::String& value) { m_firewallArn = value; }
41 inline void SetFirewallArn(Aws::String&& value) { m_firewallArn = std::move(value); }
42 inline void SetFirewallArn(const char* value) { m_firewallArn.assign(value); }
43 inline AssociateFirewallPolicyResult& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
44 inline AssociateFirewallPolicyResult& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
45 inline AssociateFirewallPolicyResult& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
47
49
53 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
54 inline void SetFirewallName(const Aws::String& value) { m_firewallName = value; }
55 inline void SetFirewallName(Aws::String&& value) { m_firewallName = std::move(value); }
56 inline void SetFirewallName(const char* value) { m_firewallName.assign(value); }
57 inline AssociateFirewallPolicyResult& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
58 inline AssociateFirewallPolicyResult& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
59 inline AssociateFirewallPolicyResult& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
61
63
66 inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; }
67 inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArn = value; }
68 inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArn = std::move(value); }
69 inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArn.assign(value); }
71 inline AssociateFirewallPolicyResult& WithFirewallPolicyArn(Aws::String&& value) { SetFirewallPolicyArn(std::move(value)); return *this;}
72 inline AssociateFirewallPolicyResult& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;}
74
76
90 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
91 inline void SetUpdateToken(const Aws::String& value) { m_updateToken = value; }
92 inline void SetUpdateToken(Aws::String&& value) { m_updateToken = std::move(value); }
93 inline void SetUpdateToken(const char* value) { m_updateToken.assign(value); }
94 inline AssociateFirewallPolicyResult& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
95 inline AssociateFirewallPolicyResult& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
96 inline AssociateFirewallPolicyResult& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline AssociateFirewallPolicyResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline AssociateFirewallPolicyResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline AssociateFirewallPolicyResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_firewallArn;
112
113 Aws::String m_firewallName;
114
115 Aws::String m_firewallPolicyArn;
116
117 Aws::String m_updateToken;
118
119 Aws::String m_requestId;
120 };
121
122} // namespace Model
123} // namespace NetworkFirewall
124} // namespace Aws
AssociateFirewallPolicyResult & WithRequestId(Aws::String &&value)
AssociateFirewallPolicyResult & WithFirewallPolicyArn(const Aws::String &value)
AssociateFirewallPolicyResult & WithFirewallName(const char *value)
AssociateFirewallPolicyResult & WithFirewallPolicyArn(const char *value)
AssociateFirewallPolicyResult & WithFirewallArn(const Aws::String &value)
AssociateFirewallPolicyResult & WithRequestId(const char *value)
AssociateFirewallPolicyResult & WithUpdateToken(Aws::String &&value)
AWS_NETWORKFIREWALL_API AssociateFirewallPolicyResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateFirewallPolicyResult & WithFirewallName(Aws::String &&value)
AssociateFirewallPolicyResult & WithRequestId(const Aws::String &value)
AssociateFirewallPolicyResult & WithFirewallArn(const char *value)
AssociateFirewallPolicyResult & WithUpdateToken(const char *value)
AssociateFirewallPolicyResult & WithFirewallArn(Aws::String &&value)
AWS_NETWORKFIREWALL_API AssociateFirewallPolicyResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AssociateFirewallPolicyResult & WithUpdateToken(const Aws::String &value)
AssociateFirewallPolicyResult & WithFirewallName(const Aws::String &value)
AssociateFirewallPolicyResult & WithFirewallPolicyArn(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue