7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/RuleGroupType.h>
10#include <aws/network-firewall/model/ResourceStatus.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/network-firewall/model/EncryptionConfiguration.h>
13#include <aws/network-firewall/model/SourceMetadata.h>
14#include <aws/core/utils/DateTime.h>
15#include <aws/network-firewall/model/SummaryConfiguration.h>
16#include <aws/network-firewall/model/Tag.h>
17#include <aws/network-firewall/model/AnalysisResult.h>
30namespace NetworkFirewall
60 template<
typename RuleGroupArnT = Aws::String>
61 void SetRuleGroupArn(RuleGroupArnT&& value) { m_ruleGroupArnHasBeenSet =
true; m_ruleGroupArn = std::forward<RuleGroupArnT>(value); }
62 template<
typename RuleGroupArnT = Aws::String>
73 template<
typename RuleGroupNameT = Aws::String>
74 void SetRuleGroupName(RuleGroupNameT&& value) { m_ruleGroupNameHasBeenSet =
true; m_ruleGroupName = std::forward<RuleGroupNameT>(value); }
75 template<
typename RuleGroupNameT = Aws::String>
85 template<
typename RuleGroupIdT = Aws::String>
86 void SetRuleGroupId(RuleGroupIdT&& value) { m_ruleGroupIdHasBeenSet =
true; m_ruleGroupId = std::forward<RuleGroupIdT>(value); }
87 template<
typename RuleGroupIdT = Aws::String>
97 template<
typename DescriptionT = Aws::String>
98 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
99 template<
typename DescriptionT = Aws::String>
127 inline void SetCapacity(
int value) { m_capacityHasBeenSet =
true; m_capacity = value; }
147 template<
typename TagsT = Aws::Vector<Tag>>
148 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
149 template<
typename TagsT = Aws::Vector<Tag>>
151 template<
typename TagsT = Tag>
152 RuleGroupResponse&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
161 inline void SetConsumedCapacity(
int value) { m_consumedCapacityHasBeenSet =
true; m_consumedCapacity = value; }
182 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
183 void SetEncryptionConfiguration(EncryptionConfigurationT&& value) { m_encryptionConfigurationHasBeenSet =
true; m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value); }
184 template<
typename EncryptionConfigurationT = EncryptionConfiguration>
196 template<
typename SourceMetadataT = SourceMetadata>
197 void SetSourceMetadata(SourceMetadataT&& value) { m_sourceMetadataHasBeenSet =
true; m_sourceMetadata = std::forward<SourceMetadataT>(value); }
198 template<
typename SourceMetadataT = SourceMetadata>
214 template<
typename SnsTopicT = Aws::String>
215 void SetSnsTopic(SnsTopicT&& value) { m_snsTopicHasBeenSet =
true; m_snsTopic = std::forward<SnsTopicT>(value); }
216 template<
typename SnsTopicT = Aws::String>
226 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
227 void SetLastModifiedTime(LastModifiedTimeT&& value) { m_lastModifiedTimeHasBeenSet =
true; m_lastModifiedTime = std::forward<LastModifiedTimeT>(value); }
228 template<
typename LastModifiedTimeT = Aws::Utils::DateTime>
245 template<
typename AnalysisResultsT = Aws::Vector<AnalysisResult>>
246 void SetAnalysisResults(AnalysisResultsT&& value) { m_analysisResultsHasBeenSet =
true; m_analysisResults = std::forward<AnalysisResultsT>(value); }
247 template<
typename AnalysisResultsT = Aws::Vector<AnalysisResult>>
249 template<
typename AnalysisResultsT = AnalysisResult>
250 RuleGroupResponse&
AddAnalysisResults(AnalysisResultsT&& value) { m_analysisResultsHasBeenSet =
true; m_analysisResults.emplace_back(std::forward<AnalysisResultsT>(value));
return *
this; }
263 template<
typename SummaryConfigurationT = SummaryConfiguration>
264 void SetSummaryConfiguration(SummaryConfigurationT&& value) { m_summaryConfigurationHasBeenSet =
true; m_summaryConfiguration = std::forward<SummaryConfigurationT>(value); }
265 template<
typename SummaryConfigurationT = SummaryConfiguration>
271 bool m_ruleGroupArnHasBeenSet =
false;
274 bool m_ruleGroupNameHasBeenSet =
false;
277 bool m_ruleGroupIdHasBeenSet =
false;
280 bool m_descriptionHasBeenSet =
false;
283 bool m_typeHasBeenSet =
false;
286 bool m_capacityHasBeenSet =
false;
289 bool m_ruleGroupStatusHasBeenSet =
false;
292 bool m_tagsHasBeenSet =
false;
294 int m_consumedCapacity{0};
295 bool m_consumedCapacityHasBeenSet =
false;
297 int m_numberOfAssociations{0};
298 bool m_numberOfAssociationsHasBeenSet =
false;
300 EncryptionConfiguration m_encryptionConfiguration;
301 bool m_encryptionConfigurationHasBeenSet =
false;
303 SourceMetadata m_sourceMetadata;
304 bool m_sourceMetadataHasBeenSet =
false;
307 bool m_snsTopicHasBeenSet =
false;
310 bool m_lastModifiedTimeHasBeenSet =
false;
313 bool m_analysisResultsHasBeenSet =
false;
315 SummaryConfiguration m_summaryConfiguration;
316 bool m_summaryConfigurationHasBeenSet =
false;
void SetConsumedCapacity(int value)
void SetSourceMetadata(SourceMetadataT &&value)
RuleGroupResponse & WithRuleGroupArn(RuleGroupArnT &&value)
bool LastModifiedTimeHasBeenSet() const
void SetSummaryConfiguration(SummaryConfigurationT &&value)
bool SummaryConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
int GetConsumedCapacity() const
void SetSnsTopic(SnsTopicT &&value)
bool TagsHasBeenSet() const
RuleGroupResponse & WithAnalysisResults(AnalysisResultsT &&value)
const Aws::String & GetRuleGroupId() const
bool TypeHasBeenSet() const
bool RuleGroupIdHasBeenSet() const
bool DescriptionHasBeenSet() const
bool CapacityHasBeenSet() const
void SetRuleGroupId(RuleGroupIdT &&value)
const Aws::Vector< AnalysisResult > & GetAnalysisResults() const
RuleGroupResponse & WithRuleGroupName(RuleGroupNameT &&value)
RuleGroupResponse & WithCapacity(int value)
RuleGroupResponse & AddAnalysisResults(AnalysisResultsT &&value)
RuleGroupResponse & WithSnsTopic(SnsTopicT &&value)
bool NumberOfAssociationsHasBeenSet() const
AWS_NETWORKFIREWALL_API RuleGroupResponse(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetRuleGroupName() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetDescription(DescriptionT &&value)
bool RuleGroupArnHasBeenSet() const
RuleGroupResponse & WithSourceMetadata(SourceMetadataT &&value)
const Aws::String & GetSnsTopic() const
RuleGroupResponse & WithDescription(DescriptionT &&value)
const SourceMetadata & GetSourceMetadata() const
void SetRuleGroupStatus(ResourceStatus value)
void SetEncryptionConfiguration(EncryptionConfigurationT &&value)
const SummaryConfiguration & GetSummaryConfiguration() const
RuleGroupResponse & AddTags(TagsT &&value)
void SetCapacity(int value)
bool EncryptionConfigurationHasBeenSet() const
RuleGroupType GetType() const
const Aws::String & GetDescription() const
AWS_NETWORKFIREWALL_API RuleGroupResponse & operator=(Aws::Utils::Json::JsonView jsonValue)
int GetNumberOfAssociations() const
const Aws::Utils::DateTime & GetLastModifiedTime() const
ResourceStatus GetRuleGroupStatus() const
void SetRuleGroupName(RuleGroupNameT &&value)
const EncryptionConfiguration & GetEncryptionConfiguration() const
RuleGroupResponse & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetAnalysisResults(AnalysisResultsT &&value)
RuleGroupResponse & WithRuleGroupStatus(ResourceStatus value)
bool RuleGroupStatusHasBeenSet() const
const Aws::String & GetRuleGroupArn() const
void SetNumberOfAssociations(int value)
RuleGroupResponse & WithLastModifiedTime(LastModifiedTimeT &&value)
bool ConsumedCapacityHasBeenSet() const
RuleGroupResponse & WithRuleGroupId(RuleGroupIdT &&value)
bool RuleGroupNameHasBeenSet() const
RuleGroupResponse & WithSummaryConfiguration(SummaryConfigurationT &&value)
bool SourceMetadataHasBeenSet() const
RuleGroupResponse & WithConsumedCapacity(int value)
void SetType(RuleGroupType value)
RuleGroupResponse & WithType(RuleGroupType value)
AWS_NETWORKFIREWALL_API RuleGroupResponse()=default
RuleGroupResponse & WithNumberOfAssociations(int value)
RuleGroupResponse & WithTags(TagsT &&value)
bool AnalysisResultsHasBeenSet() const
void SetRuleGroupArn(RuleGroupArnT &&value)
bool SnsTopicHasBeenSet() const
void SetLastModifiedTime(LastModifiedTimeT &&value)
const Aws::Vector< Tag > & GetTags() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue