AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventPredictionResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/frauddetector/model/ModelScores.h>
11#include <aws/frauddetector/model/RuleResult.h>
12#include <aws/frauddetector/model/ExternalModelOutputs.h>
13#include <utility>
14
15namespace Aws
16{
17template<typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25} // namespace Json
26} // namespace Utils
27namespace FraudDetector
28{
29namespace Model
30{
32 {
33 public:
34 AWS_FRAUDDETECTOR_API GetEventPredictionResult();
37
38
40
47 inline const Aws::Vector<ModelScores>& GetModelScores() const{ return m_modelScores; }
48 inline void SetModelScores(const Aws::Vector<ModelScores>& value) { m_modelScores = value; }
49 inline void SetModelScores(Aws::Vector<ModelScores>&& value) { m_modelScores = std::move(value); }
51 inline GetEventPredictionResult& WithModelScores(Aws::Vector<ModelScores>&& value) { SetModelScores(std::move(value)); return *this;}
52 inline GetEventPredictionResult& AddModelScores(const ModelScores& value) { m_modelScores.push_back(value); return *this; }
53 inline GetEventPredictionResult& AddModelScores(ModelScores&& value) { m_modelScores.push_back(std::move(value)); return *this; }
55
57
60 inline const Aws::Vector<RuleResult>& GetRuleResults() const{ return m_ruleResults; }
61 inline void SetRuleResults(const Aws::Vector<RuleResult>& value) { m_ruleResults = value; }
62 inline void SetRuleResults(Aws::Vector<RuleResult>&& value) { m_ruleResults = std::move(value); }
64 inline GetEventPredictionResult& WithRuleResults(Aws::Vector<RuleResult>&& value) { SetRuleResults(std::move(value)); return *this;}
65 inline GetEventPredictionResult& AddRuleResults(const RuleResult& value) { m_ruleResults.push_back(value); return *this; }
66 inline GetEventPredictionResult& AddRuleResults(RuleResult&& value) { m_ruleResults.push_back(std::move(value)); return *this; }
68
70
73 inline const Aws::Vector<ExternalModelOutputs>& GetExternalModelOutputs() const{ return m_externalModelOutputs; }
74 inline void SetExternalModelOutputs(const Aws::Vector<ExternalModelOutputs>& value) { m_externalModelOutputs = value; }
75 inline void SetExternalModelOutputs(Aws::Vector<ExternalModelOutputs>&& value) { m_externalModelOutputs = std::move(value); }
78 inline GetEventPredictionResult& AddExternalModelOutputs(const ExternalModelOutputs& value) { m_externalModelOutputs.push_back(value); return *this; }
79 inline GetEventPredictionResult& AddExternalModelOutputs(ExternalModelOutputs&& value) { m_externalModelOutputs.push_back(std::move(value)); return *this; }
81
83
84 inline const Aws::String& GetRequestId() const{ return m_requestId; }
85 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
86 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
87 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
88 inline GetEventPredictionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
89 inline GetEventPredictionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
90 inline GetEventPredictionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
92 private:
93
94 Aws::Vector<ModelScores> m_modelScores;
95
96 Aws::Vector<RuleResult> m_ruleResults;
97
98 Aws::Vector<ExternalModelOutputs> m_externalModelOutputs;
99
100 Aws::String m_requestId;
101 };
102
103} // namespace Model
104} // namespace FraudDetector
105} // namespace Aws
GetEventPredictionResult & AddExternalModelOutputs(ExternalModelOutputs &&value)
GetEventPredictionResult & WithExternalModelOutputs(Aws::Vector< ExternalModelOutputs > &&value)
void SetRuleResults(const Aws::Vector< RuleResult > &value)
GetEventPredictionResult & WithRuleResults(Aws::Vector< RuleResult > &&value)
GetEventPredictionResult & AddModelScores(const ModelScores &value)
GetEventPredictionResult & WithRequestId(const Aws::String &value)
void SetExternalModelOutputs(Aws::Vector< ExternalModelOutputs > &&value)
GetEventPredictionResult & AddRuleResults(RuleResult &&value)
void SetModelScores(Aws::Vector< ModelScores > &&value)
void SetExternalModelOutputs(const Aws::Vector< ExternalModelOutputs > &value)
GetEventPredictionResult & WithModelScores(Aws::Vector< ModelScores > &&value)
void SetModelScores(const Aws::Vector< ModelScores > &value)
void SetRuleResults(Aws::Vector< RuleResult > &&value)
GetEventPredictionResult & WithExternalModelOutputs(const Aws::Vector< ExternalModelOutputs > &value)
const Aws::Vector< ModelScores > & GetModelScores() const
const Aws::Vector< ExternalModelOutputs > & GetExternalModelOutputs() const
GetEventPredictionResult & WithRequestId(Aws::String &&value)
GetEventPredictionResult & AddExternalModelOutputs(const ExternalModelOutputs &value)
GetEventPredictionResult & WithRuleResults(const Aws::Vector< RuleResult > &value)
AWS_FRAUDDETECTOR_API GetEventPredictionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventPredictionResult & WithModelScores(const Aws::Vector< ModelScores > &value)
GetEventPredictionResult & AddModelScores(ModelScores &&value)
GetEventPredictionResult & WithRequestId(const char *value)
AWS_FRAUDDETECTOR_API GetEventPredictionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventPredictionResult & AddRuleResults(const RuleResult &value)
const Aws::Vector< RuleResult > & GetRuleResults() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue