7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/Language.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
23namespace FraudDetector
50 inline void SetRuleId(
const char* value) { m_ruleIdHasBeenSet =
true; m_ruleId.assign(value); }
64 inline void SetDescription(
const char* value) { m_descriptionHasBeenSet =
true; m_description.assign(value); }
78 inline void SetDetectorId(
const char* value) { m_detectorIdHasBeenSet =
true; m_detectorId.assign(value); }
92 inline void SetRuleVersion(
const char* value) { m_ruleVersionHasBeenSet =
true; m_ruleVersion.assign(value); }
106 inline void SetExpression(
const char* value) { m_expressionHasBeenSet =
true; m_expression.assign(value); }
136 inline RuleDetail&
AddOutcomes(
const char* value) { m_outcomesHasBeenSet =
true; m_outcomes.push_back(value);
return *
this; }
147 inline void SetLastUpdatedTime(
const char* value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime.assign(value); }
161 inline void SetCreatedTime(
const char* value) { m_createdTimeHasBeenSet =
true; m_createdTime.assign(value); }
175 inline void SetArn(
const char* value) { m_arnHasBeenSet =
true; m_arn.assign(value); }
183 bool m_ruleIdHasBeenSet =
false;
186 bool m_descriptionHasBeenSet =
false;
189 bool m_detectorIdHasBeenSet =
false;
192 bool m_ruleVersionHasBeenSet =
false;
195 bool m_expressionHasBeenSet =
false;
198 bool m_languageHasBeenSet =
false;
201 bool m_outcomesHasBeenSet =
false;
204 bool m_lastUpdatedTimeHasBeenSet =
false;
207 bool m_createdTimeHasBeenSet =
false;
210 bool m_arnHasBeenSet =
false;
RuleDetail & WithLanguage(const Language &value)
void SetLastUpdatedTime(const Aws::String &value)
void SetRuleVersion(Aws::String &&value)
void SetOutcomes(const Aws::Vector< Aws::String > &value)
RuleDetail & WithArn(Aws::String &&value)
const Aws::String & GetDescription() const
RuleDetail & WithDescription(const Aws::String &value)
void SetLanguage(Language &&value)
RuleDetail & WithArn(const char *value)
RuleDetail & WithExpression(const char *value)
const Aws::String & GetCreatedTime() const
void SetDescription(Aws::String &&value)
RuleDetail & AddOutcomes(const Aws::String &value)
RuleDetail & WithCreatedTime(const Aws::String &value)
RuleDetail & WithLastUpdatedTime(Aws::String &&value)
AWS_FRAUDDETECTOR_API RuleDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
const Language & GetLanguage() const
const Aws::String & GetArn() const
RuleDetail & WithExpression(const Aws::String &value)
void SetArn(const char *value)
void SetRuleId(Aws::String &&value)
RuleDetail & WithOutcomes(const Aws::Vector< Aws::String > &value)
const Aws::Vector< Aws::String > & GetOutcomes() const
RuleDetail & WithRuleId(const char *value)
RuleDetail & AddOutcomes(Aws::String &&value)
bool OutcomesHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetDetectorId(Aws::String &&value)
const Aws::String & GetDetectorId() const
RuleDetail & WithDetectorId(const Aws::String &value)
RuleDetail & WithArn(const Aws::String &value)
bool ArnHasBeenSet() const
RuleDetail & WithRuleVersion(const char *value)
RuleDetail & WithDetectorId(const char *value)
void SetCreatedTime(Aws::String &&value)
RuleDetail & WithLanguage(Language &&value)
RuleDetail & WithExpression(Aws::String &&value)
RuleDetail & WithRuleVersion(Aws::String &&value)
const Aws::String & GetExpression() const
RuleDetail & WithDetectorId(Aws::String &&value)
void SetDescription(const char *value)
bool CreatedTimeHasBeenSet() const
void SetRuleId(const Aws::String &value)
RuleDetail & WithCreatedTime(Aws::String &&value)
bool DetectorIdHasBeenSet() const
void SetDetectorId(const char *value)
void SetArn(const Aws::String &value)
void SetDescription(const Aws::String &value)
const Aws::String & GetLastUpdatedTime() const
RuleDetail & WithLastUpdatedTime(const char *value)
void SetRuleId(const char *value)
RuleDetail & WithRuleVersion(const Aws::String &value)
RuleDetail & WithOutcomes(Aws::Vector< Aws::String > &&value)
RuleDetail & WithDescription(const char *value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleIdHasBeenSet() const
void SetExpression(const char *value)
RuleDetail & WithRuleId(Aws::String &&value)
void SetArn(Aws::String &&value)
RuleDetail & WithDescription(Aws::String &&value)
void SetLastUpdatedTime(const char *value)
void SetLastUpdatedTime(Aws::String &&value)
bool LanguageHasBeenSet() const
RuleDetail & AddOutcomes(const char *value)
RuleDetail & WithRuleId(const Aws::String &value)
void SetOutcomes(Aws::Vector< Aws::String > &&value)
bool LastUpdatedTimeHasBeenSet() const
const Aws::String & GetRuleId() const
const Aws::String & GetRuleVersion() const
RuleDetail & WithLastUpdatedTime(const Aws::String &value)
bool RuleVersionHasBeenSet() const
void SetCreatedTime(const char *value)
AWS_FRAUDDETECTOR_API RuleDetail(Aws::Utils::Json::JsonView jsonValue)
void SetExpression(Aws::String &&value)
void SetExpression(const Aws::String &value)
void SetLanguage(const Language &value)
bool ExpressionHasBeenSet() const
void SetRuleVersion(const Aws::String &value)
void SetCreatedTime(const Aws::String &value)
void SetRuleVersion(const char *value)
void SetDetectorId(const Aws::String &value)
RuleDetail & WithCreatedTime(const char *value)
AWS_FRAUDDETECTOR_API RuleDetail()
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue