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>
54 inline void SetRuleArn(
const char* value) { m_ruleArnHasBeenSet =
true; m_ruleArn.assign(value); }
82 inline void SetRuleOrder(
int value) { m_ruleOrderHasBeenSet =
true; m_ruleOrder = value; }
94 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
108 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
125 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
221 inline void SetCreatedBy(
const char* value) { m_createdByHasBeenSet =
true; m_createdBy.assign(value); }
229 bool m_ruleArnHasBeenSet =
false;
232 bool m_ruleStatusHasBeenSet =
false;
235 bool m_ruleOrderHasBeenSet =
false;
238 bool m_ruleNameHasBeenSet =
false;
241 bool m_descriptionHasBeenSet =
false;
244 bool m_isTerminalHasBeenSet =
false;
247 bool m_criteriaHasBeenSet =
false;
250 bool m_actionsHasBeenSet =
false;
253 bool m_createdAtHasBeenSet =
false;
256 bool m_updatedAtHasBeenSet =
false;
259 bool m_createdByHasBeenSet =
false;
AutomationRulesConfig & WithIsTerminal(bool value)
void SetRuleArn(const Aws::String &value)
void SetCreatedBy(const char *value)
AutomationRulesConfig & WithCreatedBy(Aws::String &&value)
bool IsTerminalHasBeenSet() const
bool RuleArnHasBeenSet() const
const AutomationRulesFindingFilters & GetCriteria() const
AutomationRulesConfig & WithRuleArn(Aws::String &&value)
bool CriteriaHasBeenSet() const
AutomationRulesConfig & AddActions(AutomationRulesAction &&value)
AWS_SECURITYHUB_API AutomationRulesConfig()
AutomationRulesConfig & WithRuleStatus(const RuleStatus &value)
bool DescriptionHasBeenSet() const
void SetRuleName(Aws::String &&value)
AutomationRulesConfig & WithRuleOrder(int value)
void SetRuleName(const Aws::String &value)
void SetRuleName(const char *value)
void SetCreatedAt(const Aws::Utils::DateTime &value)
void SetRuleStatus(const RuleStatus &value)
void SetRuleStatus(RuleStatus &&value)
AutomationRulesConfig & WithRuleName(const char *value)
const Aws::Utils::DateTime & GetCreatedAt() const
void SetRuleOrder(int value)
const Aws::String & GetRuleName() const
AWS_SECURITYHUB_API AutomationRulesConfig & operator=(Aws::Utils::Json::JsonView jsonValue)
AutomationRulesConfig & WithCriteria(AutomationRulesFindingFilters &&value)
AWS_SECURITYHUB_API Aws::Utils::Json::JsonValue Jsonize() const
AutomationRulesConfig & WithRuleArn(const Aws::String &value)
AutomationRulesConfig & AddActions(const AutomationRulesAction &value)
AutomationRulesConfig & WithDescription(const Aws::String &value)
void SetCreatedBy(const Aws::String &value)
AutomationRulesConfig & WithRuleName(const Aws::String &value)
void SetDescription(const char *value)
void SetDescription(Aws::String &&value)
AutomationRulesConfig & WithCreatedAt(Aws::Utils::DateTime &&value)
const Aws::String & GetRuleArn() const
AutomationRulesConfig & WithActions(const Aws::Vector< AutomationRulesAction > &value)
bool RuleNameHasBeenSet() const
bool CreatedByHasBeenSet() const
void SetCreatedAt(Aws::Utils::DateTime &&value)
AutomationRulesConfig & WithDescription(const char *value)
AutomationRulesConfig & WithUpdatedAt(const Aws::Utils::DateTime &value)
const Aws::Vector< AutomationRulesAction > & GetActions() const
AutomationRulesConfig & WithActions(Aws::Vector< AutomationRulesAction > &&value)
AutomationRulesConfig & WithRuleArn(const char *value)
void SetRuleArn(const char *value)
AutomationRulesConfig & WithRuleName(Aws::String &&value)
bool RuleStatusHasBeenSet() const
AutomationRulesConfig & WithCreatedBy(const char *value)
void SetUpdatedAt(const Aws::Utils::DateTime &value)
AutomationRulesConfig & WithCreatedBy(const Aws::String &value)
AutomationRulesConfig & WithUpdatedAt(Aws::Utils::DateTime &&value)
bool UpdatedAtHasBeenSet() const
bool RuleOrderHasBeenSet() const
void SetUpdatedAt(Aws::Utils::DateTime &&value)
void SetRuleArn(Aws::String &&value)
const Aws::String & GetDescription() const
AutomationRulesConfig & WithCreatedAt(const Aws::Utils::DateTime &value)
void SetDescription(const Aws::String &value)
void SetIsTerminal(bool value)
AutomationRulesConfig & WithRuleStatus(RuleStatus &&value)
const Aws::Utils::DateTime & GetUpdatedAt() const
bool GetIsTerminal() const
const Aws::String & GetCreatedBy() const
AutomationRulesConfig & WithDescription(Aws::String &&value)
bool CreatedAtHasBeenSet() const
void SetCriteria(const AutomationRulesFindingFilters &value)
const RuleStatus & GetRuleStatus() const
void SetCreatedBy(Aws::String &&value)
AWS_SECURITYHUB_API AutomationRulesConfig(Aws::Utils::Json::JsonView jsonValue)
void SetCriteria(AutomationRulesFindingFilters &&value)
void SetActions(Aws::Vector< AutomationRulesAction > &&value)
void SetActions(const Aws::Vector< AutomationRulesAction > &value)
AutomationRulesConfig & WithCriteria(const AutomationRulesFindingFilters &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