AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateFirewallDescriptionRequest.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <utility>
11
12namespace Aws
13{
14namespace NetworkFirewall
15{
16namespace Model
17{
18
22 {
23 public:
24 AWS_NETWORKFIREWALL_API UpdateFirewallDescriptionRequest();
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 "UpdateFirewallDescription"; }
31
32 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
33
34 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
35
36
38
52 inline const Aws::String& GetUpdateToken() const{ return m_updateToken; }
53 inline bool UpdateTokenHasBeenSet() const { return m_updateTokenHasBeenSet; }
54 inline void SetUpdateToken(const Aws::String& value) { m_updateTokenHasBeenSet = true; m_updateToken = value; }
55 inline void SetUpdateToken(Aws::String&& value) { m_updateTokenHasBeenSet = true; m_updateToken = std::move(value); }
56 inline void SetUpdateToken(const char* value) { m_updateTokenHasBeenSet = true; m_updateToken.assign(value); }
57 inline UpdateFirewallDescriptionRequest& WithUpdateToken(const Aws::String& value) { SetUpdateToken(value); return *this;}
58 inline UpdateFirewallDescriptionRequest& WithUpdateToken(Aws::String&& value) { SetUpdateToken(std::move(value)); return *this;}
59 inline UpdateFirewallDescriptionRequest& WithUpdateToken(const char* value) { SetUpdateToken(value); return *this;}
61
63
67 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
68 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
69 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
70 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
71 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
72 inline UpdateFirewallDescriptionRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
73 inline UpdateFirewallDescriptionRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
74 inline UpdateFirewallDescriptionRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
76
78
83 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
84 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
85 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
86 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
87 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
89 inline UpdateFirewallDescriptionRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
90 inline UpdateFirewallDescriptionRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
92
94
98 inline const Aws::String& GetDescription() const{ return m_description; }
99 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
100 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
101 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
102 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
103 inline UpdateFirewallDescriptionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
104 inline UpdateFirewallDescriptionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
105 inline UpdateFirewallDescriptionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
107 private:
108
109 Aws::String m_updateToken;
110 bool m_updateTokenHasBeenSet = false;
111
112 Aws::String m_firewallArn;
113 bool m_firewallArnHasBeenSet = false;
114
115 Aws::String m_firewallName;
116 bool m_firewallNameHasBeenSet = false;
117
118 Aws::String m_description;
119 bool m_descriptionHasBeenSet = false;
120 };
121
122} // namespace Model
123} // namespace NetworkFirewall
124} // namespace Aws
UpdateFirewallDescriptionRequest & WithUpdateToken(const char *value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateFirewallDescriptionRequest & WithDescription(const Aws::String &value)
UpdateFirewallDescriptionRequest & WithFirewallName(const Aws::String &value)
UpdateFirewallDescriptionRequest & WithDescription(Aws::String &&value)
UpdateFirewallDescriptionRequest & WithFirewallArn(Aws::String &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateFirewallDescriptionRequest & WithFirewallArn(const char *value)
UpdateFirewallDescriptionRequest & WithUpdateToken(Aws::String &&value)
UpdateFirewallDescriptionRequest & WithFirewallArn(const Aws::String &value)
UpdateFirewallDescriptionRequest & WithUpdateToken(const Aws::String &value)
UpdateFirewallDescriptionRequest & WithDescription(const char *value)
UpdateFirewallDescriptionRequest & WithFirewallName(Aws::String &&value)
UpdateFirewallDescriptionRequest & WithFirewallName(const char *value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String