7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/model/RuleGroupSourceListDetails.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/RuleGroupSourceStatelessRulesAndCustomActionsDetails.h>
12#include <aws/securityhub/model/RuleGroupSourceStatefulRulesDetails.h>
66 inline void SetRulesString(
const char* value) { m_rulesStringHasBeenSet =
true; m_rulesString.assign(value); }
100 bool m_rulesSourceListHasBeenSet =
false;
103 bool m_rulesStringHasBeenSet =
false;
106 bool m_statefulRulesHasBeenSet =
false;
109 bool m_statelessRulesAndCustomActionsHasBeenSet =
false;
bool StatelessRulesAndCustomActionsHasBeenSet() const
void SetRulesSourceList(RuleGroupSourceListDetails &&value)
void SetRulesString(Aws::String &&value)
RuleGroupSource & WithRulesString(Aws::String &&value)
void SetRulesSourceList(const RuleGroupSourceListDetails &value)
RuleGroupSource & WithStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails &&value)
const RuleGroupSourceStatelessRulesAndCustomActionsDetails & GetStatelessRulesAndCustomActions() const
AWS_SECURITYHUB_API RuleGroupSource()
void SetStatelessRulesAndCustomActions(RuleGroupSourceStatelessRulesAndCustomActionsDetails &&value)
const Aws::String & GetRulesString() const
RuleGroupSource & WithStatefulRules(const Aws::Vector< RuleGroupSourceStatefulRulesDetails > &value)
void SetRulesString(const Aws::String &value)
RuleGroupSource & AddStatefulRules(const RuleGroupSourceStatefulRulesDetails &value)
void SetRulesString(const char *value)
RuleGroupSource & WithRulesSourceList(RuleGroupSourceListDetails &&value)
void SetStatelessRulesAndCustomActions(const RuleGroupSourceStatelessRulesAndCustomActionsDetails &value)
void SetStatefulRules(Aws::Vector< RuleGroupSourceStatefulRulesDetails > &&value)
AWS_SECURITYHUB_API RuleGroupSource(Aws::Utils::Json::JsonView jsonValue)
RuleGroupSource & WithStatefulRules(Aws::Vector< RuleGroupSourceStatefulRulesDetails > &&value)
AWS_SECURITYHUB_API RuleGroupSource & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RulesSourceListHasBeenSet() const
RuleGroupSource & WithRulesString(const char *value)
const Aws::Vector< RuleGroupSourceStatefulRulesDetails > & GetStatefulRules() const
RuleGroupSource & AddStatefulRules(RuleGroupSourceStatefulRulesDetails &&value)
RuleGroupSource & WithRulesString(const Aws::String &value)
void SetStatefulRules(const Aws::Vector< RuleGroupSourceStatefulRulesDetails > &value)
bool StatefulRulesHasBeenSet() const
bool RulesStringHasBeenSet() const
RuleGroupSource & WithStatelessRulesAndCustomActions(const RuleGroupSourceStatelessRulesAndCustomActionsDetails &value)
RuleGroupSource & WithRulesSourceList(const RuleGroupSourceListDetails &value)
const RuleGroupSourceListDetails & GetRulesSourceList() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() 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