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 inline void SetRule(
const Rule& value) { m_ruleHasBeenSet =
true; m_rule = value; }
48 inline void SetRule(
Rule&& value) { m_ruleHasBeenSet =
true; m_rule = std::move(value); }
61 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
75 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
88 inline void SetLanguage(
Language&& value) { m_languageHasBeenSet =
true; m_language = std::move(value); }
124 bool m_ruleHasBeenSet =
false;
127 bool m_descriptionHasBeenSet =
false;
130 bool m_expressionHasBeenSet =
false;
133 bool m_languageHasBeenSet =
false;
136 bool m_outcomesHasBeenSet =
false;
139 bool m_tagsHasBeenSet =
false;
UpdateRuleVersionRequest & WithOutcomes(const Aws::Vector< Aws::String > &value)
UpdateRuleVersionRequest & AddOutcomes(const char *value)
UpdateRuleVersionRequest & WithExpression(const char *value)
void SetExpression(const char *value)
void SetRule(const Rule &value)
UpdateRuleVersionRequest & WithDescription(Aws::String &&value)
UpdateRuleVersionRequest & WithDescription(const Aws::String &value)
void SetTags(Aws::Vector< Tag > &&value)
UpdateRuleVersionRequest & WithTags(const Aws::Vector< Tag > &value)
bool RuleHasBeenSet() const
UpdateRuleVersionRequest & WithExpression(Aws::String &&value)
void SetRule(Rule &&value)
void SetExpression(const Aws::String &value)
UpdateRuleVersionRequest & WithRule(Rule &&value)
UpdateRuleVersionRequest & WithTags(Aws::Vector< Tag > &&value)
bool LanguageHasBeenSet() const
void SetOutcomes(const Aws::Vector< Aws::String > &value)
void SetDescription(Aws::String &&value)
const Aws::Vector< Tag > & GetTags() const
void SetLanguage(const Language &value)
const Aws::String & GetExpression() const
UpdateRuleVersionRequest & AddTags(const Tag &value)
bool ExpressionHasBeenSet() const
const Language & GetLanguage() const
UpdateRuleVersionRequest & WithOutcomes(Aws::Vector< Aws::String > &&value)
virtual const char * GetServiceRequestName() const override
const Rule & GetRule() const
void SetDescription(const Aws::String &value)
AWS_FRAUDDETECTOR_API UpdateRuleVersionRequest()
bool TagsHasBeenSet() const
void SetTags(const Aws::Vector< Tag > &value)
bool OutcomesHasBeenSet() const
void SetLanguage(Language &&value)
UpdateRuleVersionRequest & WithDescription(const char *value)
UpdateRuleVersionRequest & WithLanguage(Language &&value)
UpdateRuleVersionRequest & WithRule(const Rule &value)
bool DescriptionHasBeenSet() const
UpdateRuleVersionRequest & WithLanguage(const Language &value)
UpdateRuleVersionRequest & WithExpression(const Aws::String &value)
const Aws::Vector< Aws::String > & GetOutcomes() const
void SetOutcomes(Aws::Vector< Aws::String > &&value)
void SetExpression(Aws::String &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
const Aws::String & GetDescription() const
UpdateRuleVersionRequest & AddOutcomes(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
UpdateRuleVersionRequest & AddOutcomes(Aws::String &&value)
void SetDescription(const char *value)
UpdateRuleVersionRequest & AddTags(Tag &&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