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/network-firewall/model/EncryptionConfiguration.h>
13#include <aws/network-firewall/model/SourceMetadata.h>
14#include <aws/network-firewall/model/SummaryConfiguration.h>
19namespace NetworkFirewall
56 template<
typename UpdateTokenT = Aws::String>
57 void SetUpdateToken(UpdateTokenT&& value) { m_updateTokenHasBeenSet =
true; m_updateToken = std::forward<UpdateTokenT>(value); }
58 template<
typename UpdateTokenT = Aws::String>
69 template<
typename RuleGroupArnT = Aws::String>
70 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet =
true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
71 template<
typename RuleGroupArnT = Aws::String>
83 template<
typename RuleGroupNameT = Aws::String>
84 void SetRuleGroupName(RuleGroupNameT&& value) { m_ruleGroupNameHasBeenSet =
true; m_ruleGroupName = std::forward<RuleGroupNameT>(value); }
85 template<
typename RuleGroupNameT = Aws::String>
97 template<
typename RuleGroupT = RuleGroup>
98 void SetRuleGroup(RuleGroupT&& value) { m_ruleGroupHasBeenSet =
true; m_ruleGroup = std::forward<RuleGroupT>(value); }
99 template<
typename RuleGroupT = RuleGroup>
116 template<
typename RulesT = Aws::String>
117 void SetRules(RulesT&& value) { m_rulesHasBeenSet =
true; m_rules = std::forward<RulesT>(value); }
118 template<
typename RulesT = Aws::String>
141 template<
typename DescriptionT = Aws::String>
142 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
143 template<
typename DescriptionT = Aws::String>
161 inline void SetDryRun(
bool value) { m_dryRunHasBeenSet =
true; m_dryRun = value; }
172 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
173 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
174 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
186 template<
typename SourceMetadataT = SourceMetadata>
187 void SetSourceMetadata(SourceMetadataT&& value) { m_sourceMetadataHasBeenSet =
true; m_sourceMetadata = std::forward<SourceMetadataT>(value); }
188 template<
typename SourceMetadataT = SourceMetadata>
202 inline void SetAnalyzeRuleGroup(
bool value) { m_analyzeRuleGroupHasBeenSet =
true; m_analyzeRuleGroup = value; }
213 template<
typename SummaryConfigurationT = SummaryConfiguration>
214 void SetSummaryConfiguration(SummaryConfigurationT&& value) { m_summaryConfigurationHasBeenSet =
true; m_summaryConfiguration = std::forward<SummaryConfigurationT>(value); }
215 template<
typename SummaryConfigurationT = SummaryConfiguration>
221 bool m_updateTokenHasBeenSet =
false;
224 bool m_ruleGroupArnHasBeenSet =
false;
227 bool m_ruleGroupNameHasBeenSet =
false;
230 bool m_ruleGroupHasBeenSet =
false;
233 bool m_rulesHasBeenSet =
false;
236 bool m_typeHasBeenSet =
false;
239 bool m_descriptionHasBeenSet =
false;
241 bool m_dryRun{
false};
242 bool m_dryRunHasBeenSet =
false;
244 EncryptionConfiguration m_encryptionConfiguration;
245 bool m_encryptionConfigurationHasBeenSet =
false;
247 SourceMetadata m_sourceMetadata;
248 bool m_sourceMetadataHasBeenSet =
false;
250 bool m_analyzeRuleGroup{
false};
251 bool m_analyzeRuleGroupHasBeenSet =
false;
253 SummaryConfiguration m_summaryConfiguration;
254 bool m_summaryConfigurationHasBeenSet =
false;
bool TypeHasBeenSet() const
UpdateRuleGroupRequest & WithRuleGroupName(RuleGroupNameT &&value)
bool DryRunHasBeenSet() const
const Aws::String & GetDescription() const
const Aws::String & GetRuleGroupName() const
void SetType(RuleGroupType value)
void SetAnalyzeRuleGroup(bool value)
bool UpdateTokenHasBeenSet() const
AWS_NETWORKFIREWALL_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
void SetDescription(DescriptionT &&value)
void SetSourceMetadata(SourceMetadataT &&value)
void SetDryRun(bool value)
UpdateRuleGroupRequest & WithAnalyzeRuleGroup(bool value)
UpdateRuleGroupRequest & WithRules(RulesT &&value)
bool RuleGroupArnHasBeenSet() const
UpdateRuleGroupRequest & WithDescription(DescriptionT &&value)
UpdateRuleGroupRequest & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
bool RuleGroupHasBeenSet() const
void SetSummaryConfiguration(SummaryConfigurationT &&value)
AWS_NETWORKFIREWALL_API Aws::String SerializePayload() const override
UpdateRuleGroupRequest & WithUpdateToken(UpdateTokenT &&value)
bool AnalyzeRuleGroupHasBeenSet() const
const EncryptionConfiguration & GetEncryptionConfiguration() const
void SetUpdateToken(UpdateTokenT &&value)
const Aws::String & GetRules() const
virtual const char * GetServiceRequestName() const override
bool GetAnalyzeRuleGroup() const
bool SourceMetadataHasBeenSet() const
void SetRuleGroupName(RuleGroupNameT &&value)
const SourceMetadata & GetSourceMetadata() const
bool RuleGroupNameHasBeenSet() const
RuleGroupType GetType() const
UpdateRuleGroupRequest & WithDryRun(bool value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
UpdateRuleGroupRequest & WithRuleGroupArn(RuleGroupArnT &&value)
void SetRuleGroup(RuleGroupT &&value)
void SetRules(RulesT &&value)
const RuleGroup & GetRuleGroup() const
bool SummaryConfigurationHasBeenSet() const
const Aws::String & GetUpdateToken() const
UpdateRuleGroupRequest & WithSourceMetadata(SourceMetadataT &&value)
UpdateRuleGroupRequest & WithSummaryConfiguration(SummaryConfigurationT &&value)
UpdateRuleGroupRequest & WithRuleGroup(RuleGroupT &&value)
bool EncryptionConfigurationHasBeenSet() const
const Aws::String & GetRuleGroupArn() const
AWS_NETWORKFIREWALL_API UpdateRuleGroupRequest()=default
void SetRuleGroupArn(RuleGroupArnT &&value)
bool RulesHasBeenSet() const
UpdateRuleGroupRequest & WithType(RuleGroupType value)
bool DescriptionHasBeenSet() const
const SummaryConfiguration & GetSummaryConfiguration() const
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String