AWS SDK for C++
AWS SDK for C++
Loading...
Searching...
No Matches
AssociateFirewallPolicyRequest.h
Go to the documentation of this file.
1
6#pragma once
10#include <utility>
11
12namespace Aws
13{
14namespace NetworkFirewall
15{
16namespace Model
17{
18
22 {
23 public:
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "AssociateFirewallPolicy"; }
31
33
35
36
51 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
52
67 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
68
83 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
84
99 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
100
115 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
116
131 inline AssociateFirewallPolicyRequest& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
132
147 inline AssociateFirewallPolicyRequest& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
148
163 inline AssociateFirewallPolicyRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
164
165
170 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
171
176 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
177
182 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
183
188 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
189
194 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
195
200 inline AssociateFirewallPolicyRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
201
206 inline AssociateFirewallPolicyRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
207
212 inline AssociateFirewallPolicyRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
213
214
220 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
221
227 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
228
234 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
235
241 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
242
248 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
249
255 inline AssociateFirewallPolicyRequest& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
256
262 inline AssociateFirewallPolicyRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
263
269 inline AssociateFirewallPolicyRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
270
271
275 inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; }
276
280 inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; }
281
285 inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; }
286
290 inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); }
291
295 inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); }
296
301
306
310 inline AssociateFirewallPolicyRequest& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;}
311
312 private:
313
314 Aws::String m_updateToken;
315 bool m_updateTokenHasBeenSet = false;
316
317 Aws::String m_firewallArn;
318 bool m_firewallArnHasBeenSet = false;
319
320 Aws::String m_firewallName;
321 bool m_firewallNameHasBeenSet = false;
322
323 Aws::String m_firewallPolicyArn;
324 bool m_firewallPolicyArnHasBeenSet = false;
325 };
326
327} // namespace Model
328} // namespace NetworkFirewall
329} // namespace Aws
#define AWS_NETWORKFIREWALL_API
AssociateFirewallPolicyRequest & WithFirewallPolicyArn(const Aws::String &value)
AssociateFirewallPolicyRequest & WithFirewallName(const char *value)
AssociateFirewallPolicyRequest & WithUpdateToken(Aws::String &&value)
AssociateFirewallPolicyRequest & WithFirewallPolicyArn(const char *value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AssociateFirewallPolicyRequest & WithFirewallPolicyArn(Aws::String &&value)
AssociateFirewallPolicyRequest & WithFirewallArn(Aws::String &&value)
AssociateFirewallPolicyRequest & WithUpdateToken(const Aws::String &value)
AssociateFirewallPolicyRequest & WithFirewallArn(const Aws::String &value)
AssociateFirewallPolicyRequest & WithUpdateToken(const char *value)
AssociateFirewallPolicyRequest & WithFirewallArn(const char *value)
AssociateFirewallPolicyRequest & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AssociateFirewallPolicyRequest & WithFirewallName(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String