7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/frauddetector/model/Language.h>
11#include <aws/core/utils/memory/stl/AWSVector.h>
12#include <aws/frauddetector/model/Tag.h>
17namespace FraudDetector
46 template<
typename RuleIdT = Aws::String>
47 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
48 template<
typename RuleIdT = Aws::String>
58 template<
typename DetectorIdT = Aws::String>
59 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
60 template<
typename DetectorIdT = Aws::String>
70 template<
typename DescriptionT = Aws::String>
71 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
72 template<
typename DescriptionT = Aws::String>
82 template<
typename ExpressionT = Aws::String>
83 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
84 template<
typename ExpressionT = Aws::String>
104 template<
typename OutcomesT = Aws::Vector<Aws::String>>
105 void SetOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes = std::forward<OutcomesT>(value); }
106 template<
typename OutcomesT = Aws::Vector<Aws::String>>
108 template<
typename OutcomesT = Aws::String>
109 CreateRuleRequest&
AddOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes.emplace_back(std::forward<OutcomesT>(value));
return *
this; }
118 template<
typename TagsT = Aws::Vector<Tag>>
119 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
120 template<
typename TagsT = Aws::Vector<Tag>>
122 template<
typename TagsT = Tag>
123 CreateRuleRequest&
AddTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags.emplace_back(std::forward<TagsT>(value));
return *
this; }
128 bool m_ruleIdHasBeenSet =
false;
131 bool m_detectorIdHasBeenSet =
false;
134 bool m_descriptionHasBeenSet =
false;
137 bool m_expressionHasBeenSet =
false;
140 bool m_languageHasBeenSet =
false;
143 bool m_outcomesHasBeenSet =
false;
146 bool m_tagsHasBeenSet =
false;
void SetRuleId(RuleIdT &&value)
void SetExpression(ExpressionT &&value)
void SetLanguage(Language value)
AWS_FRAUDDETECTOR_API CreateRuleRequest()=default
const Aws::String & GetDetectorId() const
CreateRuleRequest & WithRuleId(RuleIdT &&value)
CreateRuleRequest & WithDetectorId(DetectorIdT &&value)
CreateRuleRequest & AddTags(TagsT &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
void SetTags(TagsT &&value)
CreateRuleRequest & WithDescription(DescriptionT &&value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDescription() const
const Aws::Vector< Aws::String > & GetOutcomes() const
Language GetLanguage() const
bool DetectorIdHasBeenSet() const
const Aws::String & GetRuleId() const
void SetOutcomes(OutcomesT &&value)
virtual const char * GetServiceRequestName() const override
bool ExpressionHasBeenSet() const
bool OutcomesHasBeenSet() const
CreateRuleRequest & WithExpression(ExpressionT &&value)
bool RuleIdHasBeenSet() const
bool TagsHasBeenSet() const
void SetDescription(DescriptionT &&value)
bool DescriptionHasBeenSet() const
CreateRuleRequest & WithLanguage(Language value)
CreateRuleRequest & WithOutcomes(OutcomesT &&value)
CreateRuleRequest & WithTags(TagsT &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
const Aws::String & GetExpression() const
CreateRuleRequest & AddOutcomes(OutcomesT &&value)
bool LanguageHasBeenSet() const
void SetDetectorId(DetectorIdT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector