7#include <aws/network-firewall/NetworkFirewall_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/network-firewall/model/RulesSourceList.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/network-firewall/model/StatelessRulesAndCustomActions.h>
12#include <aws/network-firewall/model/StatefulRule.h>
25namespace NetworkFirewall
62 inline void SetRulesString(
const char* value) { m_rulesStringHasBeenSet =
true; m_rulesString.assign(value); }
113 bool m_rulesStringHasBeenSet =
false;
116 bool m_rulesSourceListHasBeenSet =
false;
119 bool m_statefulRulesHasBeenSet =
false;
122 bool m_statelessRulesAndCustomActionsHasBeenSet =
false;
void SetStatelessRulesAndCustomActions(StatelessRulesAndCustomActions &&value)
void SetRulesString(const Aws::String &value)
void SetRulesSourceList(RulesSourceList &&value)
RulesSource & WithStatelessRulesAndCustomActions(StatelessRulesAndCustomActions &&value)
RulesSource & WithRulesString(Aws::String &&value)
const StatelessRulesAndCustomActions & GetStatelessRulesAndCustomActions() const
bool RulesStringHasBeenSet() const
AWS_NETWORKFIREWALL_API RulesSource()
void SetStatelessRulesAndCustomActions(const StatelessRulesAndCustomActions &value)
RulesSource & WithStatelessRulesAndCustomActions(const StatelessRulesAndCustomActions &value)
AWS_NETWORKFIREWALL_API RulesSource & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_NETWORKFIREWALL_API RulesSource(Aws::Utils::Json::JsonView jsonValue)
RulesSource & WithStatefulRules(Aws::Vector< StatefulRule > &&value)
RulesSource & WithRulesString(const char *value)
RulesSource & WithStatefulRules(const Aws::Vector< StatefulRule > &value)
bool StatelessRulesAndCustomActionsHasBeenSet() const
const Aws::Vector< StatefulRule > & GetStatefulRules() const
bool StatefulRulesHasBeenSet() const
void SetRulesSourceList(const RulesSourceList &value)
void SetRulesString(const char *value)
RulesSource & WithRulesString(const Aws::String &value)
bool RulesSourceListHasBeenSet() const
void SetStatefulRules(Aws::Vector< StatefulRule > &&value)
RulesSource & WithRulesSourceList(const RulesSourceList &value)
void SetRulesString(Aws::String &&value)
RulesSource & AddStatefulRules(const StatefulRule &value)
const Aws::String & GetRulesString() const
const RulesSourceList & GetRulesSourceList() const
AWS_NETWORKFIREWALL_API Aws::Utils::Json::JsonValue Jsonize() const
RulesSource & AddStatefulRules(StatefulRule &&value)
RulesSource & WithRulesSourceList(RulesSourceList &&value)
void SetStatefulRules(const Aws::Vector< StatefulRule > &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue