AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UpdateLoggingConfigurationRequest.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 <aws/network-firewall/model/LoggingConfiguration.h>
11#include <utility>
12
13namespace Aws
14{
15namespace NetworkFirewall
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_NETWORKFIREWALL_API UpdateLoggingConfigurationRequest();
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "UpdateLoggingConfiguration"; }
32
33 AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override;
34
35 AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
36
37
39
43 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
44 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
45 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
46 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
47 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
48 inline UpdateLoggingConfigurationRequest& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
49 inline UpdateLoggingConfigurationRequest& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
50 inline UpdateLoggingConfigurationRequest& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
52
54
59 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
60 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
61 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
62 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
63 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
65 inline UpdateLoggingConfigurationRequest& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
66 inline UpdateLoggingConfigurationRequest& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
68
70
74 inline const LoggingConfiguration& GetLoggingConfiguration() const{ return m_loggingConfiguration; }
75 inline bool LoggingConfigurationHasBeenSet() const { return m_loggingConfigurationHasBeenSet; }
76 inline void SetLoggingConfiguration(const LoggingConfiguration& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = value; }
77 inline void SetLoggingConfiguration(LoggingConfiguration&& value) { m_loggingConfigurationHasBeenSet = true; m_loggingConfiguration = std::move(value); }
81 private:
82
83 Aws::String m_firewallArn;
84 bool m_firewallArnHasBeenSet = false;
85
86 Aws::String m_firewallName;
87 bool m_firewallNameHasBeenSet = false;
88
89 LoggingConfiguration m_loggingConfiguration;
90 bool m_loggingConfigurationHasBeenSet = false;
91 };
92
93} // namespace Model
94} // namespace NetworkFirewall
95} // namespace Aws
UpdateLoggingConfigurationRequest & WithFirewallName(const char *value)
UpdateLoggingConfigurationRequest & WithFirewallArn(Aws::String &&value)
UpdateLoggingConfigurationRequest & WithFirewallArn(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateLoggingConfigurationRequest & WithFirewallName(Aws::String &&value)
UpdateLoggingConfigurationRequest & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateLoggingConfigurationRequest & WithFirewallArn(const char *value)
UpdateLoggingConfigurationRequest & WithLoggingConfiguration(const LoggingConfiguration &value)
UpdateLoggingConfigurationRequest & WithLoggingConfiguration(LoggingConfiguration &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String