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>
46 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
47 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
48 template<
typename TagsT = Aws::Map<Aws::String, Aws::String>>
50 template<
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
52 m_tagsHasBeenSet =
true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
return *
this;
79 inline void SetRuleOrder(
int value) { m_ruleOrderHasBeenSet =
true; m_ruleOrder = value; }
89 template<
typename RuleNameT = Aws::String>
90 void SetRuleName(RuleNameT&& value) { m_ruleNameHasBeenSet =
true; m_ruleName = std::forward<RuleNameT>(value); }
91 template<
typename RuleNameT = Aws::String>
101 template<
typename DescriptionT = Aws::String>
102 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
103 template<
typename DescriptionT = Aws::String>
118 inline void SetIsTerminal(
bool value) { m_isTerminalHasBeenSet =
true; m_isTerminal = value; }
131 template<
typename CriteriaT = AutomationRulesFindingFilters>
132 void SetCriteria(CriteriaT&& value) { m_criteriaHasBeenSet =
true; m_criteria = std::forward<CriteriaT>(value); }
133 template<
typename CriteriaT = AutomationRulesFindingFilters>
144 template<
typename ActionsT = Aws::Vector<AutomationRulesAction>>
145 void SetActions(ActionsT&& value) { m_actionsHasBeenSet =
true; m_actions = std::forward<ActionsT>(value); }
146 template<
typename ActionsT = Aws::Vector<AutomationRulesAction>>
148 template<
typename ActionsT = AutomationRulesAction>
154 bool m_tagsHasBeenSet =
false;
157 bool m_ruleStatusHasBeenSet =
false;
160 bool m_ruleOrderHasBeenSet =
false;
163 bool m_ruleNameHasBeenSet =
false;
166 bool m_descriptionHasBeenSet =
false;
168 bool m_isTerminal{
false};
169 bool m_isTerminalHasBeenSet =
false;
171 AutomationRulesFindingFilters m_criteria;
172 bool m_criteriaHasBeenSet =
false;
175 bool m_actionsHasBeenSet =
false;
CreateAutomationRuleRequest & AddActions(ActionsT &&value)
bool RuleNameHasBeenSet() const
CreateAutomationRuleRequest & WithRuleStatus(RuleStatus value)
const Aws::String & GetDescription() const
CreateAutomationRuleRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
void SetRuleName(RuleNameT &&value)
bool ActionsHasBeenSet() const
bool CriteriaHasBeenSet() const
const AutomationRulesFindingFilters & GetCriteria() const
void SetRuleStatus(RuleStatus value)
CreateAutomationRuleRequest & WithRuleOrder(int value)
CreateAutomationRuleRequest & WithRuleName(RuleNameT &&value)
bool IsTerminalHasBeenSet() const
void SetTags(TagsT &&value)
bool DescriptionHasBeenSet() const
bool RuleStatusHasBeenSet() const
RuleStatus GetRuleStatus() const
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
bool GetIsTerminal() const
virtual const char * GetServiceRequestName() const override
CreateAutomationRuleRequest & WithCriteria(CriteriaT &&value)
bool RuleOrderHasBeenSet() const
CreateAutomationRuleRequest & WithActions(ActionsT &&value)
CreateAutomationRuleRequest & WithTags(TagsT &&value)
void SetIsTerminal(bool value)
CreateAutomationRuleRequest & WithDescription(DescriptionT &&value)
AWS_SECURITYHUB_API CreateAutomationRuleRequest()=default
bool TagsHasBeenSet() const
void SetActions(ActionsT &&value)
void SetDescription(DescriptionT &&value)
const Aws::Vector< AutomationRulesAction > & GetActions() const
CreateAutomationRuleRequest & WithIsTerminal(bool value)
void SetRuleOrder(int value)
const Aws::String & GetRuleName() const
void SetCriteria(CriteriaT &&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