7#include <aws/securityhub/SecurityHub_EXPORTS.h>
8#include <aws/securityhub/SecurityHubRequest.h>
9#include <aws/core/utils/memory/stl/AWSMap.h>
10#include <aws/securityhub/model/RuleStatus.h>
11#include <aws/core/utils/memory/stl/AWSString.h>
12#include <aws/securityhub/model/AutomationRulesFindingFilters.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/securityhub/model/AutomationRulesAction.h>
84 inline void SetRuleOrder(
int value) { m_ruleOrderHasBeenSet =
true; m_ruleOrder = value; }
96 inline void SetRuleName(
const char* value) { m_ruleNameHasBeenSet =
true; m_ruleName.assign(value); }
110 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
127 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
163 bool m_tagsHasBeenSet =
false;
166 bool m_ruleStatusHasBeenSet =
false;
169 bool m_ruleOrderHasBeenSet =
false;
172 bool m_ruleNameHasBeenSet =
false;
175 bool m_descriptionHasBeenSet =
false;
178 bool m_isTerminalHasBeenSet =
false;
181 bool m_criteriaHasBeenSet =
false;
184 bool m_actionsHasBeenSet =
false;
CreateAutomationRuleRequest & WithRuleName(const Aws::String &value)
void SetRuleName(const char *value)
bool RuleNameHasBeenSet() const
void SetRuleStatus(RuleStatus &&value)
const Aws::String & GetDescription() const
CreateAutomationRuleRequest & WithCriteria(AutomationRulesFindingFilters &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetDescription(Aws::String &&value)
CreateAutomationRuleRequest & WithRuleStatus(RuleStatus &&value)
CreateAutomationRuleRequest & WithTags(const Aws::Map< Aws::String, Aws::String > &value)
bool ActionsHasBeenSet() const
bool CriteriaHasBeenSet() const
CreateAutomationRuleRequest & AddTags(const Aws::String &key, const Aws::String &value)
void SetRuleName(Aws::String &&value)
void SetRuleName(const Aws::String &value)
CreateAutomationRuleRequest & WithTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAutomationRuleRequest & WithDescription(const char *value)
CreateAutomationRuleRequest & WithRuleStatus(const RuleStatus &value)
const AutomationRulesFindingFilters & GetCriteria() const
CreateAutomationRuleRequest & WithRuleOrder(int value)
CreateAutomationRuleRequest & WithRuleName(Aws::String &&value)
bool IsTerminalHasBeenSet() const
CreateAutomationRuleRequest & AddActions(AutomationRulesAction &&value)
bool DescriptionHasBeenSet() const
bool RuleStatusHasBeenSet() const
CreateAutomationRuleRequest & AddActions(const AutomationRulesAction &value)
void SetCriteria(AutomationRulesFindingFilters &&value)
void SetTags(Aws::Map< Aws::String, Aws::String > &&value)
CreateAutomationRuleRequest & AddTags(const char *key, const char *value)
const RuleStatus & GetRuleStatus() const
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
bool GetIsTerminal() const
void SetActions(Aws::Vector< AutomationRulesAction > &&value)
void SetDescription(const char *value)
CreateAutomationRuleRequest & WithActions(const Aws::Vector< AutomationRulesAction > &value)
virtual const char * GetServiceRequestName() const override
CreateAutomationRuleRequest & WithDescription(Aws::String &&value)
void SetCriteria(const AutomationRulesFindingFilters &value)
bool RuleOrderHasBeenSet() const
AWS_SECURITYHUB_API CreateAutomationRuleRequest()
CreateAutomationRuleRequest & AddTags(const Aws::String &key, Aws::String &&value)
CreateAutomationRuleRequest & WithCriteria(const AutomationRulesFindingFilters &value)
void SetIsTerminal(bool value)
void SetRuleStatus(const RuleStatus &value)
void SetTags(const Aws::Map< Aws::String, Aws::String > &value)
CreateAutomationRuleRequest & WithRuleName(const char *value)
CreateAutomationRuleRequest & WithDescription(const Aws::String &value)
bool TagsHasBeenSet() const
void SetActions(const Aws::Vector< AutomationRulesAction > &value)
const Aws::Vector< AutomationRulesAction > & GetActions() const
CreateAutomationRuleRequest & AddTags(Aws::String &&key, Aws::String &&value)
void SetDescription(const Aws::String &value)
CreateAutomationRuleRequest & AddTags(Aws::String &&key, const Aws::String &value)
CreateAutomationRuleRequest & WithIsTerminal(bool value)
CreateAutomationRuleRequest & WithActions(Aws::Vector< AutomationRulesAction > &&value)
void SetRuleOrder(int value)
const Aws::String & GetRuleName() const
CreateAutomationRuleRequest & AddTags(Aws::String &&key, const char *value)
CreateAutomationRuleRequest & AddTags(const char *key, Aws::String &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector