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/core/utils/DateTime.h>
13#include <aws/securityhub/model/AutomationRulesAction.h>
52 template<
typename RuleArnT = Aws::String>
53 void SetRuleArn(RuleArnT&& value) { m_ruleArnHasBeenSet =
true; m_ruleArn = std::forward<RuleArnT>(value); }
54 template<
typename RuleArnT = Aws::String>
78 inline void SetRuleOrder(
int value) { m_ruleOrderHasBeenSet =
true; m_ruleOrder = value; }
88 template<
typename RuleNameT = Aws::String>
89 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
90 template<
typename RuleNameT = Aws::String>
100 template<
typename DescriptionT = Aws::String>
101 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
102 template<
typename DescriptionT = Aws::String>
117 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>
162 template<
typename CreatedAtT = Aws::Utils::DateTime>
163 void SetCreatedAt(CreatedAtT&& value) { m_createdAtHasBeenSet =
true; m_createdAt = std::forward<CreatedAtT>(value); }
164 template<
typename CreatedAtT = Aws::Utils::DateTime>
177 template<
typename UpdatedAtT = Aws::Utils::DateTime>
178 void SetUpdatedAt(UpdatedAtT&& value) { m_updatedAtHasBeenSet =
true; m_updatedAt = std::forward<UpdatedAtT>(value); }
179 template<
typename UpdatedAtT = Aws::Utils::DateTime>
189 template<
typename CreatedByT = Aws::String>
190 void SetCreatedBy(CreatedByT&& value) { m_createdByHasBeenSet =
true; m_createdBy = std::forward<CreatedByT>(value); }
191 template<
typename CreatedByT = Aws::String>
197 bool m_ruleArnHasBeenSet =
false;
200 bool m_ruleStatusHasBeenSet =
false;
203 bool m_ruleOrderHasBeenSet =
false;
206 bool m_ruleNameHasBeenSet =
false;
209 bool m_descriptionHasBeenSet =
false;
211 bool m_isTerminal{
false};
212 bool m_isTerminalHasBeenSet =
false;
214 AutomationRulesFindingFilters m_criteria;
215 bool m_criteriaHasBeenSet =
false;
218 bool m_actionsHasBeenSet =
false;
221 bool m_createdAtHasBeenSet =
false;
224 bool m_updatedAtHasBeenSet =
false;
227 bool m_createdByHasBeenSet =
false;
AutomationRulesConfig & WithIsTerminal(bool value)
AutomationRulesConfig & AddActions(ActionsT &&value)
bool IsTerminalHasBeenSet() const
bool RuleArnHasBeenSet() const
const AutomationRulesFindingFilters & GetCriteria() const
bool CriteriaHasBeenSet() const
bool DescriptionHasBeenSet() const
AutomationRulesConfig & WithRuleOrder(int value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRuleOrder(int value)
const Aws::String & GetRuleName() const
AutomationRulesConfig & WithActions(ActionsT &&value)
AWS_SECURITYHUB_API AutomationRulesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
void SetActions(ActionsT &&value)
AutomationRulesConfig & WithRuleName(RuleNameT &&value)
void SetDescription(DescriptionT &&value)
const Aws::String & GetRuleArn() const
bool RuleNameHasBeenSet() const
bool CreatedByHasBeenSet() const
void SetRuleArn(RuleArnT &&value)
const Aws::Vector< AutomationRulesAction > & GetActions() const
RuleStatus GetRuleStatus() const
AutomationRulesConfig & WithCriteria(CriteriaT &&value)
bool RuleStatusHasBeenSet() const
void SetCreatedAt(CreatedAtT &&value)
void SetCriteria(CriteriaT &&value)
bool UpdatedAtHasBeenSet() const
AutomationRulesConfig & WithDescription(DescriptionT &&value)
void SetUpdatedAt(UpdatedAtT &&value)
void SetCreatedBy(CreatedByT &&value)
void SetRuleName(RuleNameT &&value)
bool RuleOrderHasBeenSet() const
const Aws::String & GetDescription() const
AWS_SECURITYHUB_API AutomationRulesConfig()=default
AutomationRulesConfig & WithRuleStatus(RuleStatus value)
AutomationRulesConfig & WithRuleArn(RuleArnT &&value)
void SetIsTerminal(bool value)
AutomationRulesConfig & WithCreatedAt(CreatedAtT &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool GetIsTerminal() const
const Aws::String & GetCreatedBy() const
void SetRuleStatus(RuleStatus value)
bool CreatedAtHasBeenSet() const
AWS_SECURITYHUB_API AutomationRulesConfig(Aws::Utils::Json::JsonView jsonValue)
AutomationRulesConfig & WithCreatedBy(CreatedByT &&value)
AutomationRulesConfig & WithUpdatedAt(UpdatedAtT &&value)
bool ActionsHasBeenSet() 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