7#include <aws/core/utils/UUID.h>
8#include <aws/core/utils/memory/stl/AWSMap.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/securityhub/SecurityHubRequest.h>
12#include <aws/securityhub/SecurityHub_EXPORTS.h>
13#include <aws/securityhub/model/AutomationRulesActionV2.h>
14#include <aws/securityhub/model/Criteria.h>
15#include <aws/securityhub/model/RuleStatusV2.h>
43 template <
typename RuleNameT = Aws::String>
45 m_ruleNameHasBeenSet =
true;
46 m_ruleName = std::forward<RuleNameT>(value);
48 template <
typename RuleNameT = Aws::String>
62 m_ruleStatusHasBeenSet =
true;
77 template <
typename DescriptionT = Aws::String>
79 m_descriptionHasBeenSet =
true;
80 m_description = std::forward<DescriptionT>(value);
82 template <
typename DescriptionT = Aws::String>
96 m_ruleOrderHasBeenSet =
true;
111 template <
typename CriteriaT = Criteria>
113 m_criteriaHasBeenSet =
true;
114 m_criteria = std::forward<CriteriaT>(value);
116 template <
typename CriteriaT = Criteria>
129 template <
typename ActionsT = Aws::Vector<AutomationRulesActionV2>>
131 m_actionsHasBeenSet =
true;
132 m_actions = std::forward<ActionsT>(value);
134 template <
typename ActionsT = Aws::Vector<AutomationRulesActionV2>>
139 template <
typename ActionsT = AutomationRulesActionV2>
141 m_actionsHasBeenSet =
true;
142 m_actions.emplace_back(std::forward<ActionsT>(value));
153 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
155 m_tagsHasBeenSet =
true;
156 m_tags = std::forward<TagsT>(value);
158 template <
typename TagsT = Aws::Map<Aws::String, Aws::String>>
160 SetTags(std::forward<TagsT>(value));
163 template <
typename TagsKeyT = Aws::String,
typename TagsValueT = Aws::String>
165 m_tagsHasBeenSet =
true;
166 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
177 template <
typename ClientTokenT = Aws::String>
179 m_clientTokenHasBeenSet =
true;
180 m_clientToken = std::forward<ClientTokenT>(value);
182 template <
typename ClientTokenT = Aws::String>
195 double m_ruleOrder{0.0};
204 bool m_ruleNameHasBeenSet =
false;
205 bool m_ruleStatusHasBeenSet =
false;
206 bool m_descriptionHasBeenSet =
false;
207 bool m_ruleOrderHasBeenSet =
false;
208 bool m_criteriaHasBeenSet =
false;
209 bool m_actionsHasBeenSet =
false;
210 bool m_tagsHasBeenSet =
false;
211 bool m_clientTokenHasBeenSet =
true;
bool RuleOrderHasBeenSet() const
CreateAutomationRuleV2Request & WithRuleOrder(double value)
void SetRuleStatus(RuleStatusV2 value)
void SetRuleName(RuleNameT &&value)
bool ActionsHasBeenSet() const
void SetRuleOrder(double value)
void SetTags(TagsT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
AWS_SECURITYHUB_API CreateAutomationRuleV2Request()=default
void SetActions(ActionsT &&value)
bool CriteriaHasBeenSet() const
const Aws::String & GetClientToken() const
bool RuleStatusHasBeenSet() const
double GetRuleOrder() const
CreateAutomationRuleV2Request & WithCriteria(CriteriaT &&value)
AWS_SECURITYHUB_API Aws::String SerializePayload() const override
const Aws::Vector< AutomationRulesActionV2 > & GetActions() const
RuleStatusV2 GetRuleStatus() const
CreateAutomationRuleV2Request & WithDescription(DescriptionT &&value)
void SetDescription(DescriptionT &&value)
CreateAutomationRuleV2Request & WithRuleName(RuleNameT &&value)
bool RuleNameHasBeenSet() const
void SetCriteria(CriteriaT &&value)
virtual const char * GetServiceRequestName() const override
const Criteria & GetCriteria() const
const Aws::String & GetDescription() const
CreateAutomationRuleV2Request & WithClientToken(ClientTokenT &&value)
CreateAutomationRuleV2Request & WithActions(ActionsT &&value)
const Aws::String & GetRuleName() const
bool DescriptionHasBeenSet() const
CreateAutomationRuleV2Request & AddTags(TagsKeyT &&key, TagsValueT &&value)
bool TagsHasBeenSet() const
bool ClientTokenHasBeenSet() const
CreateAutomationRuleV2Request & AddActions(ActionsT &&value)
void SetClientToken(ClientTokenT &&value)
CreateAutomationRuleV2Request & WithRuleStatus(RuleStatusV2 value)
CreateAutomationRuleV2Request & WithTags(TagsT &&value)
static Aws::Utils::UUID PseudoRandomUUID()
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