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/Tag.h>
20namespace NetworkFirewall
52 inline void SetRuleGroupName(
const char* value) { m_ruleGroupNameHasBeenSet =
true; m_ruleGroupName.assign(value); }
87 inline void SetRules(
const char* value) { m_rulesHasBeenSet =
true; m_rules.assign(value); }
115 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
152 inline void SetCapacity(
int value) { m_capacityHasBeenSet =
true; m_capacity = value; }
184 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
225 inline void SetAnalyzeRuleGroup(
bool value) { m_analyzeRuleGroupHasBeenSet =
true; m_analyzeRuleGroup = value; }
231 bool m_ruleGroupNameHasBeenSet =
false;
234 bool m_ruleGroupHasBeenSet =
false;
237 bool m_rulesHasBeenSet =
false;
240 bool m_typeHasBeenSet =
false;
243 bool m_descriptionHasBeenSet =
false;
246 bool m_capacityHasBeenSet =
false;
249 bool m_tagsHasBeenSet =
false;
252 bool m_dryRunHasBeenSet =
false;
255 bool m_encryptionConfigurationHasBeenSet =
false;
258 bool m_sourceMetadataHasBeenSet =
false;
260 bool m_analyzeRuleGroup;
261 bool m_analyzeRuleGroupHasBeenSet =
false;
const Aws::String & GetDescription() const
void SetRules(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
bool TagsHasBeenSet() const
CreateRuleGroupRequest & WithSourceMetadata(const SourceMetadata &value)
CreateRuleGroupRequest & WithRuleGroupName(Aws::String &&value)
bool EncryptionConfigurationHasBeenSet() const
bool DryRunHasBeenSet() const
CreateRuleGroupRequest & WithDryRun(bool value)
CreateRuleGroupRequest & WithEncryptionConfiguration(EncryptionConfiguration &&value)
bool AnalyzeRuleGroupHasBeenSet() const
void SetCapacity(int value)
bool DescriptionHasBeenSet() const
void SetType(RuleGroupType &&value)
void SetTags(Aws::Vector< Tag > &&value)
CreateRuleGroupRequest & WithRuleGroup(const RuleGroup &value)
void SetSourceMetadata(const SourceMetadata &value)
CreateRuleGroupRequest & WithRuleGroupName(const Aws::String &value)
void SetRules(const char *value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRuleGroupRequest & WithDescription(Aws::String &&value)
void SetType(const RuleGroupType &value)
CreateRuleGroupRequest & WithRules(Aws::String &&value)
bool TypeHasBeenSet() const
CreateRuleGroupRequest & WithSourceMetadata(SourceMetadata &&value)
bool RuleGroupHasBeenSet() const
const Aws::String & GetRuleGroupName() const
void SetDescription(Aws::String &&value)
CreateRuleGroupRequest & WithCapacity(int value)
CreateRuleGroupRequest & WithEncryptionConfiguration(const EncryptionConfiguration &value)
void SetRuleGroupName(const Aws::String &value)
bool GetAnalyzeRuleGroup() const
bool RuleGroupNameHasBeenSet() const
void SetDryRun(bool value)
const SourceMetadata & GetSourceMetadata() const
void SetRules(Aws::String &&value)
CreateRuleGroupRequest & WithTags(Aws::Vector< Tag > &&value)
const Aws::Vector< Tag > & GetTags() const
CreateRuleGroupRequest & WithRuleGroupName(const char *value)
CreateRuleGroupRequest & WithDescription(const char *value)
CreateRuleGroupRequest & WithRules(const Aws::String &value)
CreateRuleGroupRequest & WithTags(const Aws::Vector< Tag > &value)
void SetEncryptionConfiguration(EncryptionConfiguration &&value)
CreateRuleGroupRequest & WithRuleGroup(RuleGroup &&value)
const RuleGroup & GetRuleGroup() const
void SetRuleGroupName(Aws::String &&value)
CreateRuleGroupRequest & WithRules(const char *value)
CreateRuleGroupRequest & WithDescription(const Aws::String &value)
AWS_NETWORKFIREWALL_API CreateRuleGroupRequest()
bool SourceMetadataHasBeenSet() const
void SetSourceMetadata(SourceMetadata &&value)
void SetAnalyzeRuleGroup(bool value)
void SetTags(const Aws::Vector< Tag > &value)
CreateRuleGroupRequest & WithType(const RuleGroupType &value)
void SetEncryptionConfiguration(const EncryptionConfiguration &value)
CreateRuleGroupRequest & WithAnalyzeRuleGroup(bool value)
void SetDescription(const char *value)
void SetRuleGroup(RuleGroup &&value)
void SetRuleGroupName(const char *value)
bool CapacityHasBeenSet() const
bool RulesHasBeenSet() const
const Aws::String & GetRules() const
CreateRuleGroupRequest & WithType(RuleGroupType &&value)
CreateRuleGroupRequest & AddTags(const Tag &value)
void SetRuleGroup(const RuleGroup &value)
void SetDescription(const Aws::String &value)
CreateRuleGroupRequest & AddTags(Tag &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
const RuleGroupType & GetType() const
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