AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
AwsNetworkFirewallFirewallDetails.h
1
6#pragma once
7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/model/AwsNetworkFirewallFirewallSubnetMappingsDetails.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace SecurityHub
24{
25namespace Model
26{
27
34 {
35 public:
36 AWS_SECURITYHUB_API AwsNetworkFirewallFirewallDetails();
39 AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
47 inline bool GetDeleteProtection() const{ return m_deleteProtection; }
48 inline bool DeleteProtectionHasBeenSet() const { return m_deleteProtectionHasBeenSet; }
49 inline void SetDeleteProtection(bool value) { m_deleteProtectionHasBeenSet = true; m_deleteProtection = value; }
52
54
57 inline const Aws::String& GetDescription() const{ return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
60 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
61 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
62 inline AwsNetworkFirewallFirewallDetails& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
63 inline AwsNetworkFirewallFirewallDetails& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
64 inline AwsNetworkFirewallFirewallDetails& WithDescription(const char* value) { SetDescription(value); return *this;}
66
68
71 inline const Aws::String& GetFirewallArn() const{ return m_firewallArn; }
72 inline bool FirewallArnHasBeenSet() const { return m_firewallArnHasBeenSet; }
73 inline void SetFirewallArn(const Aws::String& value) { m_firewallArnHasBeenSet = true; m_firewallArn = value; }
74 inline void SetFirewallArn(Aws::String&& value) { m_firewallArnHasBeenSet = true; m_firewallArn = std::move(value); }
75 inline void SetFirewallArn(const char* value) { m_firewallArnHasBeenSet = true; m_firewallArn.assign(value); }
76 inline AwsNetworkFirewallFirewallDetails& WithFirewallArn(const Aws::String& value) { SetFirewallArn(value); return *this;}
77 inline AwsNetworkFirewallFirewallDetails& WithFirewallArn(Aws::String&& value) { SetFirewallArn(std::move(value)); return *this;}
78 inline AwsNetworkFirewallFirewallDetails& WithFirewallArn(const char* value) { SetFirewallArn(value); return *this;}
80
82
85 inline const Aws::String& GetFirewallId() const{ return m_firewallId; }
86 inline bool FirewallIdHasBeenSet() const { return m_firewallIdHasBeenSet; }
87 inline void SetFirewallId(const Aws::String& value) { m_firewallIdHasBeenSet = true; m_firewallId = value; }
88 inline void SetFirewallId(Aws::String&& value) { m_firewallIdHasBeenSet = true; m_firewallId = std::move(value); }
89 inline void SetFirewallId(const char* value) { m_firewallIdHasBeenSet = true; m_firewallId.assign(value); }
90 inline AwsNetworkFirewallFirewallDetails& WithFirewallId(const Aws::String& value) { SetFirewallId(value); return *this;}
91 inline AwsNetworkFirewallFirewallDetails& WithFirewallId(Aws::String&& value) { SetFirewallId(std::move(value)); return *this;}
92 inline AwsNetworkFirewallFirewallDetails& WithFirewallId(const char* value) { SetFirewallId(value); return *this;}
94
96
99 inline const Aws::String& GetFirewallName() const{ return m_firewallName; }
100 inline bool FirewallNameHasBeenSet() const { return m_firewallNameHasBeenSet; }
101 inline void SetFirewallName(const Aws::String& value) { m_firewallNameHasBeenSet = true; m_firewallName = value; }
102 inline void SetFirewallName(Aws::String&& value) { m_firewallNameHasBeenSet = true; m_firewallName = std::move(value); }
103 inline void SetFirewallName(const char* value) { m_firewallNameHasBeenSet = true; m_firewallName.assign(value); }
105 inline AwsNetworkFirewallFirewallDetails& WithFirewallName(Aws::String&& value) { SetFirewallName(std::move(value)); return *this;}
106 inline AwsNetworkFirewallFirewallDetails& WithFirewallName(const char* value) { SetFirewallName(value); return *this;}
108
110
113 inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; }
114 inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; }
115 inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; }
116 inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); }
117 inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); }
120 inline AwsNetworkFirewallFirewallDetails& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;}
122
124
129 inline bool GetFirewallPolicyChangeProtection() const{ return m_firewallPolicyChangeProtection; }
130 inline bool FirewallPolicyChangeProtectionHasBeenSet() const { return m_firewallPolicyChangeProtectionHasBeenSet; }
131 inline void SetFirewallPolicyChangeProtection(bool value) { m_firewallPolicyChangeProtectionHasBeenSet = true; m_firewallPolicyChangeProtection = value; }
134
136
141 inline bool GetSubnetChangeProtection() const{ return m_subnetChangeProtection; }
142 inline bool SubnetChangeProtectionHasBeenSet() const { return m_subnetChangeProtectionHasBeenSet; }
143 inline void SetSubnetChangeProtection(bool value) { m_subnetChangeProtectionHasBeenSet = true; m_subnetChangeProtection = value; }
146
148
153 inline bool SubnetMappingsHasBeenSet() const { return m_subnetMappingsHasBeenSet; }
154 inline void SetSubnetMappings(const Aws::Vector<AwsNetworkFirewallFirewallSubnetMappingsDetails>& value) { m_subnetMappingsHasBeenSet = true; m_subnetMappings = value; }
155 inline void SetSubnetMappings(Aws::Vector<AwsNetworkFirewallFirewallSubnetMappingsDetails>&& value) { m_subnetMappingsHasBeenSet = true; m_subnetMappings = std::move(value); }
158 inline AwsNetworkFirewallFirewallDetails& AddSubnetMappings(const AwsNetworkFirewallFirewallSubnetMappingsDetails& value) { m_subnetMappingsHasBeenSet = true; m_subnetMappings.push_back(value); return *this; }
159 inline AwsNetworkFirewallFirewallDetails& AddSubnetMappings(AwsNetworkFirewallFirewallSubnetMappingsDetails&& value) { m_subnetMappingsHasBeenSet = true; m_subnetMappings.push_back(std::move(value)); return *this; }
161
163
166 inline const Aws::String& GetVpcId() const{ return m_vpcId; }
167 inline bool VpcIdHasBeenSet() const { return m_vpcIdHasBeenSet; }
168 inline void SetVpcId(const Aws::String& value) { m_vpcIdHasBeenSet = true; m_vpcId = value; }
169 inline void SetVpcId(Aws::String&& value) { m_vpcIdHasBeenSet = true; m_vpcId = std::move(value); }
170 inline void SetVpcId(const char* value) { m_vpcIdHasBeenSet = true; m_vpcId.assign(value); }
171 inline AwsNetworkFirewallFirewallDetails& WithVpcId(const Aws::String& value) { SetVpcId(value); return *this;}
172 inline AwsNetworkFirewallFirewallDetails& WithVpcId(Aws::String&& value) { SetVpcId(std::move(value)); return *this;}
173 inline AwsNetworkFirewallFirewallDetails& WithVpcId(const char* value) { SetVpcId(value); return *this;}
175 private:
176
177 bool m_deleteProtection;
178 bool m_deleteProtectionHasBeenSet = false;
179
180 Aws::String m_description;
181 bool m_descriptionHasBeenSet = false;
182
183 Aws::String m_firewallArn;
184 bool m_firewallArnHasBeenSet = false;
185
186 Aws::String m_firewallId;
187 bool m_firewallIdHasBeenSet = false;
188
189 Aws::String m_firewallName;
190 bool m_firewallNameHasBeenSet = false;
191
192 Aws::String m_firewallPolicyArn;
193 bool m_firewallPolicyArnHasBeenSet = false;
194
195 bool m_firewallPolicyChangeProtection;
196 bool m_firewallPolicyChangeProtectionHasBeenSet = false;
197
198 bool m_subnetChangeProtection;
199 bool m_subnetChangeProtectionHasBeenSet = false;
200
202 bool m_subnetMappingsHasBeenSet = false;
203
204 Aws::String m_vpcId;
205 bool m_vpcIdHasBeenSet = false;
206 };
207
208} // namespace Model
209} // namespace SecurityHub
210} // namespace Aws
AwsNetworkFirewallFirewallDetails & WithFirewallArn(const char *value)
void SetSubnetMappings(const Aws::Vector< AwsNetworkFirewallFirewallSubnetMappingsDetails > &value)
AWS_SECURITYHUB_API AwsNetworkFirewallFirewallDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AwsNetworkFirewallFirewallDetails & AddSubnetMappings(AwsNetworkFirewallFirewallSubnetMappingsDetails &&value)
AwsNetworkFirewallFirewallDetails & WithFirewallPolicyArn(Aws::String &&value)
AwsNetworkFirewallFirewallDetails & WithVpcId(const char *value)
AwsNetworkFirewallFirewallDetails & WithFirewallId(const Aws::String &value)
AwsNetworkFirewallFirewallDetails & WithFirewallName(const Aws::String &value)
AwsNetworkFirewallFirewallDetails & WithFirewallId(Aws::String &&value)
AwsNetworkFirewallFirewallDetails & WithDescription(const Aws::String &value)
AwsNetworkFirewallFirewallDetails & WithFirewallPolicyArn(const Aws::String &value)
AwsNetworkFirewallFirewallDetails & WithSubnetChangeProtection(bool value)
AwsNetworkFirewallFirewallDetails & WithFirewallName(const char *value)
AwsNetworkFirewallFirewallDetails & WithFirewallId(const char *value)
AwsNetworkFirewallFirewallDetails & WithSubnetMappings(Aws::Vector< AwsNetworkFirewallFirewallSubnetMappingsDetails > &&value)
AwsNetworkFirewallFirewallDetails & WithDescription(const char *value)
const Aws::Vector< AwsNetworkFirewallFirewallSubnetMappingsDetails > & GetSubnetMappings() const
AwsNetworkFirewallFirewallDetails & WithFirewallPolicyArn(const char *value)
AwsNetworkFirewallFirewallDetails & WithSubnetMappings(const Aws::Vector< AwsNetworkFirewallFirewallSubnetMappingsDetails > &value)
AwsNetworkFirewallFirewallDetails & WithFirewallName(Aws::String &&value)
AwsNetworkFirewallFirewallDetails & AddSubnetMappings(const AwsNetworkFirewallFirewallSubnetMappingsDetails &value)
AwsNetworkFirewallFirewallDetails & WithDescription(Aws::String &&value)
AwsNetworkFirewallFirewallDetails & WithDeleteProtection(bool value)
AwsNetworkFirewallFirewallDetails & WithFirewallPolicyChangeProtection(bool value)
AwsNetworkFirewallFirewallDetails & WithFirewallArn(Aws::String &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AwsNetworkFirewallFirewallDetails & WithFirewallArn(const Aws::String &value)
AWS_SECURITYHUB_API AwsNetworkFirewallFirewallDetails(Aws::Utils::Json::JsonView jsonValue)
void SetSubnetMappings(Aws::Vector< AwsNetworkFirewallFirewallSubnetMappingsDetails > &&value)
AwsNetworkFirewallFirewallDetails & WithVpcId(const Aws::String &value)
AwsNetworkFirewallFirewallDetails & WithVpcId(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue