AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
FirewallPolicyResponse.h
1
6#pragma once
7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/ResourceStatus.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-firewall/model/EncryptionConfiguration.h>
12#include <aws/core/utils/DateTime.h>
13#include <aws/network-firewall/model/Tag.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace NetworkFirewall
27{
28namespace Model
29{
30
40 {
41 public:
42 AWS_NETWORKFIREWALL_API FirewallPolicyResponse();
43 AWS_NETWORKFIREWALL_API FirewallPolicyResponse(Aws::Utils::Json::JsonView jsonValue);
44 AWS_NETWORKFIREWALL_API FirewallPolicyResponse& operator=(Aws::Utils::Json::JsonView jsonValue);
45 AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const;
46
47
49
53 inline const Aws::String& GetFirewallPolicyName() const{ return m_firewallPolicyName; }
54 inline bool FirewallPolicyNameHasBeenSet() const { return m_firewallPolicyNameHasBeenSet; }
55 inline void SetFirewallPolicyName(const Aws::String& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = value; }
56 inline void SetFirewallPolicyName(Aws::String&& value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName = std::move(value); }
57 inline void SetFirewallPolicyName(const char* value) { m_firewallPolicyNameHasBeenSet = true; m_firewallPolicyName.assign(value); }
59 inline FirewallPolicyResponse& WithFirewallPolicyName(Aws::String&& value) { SetFirewallPolicyName(std::move(value)); return *this;}
60 inline FirewallPolicyResponse& WithFirewallPolicyName(const char* value) { SetFirewallPolicyName(value); return *this;}
62
64
70 inline const Aws::String& GetFirewallPolicyArn() const{ return m_firewallPolicyArn; }
71 inline bool FirewallPolicyArnHasBeenSet() const { return m_firewallPolicyArnHasBeenSet; }
72 inline void SetFirewallPolicyArn(const Aws::String& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = value; }
73 inline void SetFirewallPolicyArn(Aws::String&& value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn = std::move(value); }
74 inline void SetFirewallPolicyArn(const char* value) { m_firewallPolicyArnHasBeenSet = true; m_firewallPolicyArn.assign(value); }
76 inline FirewallPolicyResponse& WithFirewallPolicyArn(Aws::String&& value) { SetFirewallPolicyArn(std::move(value)); return *this;}
77 inline FirewallPolicyResponse& WithFirewallPolicyArn(const char* value) { SetFirewallPolicyArn(value); return *this;}
79
81
84 inline const Aws::String& GetFirewallPolicyId() const{ return m_firewallPolicyId; }
85 inline bool FirewallPolicyIdHasBeenSet() const { return m_firewallPolicyIdHasBeenSet; }
86 inline void SetFirewallPolicyId(const Aws::String& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = value; }
87 inline void SetFirewallPolicyId(Aws::String&& value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId = std::move(value); }
88 inline void SetFirewallPolicyId(const char* value) { m_firewallPolicyIdHasBeenSet = true; m_firewallPolicyId.assign(value); }
89 inline FirewallPolicyResponse& WithFirewallPolicyId(const Aws::String& value) { SetFirewallPolicyId(value); return *this;}
90 inline FirewallPolicyResponse& WithFirewallPolicyId(Aws::String&& value) { SetFirewallPolicyId(std::move(value)); return *this;}
91 inline FirewallPolicyResponse& WithFirewallPolicyId(const char* value) { SetFirewallPolicyId(value); return *this;}
93
95
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 FirewallPolicyResponse& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
104 inline FirewallPolicyResponse& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
105 inline FirewallPolicyResponse& WithDescription(const char* value) { SetDescription(value); return *this;}
107
109
114 inline const ResourceStatus& GetFirewallPolicyStatus() const{ return m_firewallPolicyStatus; }
115 inline bool FirewallPolicyStatusHasBeenSet() const { return m_firewallPolicyStatusHasBeenSet; }
116 inline void SetFirewallPolicyStatus(const ResourceStatus& value) { m_firewallPolicyStatusHasBeenSet = true; m_firewallPolicyStatus = value; }
117 inline void SetFirewallPolicyStatus(ResourceStatus&& value) { m_firewallPolicyStatusHasBeenSet = true; m_firewallPolicyStatus = std::move(value); }
121
123
126 inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
127 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
128 inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
129 inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
130 inline FirewallPolicyResponse& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
131 inline FirewallPolicyResponse& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
132 inline FirewallPolicyResponse& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
133 inline FirewallPolicyResponse& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
135
137
141 inline int GetConsumedStatelessRuleCapacity() const{ return m_consumedStatelessRuleCapacity; }
142 inline bool ConsumedStatelessRuleCapacityHasBeenSet() const { return m_consumedStatelessRuleCapacityHasBeenSet; }
143 inline void SetConsumedStatelessRuleCapacity(int value) { m_consumedStatelessRuleCapacityHasBeenSet = true; m_consumedStatelessRuleCapacity = value; }
146
148
152 inline int GetConsumedStatefulRuleCapacity() const{ return m_consumedStatefulRuleCapacity; }
153 inline bool ConsumedStatefulRuleCapacityHasBeenSet() const { return m_consumedStatefulRuleCapacityHasBeenSet; }
154 inline void SetConsumedStatefulRuleCapacity(int value) { m_consumedStatefulRuleCapacityHasBeenSet = true; m_consumedStatefulRuleCapacity = value; }
157
159
162 inline int GetNumberOfAssociations() const{ return m_numberOfAssociations; }
163 inline bool NumberOfAssociationsHasBeenSet() const { return m_numberOfAssociationsHasBeenSet; }
164 inline void SetNumberOfAssociations(int value) { m_numberOfAssociationsHasBeenSet = true; m_numberOfAssociations = value; }
167
169
173 inline const EncryptionConfiguration& GetEncryptionConfiguration() const{ return m_encryptionConfiguration; }
174 inline bool EncryptionConfigurationHasBeenSet() const { return m_encryptionConfigurationHasBeenSet; }
175 inline void SetEncryptionConfiguration(const EncryptionConfiguration& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = value; }
176 inline void SetEncryptionConfiguration(EncryptionConfiguration&& value) { m_encryptionConfigurationHasBeenSet = true; m_encryptionConfiguration = std::move(value); }
180
182
185 inline const Aws::Utils::DateTime& GetLastModifiedTime() const{ return m_lastModifiedTime; }
186 inline bool LastModifiedTimeHasBeenSet() const { return m_lastModifiedTimeHasBeenSet; }
187 inline void SetLastModifiedTime(const Aws::Utils::DateTime& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = value; }
188 inline void SetLastModifiedTime(Aws::Utils::DateTime&& value) { m_lastModifiedTimeHasBeenSet = true; m_lastModifiedTime = std::move(value); }
190 inline FirewallPolicyResponse& WithLastModifiedTime(Aws::Utils::DateTime&& value) { SetLastModifiedTime(std::move(value)); return *this;}
192 private:
193
194 Aws::String m_firewallPolicyName;
195 bool m_firewallPolicyNameHasBeenSet = false;
196
197 Aws::String m_firewallPolicyArn;
198 bool m_firewallPolicyArnHasBeenSet = false;
199
200 Aws::String m_firewallPolicyId;
201 bool m_firewallPolicyIdHasBeenSet = false;
202
203 Aws::String m_description;
204 bool m_descriptionHasBeenSet = false;
205
206 ResourceStatus m_firewallPolicyStatus;
207 bool m_firewallPolicyStatusHasBeenSet = false;
208
209 Aws::Vector<Tag> m_tags;
210 bool m_tagsHasBeenSet = false;
211
212 int m_consumedStatelessRuleCapacity;
213 bool m_consumedStatelessRuleCapacityHasBeenSet = false;
214
215 int m_consumedStatefulRuleCapacity;
216 bool m_consumedStatefulRuleCapacityHasBeenSet = false;
217
218 int m_numberOfAssociations;
219 bool m_numberOfAssociationsHasBeenSet = false;
220
221 EncryptionConfiguration m_encryptionConfiguration;
222 bool m_encryptionConfigurationHasBeenSet = false;
223
224 Aws::Utils::DateTime m_lastModifiedTime;
225 bool m_lastModifiedTimeHasBeenSet = false;
226 };
227
228} // namespace Model
229} // namespace NetworkFirewall
230} // namespace Aws
FirewallPolicyResponse & WithFirewallPolicyId(Aws::String &&value)
FirewallPolicyResponse & WithDescription(const Aws::String &value)
FirewallPolicyResponse & WithFirewallPolicyId(const char *value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
FirewallPolicyResponse & WithDescription(Aws::String &&value)
FirewallPolicyResponse & WithFirewallPolicyId(const Aws::String &value)
FirewallPolicyResponse & WithFirewallPolicyArn(const Aws::String &value)
FirewallPolicyResponse & WithFirewallPolicyStatus(const ResourceStatus &value)
FirewallPolicyResponse & WithLastModifiedTime(const Aws::Utils::DateTime &value)
FirewallPolicyResponse & WithFirewallPolicyArn(const char *value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
FirewallPolicyResponse & WithEncryptionConfiguration(const EncryptionConfiguration &value)
FirewallPolicyResponse & WithConsumedStatelessRuleCapacity(int value)
AWS_NETWORKFIREWALL_API FirewallPolicyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallPolicyResponse & WithFirewallPolicyArn(Aws::String &&value)
FirewallPolicyResponse & WithLastModifiedTime(Aws::Utils::DateTime &&value)
FirewallPolicyResponse & WithTags(Aws::Vector< Tag > &&value)
AWS_NETWORKFIREWALL_API FirewallPolicyResponse(Aws::Utils::Json::JsonView jsonValue)
FirewallPolicyResponse & AddTags(const Tag &value)
FirewallPolicyResponse & WithNumberOfAssociations(int value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
FirewallPolicyResponse & WithEncryptionConfiguration(EncryptionConfiguration &&value)
FirewallPolicyResponse & WithFirewallPolicyName(Aws::String &&value)
FirewallPolicyResponse & WithFirewallPolicyName(const char *value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
void SetLastModifiedTime(const Aws::Utils::DateTime &value)
FirewallPolicyResponse & WithFirewallPolicyName(const Aws::String &value)
FirewallPolicyResponse & WithConsumedStatefulRuleCapacity(int value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
FirewallPolicyResponse & WithDescription(const char *value)
FirewallPolicyResponse & WithFirewallPolicyStatus(ResourceStatus &&value)
FirewallPolicyResponse & WithTags(const Aws::Vector< Tag > &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