7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/securityhub/model/RuleStatus.h>
10#include <aws/securityhub/model/AutomationRulesFindingFilters.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/securityhub/model/AutomationRulesAction.h>
51 template<
typename RuleArnT = Aws::String>
52 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
53 template<
typename RuleArnT = Aws::String>
80 inline void SetRuleOrder(
int value) { m_ruleOrderHasBeenSet =
true; m_ruleOrder = value; }
90 template<
typename DescriptionT = Aws::String>
91 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
92 template<
typename DescriptionT = Aws::String>
102 template<
typename RuleNameT = Aws::String>
103 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
104 template<
typename RuleNameT = Aws::String>
119 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
132 template<
typename CriteriaT = AutomationRulesFindingFilters>
133 void SetCriteria(CriteriaT&& value) { m_criteriaHasBeenSet =
true; m_criteria = std::forward<CriteriaT>(value); }
134 template<
typename CriteriaT = AutomationRulesFindingFilters>
145 template<
typename ActionsT = Aws::Vector<AutomationRulesAction>>
146 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
147 template<
typename ActionsT = Aws::Vector<AutomationRulesAction>>
149 template<
typename ActionsT = AutomationRulesAction>
155 bool m_ruleArnHasBeenSet =
false;
158 bool m_ruleStatusHasBeenSet =
false;
161 bool m_ruleOrderHasBeenSet =
false;
164 bool m_descriptionHasBeenSet =
false;
167 bool m_ruleNameHasBeenSet =
false;
169 bool m_isTerminal{
false};
170 bool m_isTerminalHasBeenSet =
false;
172 AutomationRulesFindingFilters m_criteria;
173 bool m_criteriaHasBeenSet =
false;
176 bool m_actionsHasBeenSet =
false;
UpdateAutomationRulesRequestItem & AddActions(ActionsT &&value)
UpdateAutomationRulesRequestItem & WithRuleName(RuleNameT &&value)
const Aws::String & GetRuleArn() const
bool CriteriaHasBeenSet() const
bool RuleOrderHasBeenSet() const
UpdateAutomationRulesRequestItem & WithCriteria(CriteriaT &&value)
void SetRuleArn(RuleArnT &&value)
bool DescriptionHasBeenSet() const
UpdateAutomationRulesRequestItem & WithRuleOrder(int value)
const Aws::String & GetRuleName() const
UpdateAutomationRulesRequestItem & WithActions(ActionsT &&value)
bool ActionsHasBeenSet() const
const AutomationRulesFindingFilters & GetCriteria() const
bool RuleNameHasBeenSet() const
bool RuleStatusHasBeenSet() const
UpdateAutomationRulesRequestItem & WithDescription(DescriptionT &&value)
void SetIsTerminal(bool value)
bool GetIsTerminal() const
const Aws::String & GetDescription() const
void SetActions(ActionsT &&value)
AWS_SECURITYHUB_API UpdateAutomationRulesRequestItem()=default
void SetCriteria(CriteriaT &&value)
void SetDescription(DescriptionT &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
UpdateAutomationRulesRequestItem & WithRuleArn(RuleArnT &&value)
AWS_SECURITYHUB_API UpdateAutomationRulesRequestItem & operator=(Aws::Utils::Json::JsonView jsonValue)
bool IsTerminalHasBeenSet() const
AWS_SECURITYHUB_API UpdateAutomationRulesRequestItem(Aws::Utils::Json::JsonView jsonValue)
UpdateAutomationRulesRequestItem & WithRuleStatus(RuleStatus value)
void SetRuleName(RuleNameT &&value)
void SetRuleOrder(int value)
bool RuleArnHasBeenSet() const
UpdateAutomationRulesRequestItem & WithIsTerminal(bool value)
RuleStatus GetRuleStatus() const
const Aws::Vector< AutomationRulesAction > & GetActions() const
void SetRuleStatus(RuleStatus 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