7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/network-firewall/NetworkFirewallRequest.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
11#include <aws/network-firewall/model/EncryptionConfiguration.h>
12#include <aws/network-firewall/model/FirewallRuleGroup.h>
13#include <aws/network-firewall/model/IpsRuleGroup.h>
14#include <aws/network-firewall/model/RuleGroup.h>
15#include <aws/network-firewall/model/RuleGroupType.h>
16#include <aws/network-firewall/model/SourceMetadata.h>
17#include <aws/network-firewall/model/SummaryConfiguration.h>
18#include <aws/network-firewall/model/Tag.h>
23namespace NetworkFirewall {
49 template <
typename RuleGroupNameT = Aws::String>
51 m_ruleGroupNameHasBeenSet =
true;
52 m_ruleGroupName = std::forward<RuleGroupNameT>(value);
54 template <
typename RuleGroupNameT = Aws::String>
69 template <
typename RuleGroupT = RuleGroup>
71 m_ruleGroupHasBeenSet =
true;
72 m_ruleGroup = std::forward<RuleGroupT>(value);
74 template <
typename RuleGroupT = RuleGroup>
88 template <
typename FirewallRuleGroupT = FirewallRuleGroup>
90 m_firewallRuleGroupHasBeenSet =
true;
91 m_firewallRuleGroup = std::forward<FirewallRuleGroupT>(value);
93 template <
typename FirewallRuleGroupT = FirewallRuleGroup>
107 template <
typename IpsRuleGroupT = IpsRuleGroup>
109 m_ipsRuleGroupHasBeenSet =
true;
110 m_ipsRuleGroup = std::forward<IpsRuleGroupT>(value);
112 template <
typename IpsRuleGroupT = IpsRuleGroup>
132 template <
typename RulesT = Aws::String>
134 m_rulesHasBeenSet =
true;
135 m_rules = std::forward<RulesT>(value);
137 template <
typename RulesT = Aws::String>
139 SetRules(std::forward<RulesT>(value));
157 m_typeHasBeenSet =
true;
172 template <
typename DescriptionT = Aws::String>
174 m_descriptionHasBeenSet =
true;
175 m_description = std::forward<DescriptionT>(value);
177 template <
typename DescriptionT = Aws::String>
216 m_capacityHasBeenSet =
true;
231 template <
typename TagsT = Aws::Vector<Tag>>
233 m_tagsHasBeenSet =
true;
234 m_tags = std::forward<TagsT>(value);
236 template <
typename TagsT = Aws::Vector<Tag>>
238 SetTags(std::forward<TagsT>(value));
241 template <
typename TagsT = Tag>
243 m_tagsHasBeenSet =
true;
244 m_tags.emplace_back(std::forward<TagsT>(value));
264 m_dryRunHasBeenSet =
true;
280 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
282 m_encryptionConfigurationHasBeenSet =
true;
283 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
285 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
300 template <
typename SourceMetadataT = SourceMetadata>
302 m_sourceMetadataHasBeenSet =
true;
303 m_sourceMetadata = std::forward<SourceMetadataT>(value);
305 template <
typename SourceMetadataT = SourceMetadata>
323 m_analyzeRuleGroupHasBeenSet =
true;
324 m_analyzeRuleGroup = value;
342 template <
typename SummaryConfigurationT = SummaryConfiguration>
344 m_summaryConfigurationHasBeenSet =
true;
345 m_summaryConfiguration = std::forward<SummaryConfigurationT>(value);
347 template <
typename SummaryConfigurationT = SummaryConfiguration>
372 bool m_dryRun{
false};
374 EncryptionConfiguration m_encryptionConfiguration;
376 SourceMetadata m_sourceMetadata;
378 bool m_analyzeRuleGroup{
false};
380 SummaryConfiguration m_summaryConfiguration;
381 bool m_ruleGroupNameHasBeenSet =
false;
382 bool m_ruleGroupHasBeenSet =
false;
383 bool m_firewallRuleGroupHasBeenSet =
false;
384 bool m_ipsRuleGroupHasBeenSet =
false;
385 bool m_rulesHasBeenSet =
false;
386 bool m_typeHasBeenSet =
false;
387 bool m_descriptionHasBeenSet =
false;
388 bool m_capacityHasBeenSet =
false;
389 bool m_tagsHasBeenSet =
false;
390 bool m_dryRunHasBeenSet =
false;
391 bool m_encryptionConfigurationHasBeenSet =
false;
392 bool m_sourceMetadataHasBeenSet =
false;
393 bool m_analyzeRuleGroupHasBeenSet =
false;
394 bool m_summaryConfigurationHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
bool EncryptionConfigurationHasBeenSet() const
const SummaryConfiguration & GetSummaryConfiguration() const
bool DryRunHasBeenSet() const
CreateRuleGroupRequest & WithDryRun(bool value)
void SetType(RuleGroupType value)
bool FirewallRuleGroupHasBeenSet() const
bool AnalyzeRuleGroupHasBeenSet() const
void SetCapacity(int value)
bool DescriptionHasBeenSet() const
void SetRules(RulesT &&value)
void SetIpsRuleGroup(IpsRuleGroupT &&value)
CreateRuleGroupRequest & WithSourceMetadata(SourceMetadataT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
CreateRuleGroupRequest & WithRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
AWS_NETWORKFIREWALL_API CreateRuleGroupRequest()=default
CreateRuleGroupRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
CreateRuleGroupRequest & WithType(RuleGroupType value)
RuleGroupType GetType() const
bool IpsRuleGroupHasBeenSet() const
bool TypeHasBeenSet() const
CreateRuleGroupRequest & WithFirewallRuleGroup(FirewallRuleGroupT &&value)
CreateRuleGroupRequest & WithSummaryConfiguration(SummaryConfigurationT &&value)
bool RuleGroupHasBeenSet() const
const FirewallRuleGroup & GetFirewallRuleGroup() const
const Aws::String & GetRuleGroupName() const
CreateRuleGroupRequest & WithCapacity(int value)
bool SummaryConfigurationHasBeenSet() const
bool GetAnalyzeRuleGroup() const
CreateRuleGroupRequest & WithDescription(DescriptionT &&value)
bool RuleGroupNameHasBeenSet() const
void SetDryRun(bool value)
CreateRuleGroupRequest & WithRuleGroup(RuleGroupT &&value)
const SourceMetadata & GetSourceMetadata() const
const Aws::Vector< Tag > & GetTags() const
void SetRuleGroupName(RuleGroupNameT &&value)
void SetRuleGroup(RuleGroupT &&value)
CreateRuleGroupRequest & WithRules(RulesT &&value)
void SetDescription(DescriptionT &&value)
CreateRuleGroupRequest & AddTags(TagsT &&value)
const RuleGroup & GetRuleGroup() const
void SetSummaryConfiguration(SummaryConfigurationT &&value)
bool SourceMetadataHasBeenSet() const
void SetAnalyzeRuleGroup(bool value)
void SetTags(TagsT &&value)
void SetFirewallRuleGroup(FirewallRuleGroupT &&value)
CreateRuleGroupRequest & WithIpsRuleGroup(IpsRuleGroupT &&value)
CreateRuleGroupRequest & WithAnalyzeRuleGroup(bool value)
const IpsRuleGroup & GetIpsRuleGroup() const
bool CapacityHasBeenSet() const
bool RulesHasBeenSet() const
const Aws::String & GetRules() const
void SetSourceMetadata(SourceMetadataT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
CreateRuleGroupRequest & WithTags(TagsT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector