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
48 template<
typename RuleIdT = Aws::String>
49 void SetRuleId(RuleIdT&& value) { m_ruleIdHasBeenSet =
true; m_ruleId = std::forward<RuleIdT>(value); }
50 template<
typename RuleIdT = Aws::String>
60 template<
typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
62 template<
typename DescriptionT = Aws::String>
72 template<
typename DetectorIdT = Aws::String>
73 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet =
true; m_detectorId = std::forward<DetectorIdT>(value); }
74 template<
typename DetectorIdT = Aws::String>
84 template<
typename RuleVersionT = Aws::String>
85 void SetRuleVersion(RuleVersionT&& value) { m_ruleVersionHasBeenSet =
true; m_ruleVersion = std::forward<RuleVersionT>(value); }
86 template<
typename RuleVersionT = Aws::String>
96 template<
typename ExpressionT = Aws::String>
97 void SetExpression(ExpressionT&& value) { m_expressionHasBeenSet =
true; m_expression = std::forward<ExpressionT>(value); }
98 template<
typename ExpressionT = Aws::String>
118 template<
typename OutcomesT = Aws::Vector<Aws::String>>
119 void SetOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes = std::forward<OutcomesT>(value); }
120 template<
typename OutcomesT = Aws::Vector<Aws::String>>
122 template<
typename OutcomesT = Aws::String>
123 RuleDetail&
AddOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet =
true; m_outcomes.emplace_back(std::forward<OutcomesT>(value));
return *
this; }
132 template<
typename LastUpdatedTimeT = Aws::String>
133 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet =
true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
134 template<
typename LastUpdatedTimeT = Aws::String>
144 template<
typename CreatedTimeT = Aws::String>
145 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet =
true; m_createdTime = std::forward<CreatedTimeT>(value); }
146 template<
typename CreatedTimeT = Aws::String>
156 template<
typename ArnT = Aws::String>
157 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
158 template<
typename ArnT = Aws::String>
164 bool m_ruleIdHasBeenSet =
false;
167 bool m_descriptionHasBeenSet =
false;
170 bool m_detectorIdHasBeenSet =
false;
173 bool m_ruleVersionHasBeenSet =
false;
176 bool m_expressionHasBeenSet =
false;
179 bool m_languageHasBeenSet =
false;
182 bool m_outcomesHasBeenSet =
false;
185 bool m_lastUpdatedTimeHasBeenSet =
false;
188 bool m_createdTimeHasBeenSet =
false;
191 bool m_arnHasBeenSet =
false;
const Aws::String & GetDescription() const
RuleDetail & WithArn(ArnT &&value)
const Aws::String & GetCreatedTime() const
AWS_FRAUDDETECTOR_API RuleDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
Language GetLanguage() const
const Aws::String & GetArn() const
AWS_FRAUDDETECTOR_API RuleDetail()=default
RuleDetail & WithOutcomes(OutcomesT &&value)
void SetDetectorId(DetectorIdT &&value)
RuleDetail & WithRuleId(RuleIdT &&value)
const Aws::Vector< Aws::String > & GetOutcomes() const
void SetRuleId(RuleIdT &&value)
RuleDetail & WithDescription(DescriptionT &&value)
bool OutcomesHasBeenSet() const
bool DescriptionHasBeenSet() const
void SetCreatedTime(CreatedTimeT &&value)
const Aws::String & GetDetectorId() const
bool ArnHasBeenSet() const
RuleDetail & WithDetectorId(DetectorIdT &&value)
const Aws::String & GetExpression() const
bool CreatedTimeHasBeenSet() const
void SetExpression(ExpressionT &&value)
void SetOutcomes(OutcomesT &&value)
bool DetectorIdHasBeenSet() const
const Aws::String & GetLastUpdatedTime() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
RuleDetail & WithExpression(ExpressionT &&value)
RuleDetail & WithLastUpdatedTime(LastUpdatedTimeT &&value)
void SetArn(ArnT &&value)
RuleDetail & WithLanguage(Language value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool RuleIdHasBeenSet() const
RuleDetail & WithRuleVersion(RuleVersionT &&value)
void SetLanguage(Language value)
bool LanguageHasBeenSet() const
RuleDetail & AddOutcomes(OutcomesT &&value)
bool LastUpdatedTimeHasBeenSet() const
RuleDetail & WithCreatedTime(CreatedTimeT &&value)
const Aws::String & GetRuleId() const
const Aws::String & GetRuleVersion() const
bool RuleVersionHasBeenSet() const
AWS_FRAUDDETECTOR_API RuleDetail(Aws::Utils::Json::JsonView jsonValue)
bool ExpressionHasBeenSet() const
void SetRuleVersion(RuleVersionT &&value)
void SetDescription(DescriptionT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue