7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/network-firewall/NetworkFirewallRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/network-firewall/model/RuleGroup.h>
11#include <aws/network-firewall/model/RuleGroupType.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/network-firewall/model/EncryptionConfiguration.h>
14#include <aws/network-firewall/model/SourceMetadata.h>
15#include <aws/network-firewall/model/SummaryConfiguration.h>
16#include <aws/network-firewall/model/Tag.h>
21namespace NetworkFirewall
51 template<
typename RuleGroupNameT = Aws::String>
52 void SetRuleGroupName(RuleGroupNameT&& value) { m_ruleGroupNameHasBeenSet =
true; m_ruleGroupName = std::forward<RuleGroupNameT>(value); }
53 template<
typename RuleGroupNameT = Aws::String>
65 template<
typename RuleGroupT = RuleGroup>
66 void SetRuleGroup(RuleGroupT&& value) { m_ruleGroupHasBeenSet =
true; m_ruleGroup = std::forward<RuleGroupT>(value); }
67 template<
typename RuleGroupT = RuleGroup>
84 template<
typename RulesT = Aws::String>
85 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
86 template<
typename RulesT = Aws::String>
108 template<
typename DescriptionT = Aws::String>
109 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
110 template<
typename DescriptionT = Aws::String>
145 inline void SetCapacity(
int value) { m_capacityHasBeenSet =
true; m_capacity = value; }
155 template<
typename TagsT = Aws::Vector<Tag>>
156 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
157 template<
typename TagsT = Aws::Vector<Tag>>
159 template<
typename TagsT = Tag>
177 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
188 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
189 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
190 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
202 template<
typename SourceMetadataT = SourceMetadata>
203 void SetSourceMetadata(SourceMetadataT&& value) { m_sourceMetadataHasBeenSet =
true; m_sourceMetadata = std::forward<SourceMetadataT>(value); }
204 template<
typename SourceMetadataT = SourceMetadata>
218 inline void SetAnalyzeRuleGroup(
bool value) { m_analyzeRuleGroupHasBeenSet =
true; m_analyzeRuleGroup = value; }
232 template<
typename SummaryConfigurationT = SummaryConfiguration>
233 void SetSummaryConfiguration(SummaryConfigurationT&& value) { m_summaryConfigurationHasBeenSet =
true; m_summaryConfiguration = std::forward<SummaryConfigurationT>(value); }
234 template<
typename SummaryConfigurationT = SummaryConfiguration>
240 bool m_ruleGroupNameHasBeenSet =
false;
243 bool m_ruleGroupHasBeenSet =
false;
246 bool m_rulesHasBeenSet =
false;
249 bool m_typeHasBeenSet =
false;
252 bool m_descriptionHasBeenSet =
false;
255 bool m_capacityHasBeenSet =
false;
258 bool m_tagsHasBeenSet =
false;
260 bool m_dryRun{
false};
261 bool m_dryRunHasBeenSet =
false;
263 EncryptionConfiguration m_encryptionConfiguration;
264 bool m_encryptionConfigurationHasBeenSet =
false;
266 SourceMetadata m_sourceMetadata;
267 bool m_sourceMetadataHasBeenSet =
false;
269 bool m_analyzeRuleGroup{
false};
270 bool m_analyzeRuleGroupHasBeenSet =
false;
272 SummaryConfiguration m_summaryConfiguration;
273 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 AnalyzeRuleGroupHasBeenSet() const
void SetCapacity(int value)
bool DescriptionHasBeenSet() const
void SetRules(RulesT &&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 TypeHasBeenSet() const
CreateRuleGroupRequest & WithSummaryConfiguration(SummaryConfigurationT &&value)
bool RuleGroupHasBeenSet() 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)
CreateRuleGroupRequest & WithAnalyzeRuleGroup(bool value)
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