7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
22namespace NetworkFirewall
54 inline void SetKeyword(
const char* value) { m_keywordHasBeenSet =
true; m_keyword.assign(value); }
77 inline RuleOption&
AddSettings(
const char* value) { m_settingsHasBeenSet =
true; m_settings.push_back(value);
return *
this; }
82 bool m_keywordHasBeenSet =
false;
85 bool m_settingsHasBeenSet =
false;
AWS_NETWORKFIREWALL_API RuleOption(Aws::Utils::Json::JsonView jsonValue)
RuleOption & AddSettings(const char *value)
RuleOption & WithSettings(const Aws::Vector< Aws::String > &value)
AWS_NETWORKFIREWALL_API RuleOption()
RuleOption & WithKeyword(const char *value)
AWS_NETWORKFIREWALL_API RuleOption & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetKeyword(const char *value)
RuleOption & AddSettings(Aws::String &&value)
void SetKeyword(const Aws::String &value)
RuleOption & WithKeyword(Aws::String &&value)
const Aws::Vector< Aws::String > & GetSettings() const
const Aws::String & GetKeyword() const
RuleOption & AddSettings(const Aws::String &value)
bool KeywordHasBeenSet() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
void SetSettings(Aws::Vector< Aws::String > &&value)
void SetSettings(const Aws::Vector< Aws::String > &value)
RuleOption & WithSettings(Aws::Vector< Aws::String > &&value)
RuleOption & WithKeyword(const Aws::String &value)
void SetKeyword(Aws::String &&value)
bool SettingsHasBeenSet() 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