7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/crt/cbor/Cbor.h>
11#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
12#include <aws/network-firewall/model/AnalysisResult.h>
13#include <aws/network-firewall/model/EncryptionConfiguration.h>
14#include <aws/network-firewall/model/ResourceStatus.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>
28namespace NetworkFirewall {
41 AWS_NETWORKFIREWALL_API
RuleGroupResponse(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
43 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
54 template <
typename RuleGroupArnT = Aws::String>
56 m_ruleGroupArnHasBeenSet =
true;
57 m_ruleGroupArn = std::forward<RuleGroupArnT>(value);
59 template <
typename RuleGroupArnT = Aws::String>
73 template <
typename RuleGroupNameT = Aws::String>
75 m_ruleGroupNameHasBeenSet =
true;
76 m_ruleGroupName = std::forward<RuleGroupNameT>(value);
78 template <
typename RuleGroupNameT = Aws::String>
91 template <
typename RuleGroupIdT = Aws::String>
93 m_ruleGroupIdHasBeenSet =
true;
94 m_ruleGroupId = std::forward<RuleGroupIdT>(value);
96 template <
typename RuleGroupIdT = Aws::String>
109 template <
typename DescriptionT = Aws::String>
111 m_descriptionHasBeenSet =
true;
112 m_description = std::forward<DescriptionT>(value);
114 template <
typename DescriptionT = Aws::String>
134 m_typeHasBeenSet =
true;
156 m_capacityHasBeenSet =
true;
172 m_ruleGroupStatusHasBeenSet =
true;
173 m_ruleGroupStatus = value;
187 template <
typename TagsT = Aws::Vector<Tag>>
189 m_tagsHasBeenSet =
true;
190 m_tags = std::forward<TagsT>(value);
192 template <
typename TagsT = Aws::Vector<Tag>>
194 SetTags(std::forward<TagsT>(value));
197 template <
typename TagsT = Tag>
199 m_tagsHasBeenSet =
true;
200 m_tags.emplace_back(std::forward<TagsT>(value));
212 m_consumedCapacityHasBeenSet =
true;
213 m_consumedCapacity = value;
228 m_numberOfAssociationsHasBeenSet =
true;
229 m_numberOfAssociations = value;
244 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
246 m_encryptionConfigurationHasBeenSet =
true;
247 m_encryptionConfiguration = std::forward<EncryptionConfigurationT>(value);
249 template <
typename EncryptionConfigurationT = EncryptionConfiguration>
264 template <
typename SourceMetadataT = SourceMetadata>
266 m_sourceMetadataHasBeenSet =
true;
267 m_sourceMetadata = std::forward<SourceMetadataT>(value);
269 template <
typename SourceMetadataT = SourceMetadata>
288 template <
typename SnsTopicT = Aws::String>
290 m_snsTopicHasBeenSet =
true;
291 m_snsTopic = std::forward<SnsTopicT>(value);
293 template <
typename SnsTopicT = Aws::String>
306 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
308 m_lastModifiedTimeHasBeenSet =
true;
309 m_lastModifiedTime = std::forward<LastModifiedTimeT>(value);
311 template <
typename LastModifiedTimeT = Aws::Utils::DateTime>
331 template <
typename AnalysisResultsT = Aws::Vector<AnalysisResult>>
333 m_analysisResultsHasBeenSet =
true;
334 m_analysisResults = std::forward<AnalysisResultsT>(value);
336 template <
typename AnalysisResultsT = Aws::Vector<AnalysisResult>>
341 template <
typename AnalysisResultsT = AnalysisResult>
343 m_analysisResultsHasBeenSet =
true;
344 m_analysisResults.emplace_back(std::forward<AnalysisResultsT>(value));
359 template <
typename SummaryConfigurationT = SummaryConfiguration>
361 m_summaryConfigurationHasBeenSet =
true;
362 m_summaryConfiguration = std::forward<SummaryConfigurationT>(value);
364 template <
typename SummaryConfigurationT = SummaryConfiguration>
381 int64_t m_capacity{0};
387 int64_t m_consumedCapacity{0};
389 int64_t m_numberOfAssociations{0};
391 EncryptionConfiguration m_encryptionConfiguration;
393 SourceMetadata m_sourceMetadata;
401 SummaryConfiguration m_summaryConfiguration;
402 bool m_ruleGroupArnHasBeenSet =
false;
403 bool m_ruleGroupNameHasBeenSet =
false;
404 bool m_ruleGroupIdHasBeenSet =
false;
405 bool m_descriptionHasBeenSet =
false;
406 bool m_typeHasBeenSet =
false;
407 bool m_capacityHasBeenSet =
false;
408 bool m_ruleGroupStatusHasBeenSet =
false;
409 bool m_tagsHasBeenSet =
false;
410 bool m_consumedCapacityHasBeenSet =
false;
411 bool m_numberOfAssociationsHasBeenSet =
false;
412 bool m_encryptionConfigurationHasBeenSet =
false;
413 bool m_sourceMetadataHasBeenSet =
false;
414 bool m_snsTopicHasBeenSet =
false;
415 bool m_lastModifiedTimeHasBeenSet =
false;
416 bool m_analysisResultsHasBeenSet =
false;
417 bool m_summaryConfigurationHasBeenSet =
false;
void SetSourceMetadata(SourceMetadataT &&value)
RuleGroupResponse & WithRuleGroupArn(RuleGroupArnT &&value)
RuleGroupResponse & WithConsumedCapacity(int64_t value)
bool LastModifiedTimeHasBeenSet() const
void SetSummaryConfiguration(SummaryConfigurationT &&value)
bool SummaryConfigurationHasBeenSet() const
void SetTags(TagsT &&value)
void SetSnsTopic(SnsTopicT &&value)
bool TagsHasBeenSet() const
RuleGroupResponse & WithAnalysisResults(AnalysisResultsT &&value)
const Aws::String & GetRuleGroupId() const
bool TypeHasBeenSet() const
int64_t GetConsumedCapacity() const
AWS_NETWORKFIREWALL_API RuleGroupResponse(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RuleGroupIdHasBeenSet() const
bool DescriptionHasBeenSet() const
bool CapacityHasBeenSet() const
void SetRuleGroupId(RuleGroupIdT &&value)
AWS_NETWORKFIREWALL_API RuleGroupResponse & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
int64_t GetCapacity() const
const Aws::Vector< AnalysisResult > & GetAnalysisResults() const
void SetCapacity(int64_t value)
RuleGroupResponse & WithRuleGroupName(RuleGroupNameT &&value)
void SetNumberOfAssociations(int64_t value)
RuleGroupResponse & WithCapacity(int64_t value)
RuleGroupResponse & AddAnalysisResults(AnalysisResultsT &&value)
RuleGroupResponse & WithSnsTopic(SnsTopicT &&value)
bool NumberOfAssociationsHasBeenSet() const
const Aws::String & GetRuleGroupName() 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)
bool EncryptionConfigurationHasBeenSet() const
RuleGroupType GetType() const
const Aws::String & GetDescription() const
RuleGroupResponse & WithNumberOfAssociations(int64_t value)
const Aws::Utils::DateTime & GetLastModifiedTime() const
ResourceStatus GetRuleGroupStatus() const
void SetRuleGroupName(RuleGroupNameT &&value)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const EncryptionConfiguration & GetEncryptionConfiguration() const
RuleGroupResponse & WithEncryptionConfiguration(EncryptionConfigurationT &&value)
void SetAnalysisResults(AnalysisResultsT &&value)
RuleGroupResponse & WithRuleGroupStatus(ResourceStatus value)
bool RuleGroupStatusHasBeenSet() const
const Aws::String & GetRuleGroupArn() const
RuleGroupResponse & WithLastModifiedTime(LastModifiedTimeT &&value)
bool ConsumedCapacityHasBeenSet() const
RuleGroupResponse & WithRuleGroupId(RuleGroupIdT &&value)
bool RuleGroupNameHasBeenSet() const
RuleGroupResponse & WithSummaryConfiguration(SummaryConfigurationT &&value)
bool SourceMetadataHasBeenSet() const
int64_t GetNumberOfAssociations() const
void SetType(RuleGroupType value)
void SetConsumedCapacity(int64_t value)
RuleGroupResponse & WithType(RuleGroupType value)
AWS_NETWORKFIREWALL_API RuleGroupResponse()=default
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