AWS SDK for C++  1.9.14
AWS SDK for C++
GetEventPredictionResult.h
Go to the documentation of this file.
1 
6 #pragma once
11 #include <utility>
12 
13 namespace Aws
14 {
15 template<typename RESULT_TYPE>
16 class AmazonWebServiceResult;
17 
18 namespace Utils
19 {
20 namespace Json
21 {
22  class JsonValue;
23 } // namespace Json
24 } // namespace Utils
25 namespace FraudDetector
26 {
27 namespace Model
28 {
30  {
31  public:
35 
36 
44  inline const Aws::Vector<ModelScores>& GetModelScores() const{ return m_modelScores; }
45 
53  inline void SetModelScores(const Aws::Vector<ModelScores>& value) { m_modelScores = value; }
54 
62  inline void SetModelScores(Aws::Vector<ModelScores>&& value) { m_modelScores = std::move(value); }
63 
71  inline GetEventPredictionResult& WithModelScores(const Aws::Vector<ModelScores>& value) { SetModelScores(value); return *this;}
72 
80  inline GetEventPredictionResult& WithModelScores(Aws::Vector<ModelScores>&& value) { SetModelScores(std::move(value)); return *this;}
81 
89  inline GetEventPredictionResult& AddModelScores(const ModelScores& value) { m_modelScores.push_back(value); return *this; }
90 
98  inline GetEventPredictionResult& AddModelScores(ModelScores&& value) { m_modelScores.push_back(std::move(value)); return *this; }
99 
100 
104  inline const Aws::Vector<RuleResult>& GetRuleResults() const{ return m_ruleResults; }
105 
109  inline void SetRuleResults(const Aws::Vector<RuleResult>& value) { m_ruleResults = value; }
110 
114  inline void SetRuleResults(Aws::Vector<RuleResult>&& value) { m_ruleResults = std::move(value); }
115 
119  inline GetEventPredictionResult& WithRuleResults(const Aws::Vector<RuleResult>& value) { SetRuleResults(value); return *this;}
120 
124  inline GetEventPredictionResult& WithRuleResults(Aws::Vector<RuleResult>&& value) { SetRuleResults(std::move(value)); return *this;}
125 
129  inline GetEventPredictionResult& AddRuleResults(const RuleResult& value) { m_ruleResults.push_back(value); return *this; }
130 
134  inline GetEventPredictionResult& AddRuleResults(RuleResult&& value) { m_ruleResults.push_back(std::move(value)); return *this; }
135 
136  private:
137 
138  Aws::Vector<ModelScores> m_modelScores;
139 
140  Aws::Vector<RuleResult> m_ruleResults;
141  };
142 
143 } // namespace Model
144 } // namespace FraudDetector
145 } // namespace Aws
Aws::FraudDetector::Model::GetEventPredictionResult::AddRuleResults
GetEventPredictionResult & AddRuleResults(RuleResult &&value)
Definition: GetEventPredictionResult.h:134
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::GetEventPredictionResult::WithModelScores
GetEventPredictionResult & WithModelScores(const Aws::Vector< ModelScores > &value)
Definition: GetEventPredictionResult.h:71
Aws::FraudDetector::Model::GetEventPredictionResult::GetEventPredictionResult
GetEventPredictionResult()
Aws::FraudDetector::Model::ModelScores
Definition: ModelScores.h:34
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::GetEventPredictionResult::WithRuleResults
GetEventPredictionResult & WithRuleResults(const Aws::Vector< RuleResult > &value)
Definition: GetEventPredictionResult.h:119
RuleResult.h
Aws::FraudDetector::Model::GetEventPredictionResult::SetModelScores
void SetModelScores(Aws::Vector< ModelScores > &&value)
Definition: GetEventPredictionResult.h:62
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetEventPredictionResult::SetRuleResults
void SetRuleResults(const Aws::Vector< RuleResult > &value)
Definition: GetEventPredictionResult.h:109
Aws::FraudDetector::Model::GetEventPredictionResult::AddModelScores
GetEventPredictionResult & AddModelScores(const ModelScores &value)
Definition: GetEventPredictionResult.h:89
Aws::FraudDetector::Model::RuleResult
Definition: RuleResult.h:33
Aws::FraudDetector::Model::GetEventPredictionResult::SetRuleResults
void SetRuleResults(Aws::Vector< RuleResult > &&value)
Definition: GetEventPredictionResult.h:114
Aws::FraudDetector::Model::GetEventPredictionResult::WithModelScores
GetEventPredictionResult & WithModelScores(Aws::Vector< ModelScores > &&value)
Definition: GetEventPredictionResult.h:80
ModelScores.h
Aws::FraudDetector::Model::GetEventPredictionResult::AddModelScores
GetEventPredictionResult & AddModelScores(ModelScores &&value)
Definition: GetEventPredictionResult.h:98
Aws::FraudDetector::Model::GetEventPredictionResult::SetModelScores
void SetModelScores(const Aws::Vector< ModelScores > &value)
Definition: GetEventPredictionResult.h:53
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetEventPredictionResult
Definition: GetEventPredictionResult.h:30
Aws::FraudDetector::Model::GetEventPredictionResult::WithRuleResults
GetEventPredictionResult & WithRuleResults(Aws::Vector< RuleResult > &&value)
Definition: GetEventPredictionResult.h:124
Aws::FraudDetector::Model::GetEventPredictionResult::GetModelScores
const Aws::Vector< ModelScores > & GetModelScores() const
Definition: GetEventPredictionResult.h:44
Aws::FraudDetector::Model::GetEventPredictionResult::GetEventPredictionResult
GetEventPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetEventPredictionResult::operator=
GetEventPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetEventPredictionResult::AddRuleResults
GetEventPredictionResult & AddRuleResults(const RuleResult &value)
Definition: GetEventPredictionResult.h:129
Aws::FraudDetector::Model::GetEventPredictionResult::GetRuleResults
const Aws::Vector< RuleResult > & GetRuleResults() const
Definition: GetEventPredictionResult.h:104