7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/securityhub/SecurityHub_EXPORTS.h>
11#include <aws/securityhub/model/AutomationRulesAction.h>
12#include <aws/securityhub/model/AutomationRulesFindingFilters.h>
13#include <aws/securityhub/model/RuleStatus.h>
46 template <
typename RuleArnT = Aws::String>
48 m_ruleArnHasBeenSet =
true;
49 m_ruleArn = std::forward<RuleArnT>(value);
51 template <
typename RuleArnT = Aws::String>
67 m_ruleStatusHasBeenSet =
true;
85 m_ruleOrderHasBeenSet =
true;
100 template <
typename RuleNameT = Aws::String>
102 m_ruleNameHasBeenSet =
true;
103 m_ruleName = std::forward<RuleNameT>(value);
105 template <
typename RuleNameT = Aws::String>
118 template <
typename DescriptionT = Aws::String>
120 m_descriptionHasBeenSet =
true;
121 m_description = std::forward<DescriptionT>(value);
123 template <
typename DescriptionT = Aws::String>
142 m_isTerminalHasBeenSet =
true;
143 m_isTerminal = value;
162 template <
typename CriteriaT = AutomationRulesFindingFilters>
164 m_criteriaHasBeenSet =
true;
165 m_criteria = std::forward<CriteriaT>(value);
167 template <
typename CriteriaT = AutomationRulesFindingFilters>
181 template <
typename ActionsT = Aws::Vector<AutomationRulesAction>>
183 m_actionsHasBeenSet =
true;
184 m_actions = std::forward<ActionsT>(value);
186 template <
typename ActionsT = Aws::Vector<AutomationRulesAction>>
191 template <
typename ActionsT = AutomationRulesAction>
193 m_actionsHasBeenSet =
true;
194 m_actions.emplace_back(std::forward<ActionsT>(value));
208 template <
typename CreatedAtT = Aws::Utils::DateTime>
210 m_createdAtHasBeenSet =
true;
211 m_createdAt = std::forward<CreatedAtT>(value);
213 template <
typename CreatedAtT = Aws::Utils::DateTime>
229 template <
typename UpdatedAtT = Aws::Utils::DateTime>
231 m_updatedAtHasBeenSet =
true;
232 m_updatedAt = std::forward<UpdatedAtT>(value);
234 template <
typename UpdatedAtT = Aws::Utils::DateTime>
247 template <
typename CreatedByT = Aws::String>
249 m_createdByHasBeenSet =
true;
250 m_createdBy = std::forward<CreatedByT>(value);
252 template <
typename CreatedByT = Aws::String>
269 bool m_isTerminal{
false};
271 AutomationRulesFindingFilters m_criteria;
280 bool m_ruleArnHasBeenSet =
false;
281 bool m_ruleStatusHasBeenSet =
false;
282 bool m_ruleOrderHasBeenSet =
false;
283 bool m_ruleNameHasBeenSet =
false;
284 bool m_descriptionHasBeenSet =
false;
285 bool m_isTerminalHasBeenSet =
false;
286 bool m_criteriaHasBeenSet =
false;
287 bool m_actionsHasBeenSet =
false;
288 bool m_createdAtHasBeenSet =
false;
289 bool m_updatedAtHasBeenSet =
false;
290 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