7#include <aws/core/utils/memory/stl/AWSVector.h>
8#include <aws/crt/cbor/Cbor.h>
9#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
10#include <aws/network-firewall/model/SummaryRuleOption.h>
20namespace NetworkFirewall {
39 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
48 template <
typename RuleOptionsT = Aws::Vector<SummaryRuleOption>>
50 m_ruleOptionsHasBeenSet =
true;
51 m_ruleOptions = std::forward<RuleOptionsT>(value);
53 template <
typename RuleOptionsT = Aws::Vector<SummaryRuleOption>>
59 m_ruleOptionsHasBeenSet =
true;
60 m_ruleOptions.push_back(value);
66 bool m_ruleOptionsHasBeenSet =
false;
SummaryConfiguration & WithRuleOptions(RuleOptionsT &&value)
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetRuleOptions(RuleOptionsT &&value)
AWS_NETWORKFIREWALL_API SummaryConfiguration()=default
AWS_NETWORKFIREWALL_API SummaryConfiguration(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
const Aws::Vector< SummaryRuleOption > & GetRuleOptions() const
SummaryConfiguration & AddRuleOptions(SummaryRuleOption value)
AWS_NETWORKFIREWALL_API SummaryConfiguration & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
bool RuleOptionsHasBeenSet() const
std::vector< T, Aws::Allocator< T > > Vector