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
48 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
62 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
76 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
90 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
139 bool m_ruleIdHasBeenSet =
false;
142 bool m_detectorIdHasBeenSet =
false;
145 bool m_descriptionHasBeenSet =
false;
148 bool m_expressionHasBeenSet =
false;
151 bool m_languageHasBeenSet =
false;
154 bool m_outcomesHasBeenSet =
false;
157 bool m_tagsHasBeenSet =
false;
CreateRuleRequest & WithOutcomes(Aws::Vector< Aws::String > &&value)
CreateRuleRequest & WithDescription(const char *value)
void SetTags(Aws::Vector< Tag > &&value)
CreateRuleRequest & WithExpression(const Aws::String &value)
CreateRuleRequest & WithLanguage(const Language &value)
void SetOutcomes(Aws::Vector< Aws::String > &&value)
CreateRuleRequest & AddOutcomes(const Aws::String &value)
const Aws::String & GetDetectorId() const
CreateRuleRequest & WithTags(const Aws::Vector< Tag > &value)
void SetExpression(Aws::String &&value)
void SetDetectorId(const char *value)
void SetExpression(const char *value)
CreateRuleRequest & WithRuleId(Aws::String &&value)
void SetDescription(Aws::String &&value)
void SetRuleId(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
void SetDetectorId(Aws::String &&value)
CreateRuleRequest & AddOutcomes(const char *value)
void SetLanguage(Language &&value)
void SetDescription(const Aws::String &value)
const Aws::Vector< Tag > & GetTags() const
const Aws::String & GetDescription() const
void SetTags(const Aws::Vector< Tag > &value)
const Aws::Vector< Aws::String > & GetOutcomes() const
CreateRuleRequest & WithDescription(Aws::String &&value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetRuleId() const
const Language & GetLanguage() const
virtual const char * GetServiceRequestName() const override
void SetExpression(const Aws::String &value)
bool ExpressionHasBeenSet() const
bool OutcomesHasBeenSet() const
void SetDescription(const char *value)
CreateRuleRequest & WithExpression(Aws::String &&value)
bool RuleIdHasBeenSet() const
bool TagsHasBeenSet() const
CreateRuleRequest & WithDetectorId(const char *value)
void SetLanguage(const Language &value)
void SetOutcomes(const Aws::Vector< Aws::String > &value)
CreateRuleRequest & AddTags(const Tag &value)
CreateRuleRequest & WithLanguage(Language &&value)
bool DescriptionHasBeenSet() const
CreateRuleRequest & WithTags(Aws::Vector< Tag > &&value)
void SetRuleId(Aws::String &&value)
void SetDetectorId(const Aws::String &value)
CreateRuleRequest & WithExpression(const char *value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateRuleRequest & WithDetectorId(Aws::String &&value)
const Aws::String & GetExpression() const
AWS_FRAUDDETECTOR_API CreateRuleRequest()
CreateRuleRequest & WithOutcomes(const Aws::Vector< Aws::String > &value)
CreateRuleRequest & WithRuleId(const char *value)
CreateRuleRequest & WithRuleId(const Aws::String &value)
CreateRuleRequest & WithDetectorId(const Aws::String &value)
bool LanguageHasBeenSet() const
CreateRuleRequest & AddOutcomes(Aws::String &&value)
void SetRuleId(const char *value)
CreateRuleRequest & AddTags(Tag &&value)
CreateRuleRequest & WithDescription(const Aws::String &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