AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallMetadata.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{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace NetworkFirewall
22{
23namespace Model
24{
25
34 {
35 public:
36 AWS_NETWORKFIREWALL_API FirewallMetadata();
37 AWS_NETWORKFIREWALL_API FirewallMetadata(Aws::Utils::Json::JsonView jsonValue);
38 AWS_NETWORKFIREWALL_API FirewallMetadata& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
48 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
49 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
50 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
51 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
52 inline FirewallMetadata& WithFirewallName(const Aws::String& value) { SetFirewallName(value); return *this;}
53 inline FirewallMetadata& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
54 inline FirewallMetadata& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
56
58
61 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
62 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
63 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
64 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
65 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
66 inline FirewallMetadata& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
67 inline FirewallMetadata& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
68 inline FirewallMetadata& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
70 private:
71
72 Aws::String m_firewallName;
73 bool m_firewallNameHasBeenSet = false;
74
75 Aws::String m_firewallArn;
76 bool m_firewallArnHasBeenSet = false;
77 };
78
79} // namespace Model
80} // namespace NetworkFirewall
81} // namespace Aws
FirewallMetadata & WithFirewallArn(const Aws::String &value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
AWS_NETWORKFIREWALL_API FirewallMetadata & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallMetadata & WithFirewallArn(const char *value)
void SetFirewallName(const Aws::String &value)
void SetFirewallArn(const Aws::String &value)
FirewallMetadata & WithFirewallName(const char *value)
FirewallMetadata & WithFirewallName(const Aws::String &value)
AWS_NETWORKFIREWALL_API FirewallMetadata(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API FirewallMetadata()
FirewallMetadata & WithFirewallArn(Aws::String &&value)
FirewallMetadata & WithFirewallName(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue