7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/frauddetector/model/Rule.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/frauddetector/model/Language.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/frauddetector/model/Tag.h>
18namespace FraudDetector
47 template<
typename RuleT = Rule>
48 void SetRule(RuleT&& value) { m_ruleHasBeenSet =
true; m_rule = std::forward<RuleT>(value); }
49 template<
typename RuleT = Rule>
59 template<
typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
61 template<
typename DescriptionT = Aws::String>
71 template<
typename ExpressionT = Aws::String>
72 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
73 template<
typename ExpressionT = Aws::String>
93 template<
typename OutcomesT = Aws::Vector<Aws::String>>
94 void SetOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes = std::forward<OutcomesT>(value); }
95 template<
typename OutcomesT = Aws::Vector<Aws::String>>
97 template<
typename OutcomesT = Aws::String>
107 template<
typename TagsT = Aws::Vector<Tag>>
108 void SetTags(TagsT&& value) { m_tagsHasBeenSet =
true; m_tags = std::forward<TagsT>(value); }
109 template<
typename TagsT = Aws::Vector<Tag>>
111 template<
typename TagsT = Tag>
117 bool m_ruleHasBeenSet =
false;
120 bool m_descriptionHasBeenSet =
false;
123 bool m_expressionHasBeenSet =
false;
126 bool m_languageHasBeenSet =
false;
129 bool m_outcomesHasBeenSet =
false;
132 bool m_tagsHasBeenSet =
false;
UpdateRuleVersionRequest & WithTags(TagsT &&value)
bool RuleHasBeenSet() const
void SetRule(RuleT &&value)
void SetTags(TagsT &&value)
bool LanguageHasBeenSet() const
UpdateRuleVersionRequest & WithRule(RuleT &&value)
void SetOutcomes(OutcomesT &&value)
const Aws::Vector< Tag > & GetTags() const
void SetDescription(DescriptionT &&value)
const Aws::String & GetExpression() const
UpdateRuleVersionRequest & WithDescription(DescriptionT &&value)
bool ExpressionHasBeenSet() const
virtual const char * GetServiceRequestName() const override
const Rule & GetRule() const
bool TagsHasBeenSet() const
bool OutcomesHasBeenSet() const
UpdateRuleVersionRequest & WithLanguage(Language value)
AWS_FRAUDDETECTOR_API UpdateRuleVersionRequest()=default
bool DescriptionHasBeenSet() const
void SetLanguage(Language value)
UpdateRuleVersionRequest & WithOutcomes(OutcomesT &&value)
UpdateRuleVersionRequest & WithExpression(ExpressionT &&value)
const Aws::Vector< Aws::String > & GetOutcomes() const
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
UpdateRuleVersionRequest & AddOutcomes(OutcomesT &&value)
const Aws::String & GetDescription() const
UpdateRuleVersionRequest & AddTags(TagsT &&value)
void SetExpression(ExpressionT &&value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Language GetLanguage() const
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