7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
20namespace NetworkFirewall {
32 AWS_NETWORKFIREWALL_API
RuleOption(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
33 AWS_NETWORKFIREWALL_API
RuleOption&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_NETWORKFIREWALL_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 template <
typename KeywordT = Aws::String>
48 m_keywordHasBeenSet =
true;
49 m_keyword = std::forward<KeywordT>(value);
51 template <
typename KeywordT = Aws::String>
69 template <
typename SettingsT = Aws::Vector<Aws::String>>
71 m_settingsHasBeenSet =
true;
72 m_settings = std::forward<SettingsT>(value);
74 template <
typename SettingsT = Aws::Vector<Aws::String>>
79 template <
typename SettingsT = Aws::String>
81 m_settingsHasBeenSet =
true;
82 m_settings.emplace_back(std::forward<SettingsT>(value));
90 bool m_keywordHasBeenSet =
false;
91 bool m_settingsHasBeenSet =
false;
RuleOption & WithKeyword(KeywordT &&value)
void SetSettings(SettingsT &&value)
AWS_NETWORKFIREWALL_API RuleOption & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_NETWORKFIREWALL_API RuleOption()=default
AWS_NETWORKFIREWALL_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Aws::Vector< Aws::String > & GetSettings() const
const Aws::String & GetKeyword() const
void SetKeyword(KeywordT &&value)
RuleOption & AddSettings(SettingsT &&value)
bool KeywordHasBeenSet() const
RuleOption & WithSettings(SettingsT &&value)
bool SettingsHasBeenSet() const
AWS_NETWORKFIREWALL_API RuleOption(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector