7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/RuleGroupSourceStatefulRulesHeaderDetails.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/model/RuleGroupSourceStatefulRulesOptionsDetails.h>
50 template<
typename ActionT = Aws::String>
51 void SetAction(ActionT&& value) { m_actionHasBeenSet =
true; m_action = std::forward<ActionT>(value); }
52 template<
typename ActionT = Aws::String>
62 template<
typename HeaderT = RuleGroupSourceStatefulRulesHeaderDetails>
63 void SetHeader(HeaderT&& value) { m_headerHasBeenSet =
true; m_header = std::forward<HeaderT>(value); }
64 template<
typename HeaderT = RuleGroupSourceStatefulRulesHeaderDetails>
74 template<
typename RuleOptionsT = Aws::Vector<RuleGroupSourceStatefulRulesOptionsDetails>>
75 void SetRuleOptions(RuleOptionsT&& value) { m_ruleOptionsHasBeenSet =
true; m_ruleOptions = std::forward<RuleOptionsT>(value); }
76 template<
typename RuleOptionsT = Aws::Vector<RuleGroupSourceStatefulRulesOptionsDetails>>
78 template<
typename RuleOptionsT = RuleGroupSourceStatefulRulesOptionsDetails>
84 bool m_actionHasBeenSet =
false;
87 bool m_headerHasBeenSet =
false;
90 bool m_ruleOptionsHasBeenSet =
false;
const RuleGroupSourceStatefulRulesHeaderDetails & GetHeader() const
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
RuleGroupSourceStatefulRulesDetails & WithAction(ActionT &&value)
void SetHeader(HeaderT &&value)
void SetRuleOptions(RuleOptionsT &&value)
AWS_SECURITYHUB_API RuleGroupSourceStatefulRulesDetails(Aws::Utils::Json::JsonView jsonValue)
bool RuleOptionsHasBeenSet() const
void SetAction(ActionT &&value)
RuleGroupSourceStatefulRulesDetails & WithRuleOptions(RuleOptionsT &&value)
bool HeaderHasBeenSet() const
const Aws::String & GetAction() const
AWS_SECURITYHUB_API RuleGroupSourceStatefulRulesDetails & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API RuleGroupSourceStatefulRulesDetails()=default
RuleGroupSourceStatefulRulesDetails & AddRuleOptions(RuleOptionsT &&value)
bool ActionHasBeenSet() const
const Aws::Vector< RuleGroupSourceStatefulRulesOptionsDetails > & GetRuleOptions() const
RuleGroupSourceStatefulRulesDetails & WithHeader(HeaderT &&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