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>
26namespace NetworkFirewall
55 template<
typename FirewallPolicyNameT = Aws::String>
56 void SetFirewallPolicyName(FirewallPolicyNameT&& value) { m_firewallPolicyNameHasBeenSet =
true; m_firewallPolicyName = std::forward<FirewallPolicyNameT>(value); }
57 template<
typename FirewallPolicyNameT = Aws::String>
70 template<
typename FirewallPolicyArnT = Aws::String>
71 void SetFirewallPolicyArn(FirewallPolicyArnT&& value) { m_firewallPolicyArnHasBeenSet =
true; m_firewallPolicyArn = std::forward<FirewallPolicyArnT>(value); }
72 template<
typename FirewallPolicyArnT = Aws::String>
82 template<
typename FirewallPolicyIdT = Aws::String>
83 void SetFirewallPolicyId(FirewallPolicyIdT&& value) { m_firewallPolicyIdHasBeenSet =
true; m_firewallPolicyId = std::forward<FirewallPolicyIdT>(value); }
84 template<
typename FirewallPolicyIdT = Aws::String>
94 template<
typename DescriptionT = Aws::String>
95 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
96 template<
typename DescriptionT = Aws::String>
118 template<
typename TagsT = Aws::Vector<Tag>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
120 template<
typename TagsT = Aws::Vector<Tag>>
122 template<
typename TagsT = Tag>
165 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
166 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
167 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
177 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
178 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
179 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
185 bool m_firewallPolicyNameHasBeenSet =
false;
188 bool m_firewallPolicyArnHasBeenSet =
false;
191 bool m_firewallPolicyIdHasBeenSet =
false;
194 bool m_descriptionHasBeenSet =
false;
197 bool m_firewallPolicyStatusHasBeenSet =
false;
200 bool m_tagsHasBeenSet =
false;
202 int m_consumedStatelessRuleCapacity{0};
203 bool m_consumedStatelessRuleCapacityHasBeenSet =
false;
205 int m_consumedStatefulRuleCapacity{0};
206 bool m_consumedStatefulRuleCapacityHasBeenSet =
false;
208 int m_numberOfAssociations{0};
209 bool m_numberOfAssociationsHasBeenSet =
false;
211 EncryptionConfiguration m_encryptionConfiguration;
212 bool m_encryptionConfigurationHasBeenSet =
false;
215 bool m_lastModifiedTimeHasBeenSet =
false;
bool NumberOfAssociationsHasBeenSet() const
const Aws::String & GetFirewallPolicyName() const
bool ConsumedStatefulRuleCapacityHasBeenSet() const
const Aws::String & GetDescription() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
bool EncryptionConfigurationHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool LastModifiedTimeHasBeenSet() const
void SetFirewallPolicyStatus(ResourceStatus value)
AWS_NETWORKFIREWALL_API FirewallPolicyResponse()=default
bool FirewallPolicyArnHasBeenSet() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
bool DescriptionHasBeenSet() const
void SetTags(TagsT &&value)
FirewallPolicyResponse & WithDescription(DescriptionT &&value)
FirewallPolicyResponse & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
const Aws::String & GetFirewallPolicyArn() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetConsumedStatelessRuleCapacity(int value)
FirewallPolicyResponse & WithLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
int GetConsumedStatelessRuleCapacity() const
FirewallPolicyResponse & WithConsumedStatelessRuleCapacity(int value)
bool FirewallPolicyNameHasBeenSet() const
FirewallPolicyResponse & WithFirewallPolicyStatus(ResourceStatus value)
void SetConsumedStatefulRuleCapacity(int value)
AWS_NETWORKFIREWALL_API FirewallPolicyResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
FirewallPolicyResponse & WithTags(TagsT &&value)
ResourceStatus GetFirewallPolicyStatus() const
bool ConsumedStatelessRuleCapacityHasBeenSet() const
FirewallPolicyResponse & AddTags(TagsT &&value)
void SetFirewallPolicyName(FirewallPolicyNameT &&value)
AWS_NETWORKFIREWALL_API FirewallPolicyResponse(Aws::Utils::Json::JsonView jsonValue)
bool FirewallPolicyIdHasBeenSet() const
const Aws::String & GetFirewallPolicyId() const
FirewallPolicyResponse & WithNumberOfAssociations(int value)
int GetConsumedStatefulRuleCapacity() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
bool FirewallPolicyStatusHasBeenSet() const
FirewallPolicyResponse & WithConsumedStatefulRuleCapacity(int value)
FirewallPolicyResponse & WithFirewallPolicyId(FirewallPolicyIdT &&value)
void SetFirewallPolicyArn(FirewallPolicyArnT &&value)
bool TagsHasBeenSet() const
FirewallPolicyResponse & WithFirewallPolicyArn(FirewallPolicyArnT &&value)
int GetNumberOfAssociations() const
FirewallPolicyResponse & WithFirewallPolicyName(FirewallPolicyNameT &&value)
void SetNumberOfAssociations(int value)
void SetFirewallPolicyId(FirewallPolicyIdT &&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