AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventPredictionMetadataResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/frauddetector/model/RuleExecutionMode.h>
11#include <aws/frauddetector/model/EventVariableSummary.h>
12#include <aws/frauddetector/model/EvaluatedRule.h>
13#include <aws/frauddetector/model/EvaluatedModelVersion.h>
14#include <aws/frauddetector/model/EvaluatedExternalModel.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace FraudDetector
30{
31namespace Model
32{
34 {
35 public:
36 AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult();
39
40
42
45 inline const Aws::String& GetEventId() const{ return m_eventId; }
46 inline void SetEventId(const Aws::String& value) { m_eventId = value; }
47 inline void SetEventId(Aws::String&& value) { m_eventId = std::move(value); }
48 inline void SetEventId(const char* value) { m_eventId.assign(value); }
49 inline GetEventPredictionMetadataResult& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
50 inline GetEventPredictionMetadataResult& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
51 inline GetEventPredictionMetadataResult& WithEventId(const char* value) { SetEventId(value); return *this;}
53
55
59 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
60 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeName = value; }
61 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeName = std::move(value); }
62 inline void SetEventTypeName(const char* value) { m_eventTypeName.assign(value); }
64 inline GetEventPredictionMetadataResult& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
65 inline GetEventPredictionMetadataResult& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
67
69
72 inline const Aws::String& GetEntityId() const{ return m_entityId; }
73 inline void SetEntityId(const Aws::String& value) { m_entityId = value; }
74 inline void SetEntityId(Aws::String&& value) { m_entityId = std::move(value); }
75 inline void SetEntityId(const char* value) { m_entityId.assign(value); }
76 inline GetEventPredictionMetadataResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;}
77 inline GetEventPredictionMetadataResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;}
78 inline GetEventPredictionMetadataResult& WithEntityId(const char* value) { SetEntityId(value); return *this;}
80
82
85 inline const Aws::String& GetEntityType() const{ return m_entityType; }
86 inline void SetEntityType(const Aws::String& value) { m_entityType = value; }
87 inline void SetEntityType(Aws::String&& value) { m_entityType = std::move(value); }
88 inline void SetEntityType(const char* value) { m_entityType.assign(value); }
89 inline GetEventPredictionMetadataResult& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;}
90 inline GetEventPredictionMetadataResult& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;}
91 inline GetEventPredictionMetadataResult& WithEntityType(const char* value) { SetEntityType(value); return *this;}
93
95
99 inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; }
100 inline void SetEventTimestamp(const Aws::String& value) { m_eventTimestamp = value; }
101 inline void SetEventTimestamp(Aws::String&& value) { m_eventTimestamp = std::move(value); }
102 inline void SetEventTimestamp(const char* value) { m_eventTimestamp.assign(value); }
104 inline GetEventPredictionMetadataResult& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;}
105 inline GetEventPredictionMetadataResult& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;}
107
109
112 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
113 inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
114 inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
115 inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
116 inline GetEventPredictionMetadataResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
117 inline GetEventPredictionMetadataResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
118 inline GetEventPredictionMetadataResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
120
122
125 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
126 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionId = value; }
127 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionId = std::move(value); }
128 inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); }
131 inline GetEventPredictionMetadataResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
133
135
138 inline const Aws::String& GetDetectorVersionStatus() const{ return m_detectorVersionStatus; }
139 inline void SetDetectorVersionStatus(const Aws::String& value) { m_detectorVersionStatus = value; }
140 inline void SetDetectorVersionStatus(Aws::String&& value) { m_detectorVersionStatus = std::move(value); }
141 inline void SetDetectorVersionStatus(const char* value) { m_detectorVersionStatus.assign(value); }
146
148
151 inline const Aws::Vector<EventVariableSummary>& GetEventVariables() const{ return m_eventVariables; }
152 inline void SetEventVariables(const Aws::Vector<EventVariableSummary>& value) { m_eventVariables = value; }
153 inline void SetEventVariables(Aws::Vector<EventVariableSummary>&& value) { m_eventVariables = std::move(value); }
156 inline GetEventPredictionMetadataResult& AddEventVariables(const EventVariableSummary& value) { m_eventVariables.push_back(value); return *this; }
157 inline GetEventPredictionMetadataResult& AddEventVariables(EventVariableSummary&& value) { m_eventVariables.push_back(std::move(value)); return *this; }
159
161
165 inline const Aws::Vector<EvaluatedRule>& GetRules() const{ return m_rules; }
166 inline void SetRules(const Aws::Vector<EvaluatedRule>& value) { m_rules = value; }
167 inline void SetRules(Aws::Vector<EvaluatedRule>&& value) { m_rules = std::move(value); }
169 inline GetEventPredictionMetadataResult& WithRules(Aws::Vector<EvaluatedRule>&& value) { SetRules(std::move(value)); return *this;}
170 inline GetEventPredictionMetadataResult& AddRules(const EvaluatedRule& value) { m_rules.push_back(value); return *this; }
171 inline GetEventPredictionMetadataResult& AddRules(EvaluatedRule&& value) { m_rules.push_back(std::move(value)); return *this; }
173
175
178 inline const RuleExecutionMode& GetRuleExecutionMode() const{ return m_ruleExecutionMode; }
179 inline void SetRuleExecutionMode(const RuleExecutionMode& value) { m_ruleExecutionMode = value; }
180 inline void SetRuleExecutionMode(RuleExecutionMode&& value) { m_ruleExecutionMode = std::move(value); }
184
186
189 inline const Aws::Vector<Aws::String>& GetOutcomes() const{ return m_outcomes; }
190 inline void SetOutcomes(const Aws::Vector<Aws::String>& value) { m_outcomes = value; }
191 inline void SetOutcomes(Aws::Vector<Aws::String>&& value) { m_outcomes = std::move(value); }
193 inline GetEventPredictionMetadataResult& WithOutcomes(Aws::Vector<Aws::String>&& value) { SetOutcomes(std::move(value)); return *this;}
194 inline GetEventPredictionMetadataResult& AddOutcomes(const Aws::String& value) { m_outcomes.push_back(value); return *this; }
195 inline GetEventPredictionMetadataResult& AddOutcomes(Aws::String&& value) { m_outcomes.push_back(std::move(value)); return *this; }
196 inline GetEventPredictionMetadataResult& AddOutcomes(const char* value) { m_outcomes.push_back(value); return *this; }
198
200
203 inline const Aws::Vector<EvaluatedModelVersion>& GetEvaluatedModelVersions() const{ return m_evaluatedModelVersions; }
204 inline void SetEvaluatedModelVersions(const Aws::Vector<EvaluatedModelVersion>& value) { m_evaluatedModelVersions = value; }
205 inline void SetEvaluatedModelVersions(Aws::Vector<EvaluatedModelVersion>&& value) { m_evaluatedModelVersions = std::move(value); }
208 inline GetEventPredictionMetadataResult& AddEvaluatedModelVersions(const EvaluatedModelVersion& value) { m_evaluatedModelVersions.push_back(value); return *this; }
209 inline GetEventPredictionMetadataResult& AddEvaluatedModelVersions(EvaluatedModelVersion&& value) { m_evaluatedModelVersions.push_back(std::move(value)); return *this; }
211
213
217 inline const Aws::Vector<EvaluatedExternalModel>& GetEvaluatedExternalModels() const{ return m_evaluatedExternalModels; }
218 inline void SetEvaluatedExternalModels(const Aws::Vector<EvaluatedExternalModel>& value) { m_evaluatedExternalModels = value; }
219 inline void SetEvaluatedExternalModels(Aws::Vector<EvaluatedExternalModel>&& value) { m_evaluatedExternalModels = std::move(value); }
222 inline GetEventPredictionMetadataResult& AddEvaluatedExternalModels(const EvaluatedExternalModel& value) { m_evaluatedExternalModels.push_back(value); return *this; }
223 inline GetEventPredictionMetadataResult& AddEvaluatedExternalModels(EvaluatedExternalModel&& value) { m_evaluatedExternalModels.push_back(std::move(value)); return *this; }
225
227
230 inline const Aws::String& GetPredictionTimestamp() const{ return m_predictionTimestamp; }
231 inline void SetPredictionTimestamp(const Aws::String& value) { m_predictionTimestamp = value; }
232 inline void SetPredictionTimestamp(Aws::String&& value) { m_predictionTimestamp = std::move(value); }
233 inline void SetPredictionTimestamp(const char* value) { m_predictionTimestamp.assign(value); }
236 inline GetEventPredictionMetadataResult& WithPredictionTimestamp(const char* value) { SetPredictionTimestamp(value); return *this;}
238
240
241 inline const Aws::String& GetRequestId() const{ return m_requestId; }
242 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
243 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
244 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
245 inline GetEventPredictionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
246 inline GetEventPredictionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
247 inline GetEventPredictionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
249 private:
250
251 Aws::String m_eventId;
252
253 Aws::String m_eventTypeName;
254
255 Aws::String m_entityId;
256
257 Aws::String m_entityType;
258
259 Aws::String m_eventTimestamp;
260
261 Aws::String m_detectorId;
262
263 Aws::String m_detectorVersionId;
264
265 Aws::String m_detectorVersionStatus;
266
267 Aws::Vector<EventVariableSummary> m_eventVariables;
268
270
271 RuleExecutionMode m_ruleExecutionMode;
272
273 Aws::Vector<Aws::String> m_outcomes;
274
275 Aws::Vector<EvaluatedModelVersion> m_evaluatedModelVersions;
276
277 Aws::Vector<EvaluatedExternalModel> m_evaluatedExternalModels;
278
279 Aws::String m_predictionTimestamp;
280
281 Aws::String m_requestId;
282 };
283
284} // namespace Model
285} // namespace FraudDetector
286} // namespace Aws
void SetEventVariables(Aws::Vector< EventVariableSummary > &&value)
void SetEvaluatedExternalModels(const Aws::Vector< EvaluatedExternalModel > &value)
GetEventPredictionMetadataResult & WithEventTimestamp(const Aws::String &value)
GetEventPredictionMetadataResult & WithDetectorVersionStatus(Aws::String &&value)
GetEventPredictionMetadataResult & WithRequestId(Aws::String &&value)
GetEventPredictionMetadataResult & WithRuleExecutionMode(RuleExecutionMode &&value)
const Aws::Vector< EvaluatedExternalModel > & GetEvaluatedExternalModels() const
GetEventPredictionMetadataResult & AddEventVariables(const EventVariableSummary &value)
GetEventPredictionMetadataResult & WithEventId(const char *value)
GetEventPredictionMetadataResult & AddEventVariables(EventVariableSummary &&value)
AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetEventVariables(const Aws::Vector< EventVariableSummary > &value)
GetEventPredictionMetadataResult & WithDetectorVersionId(const char *value)
GetEventPredictionMetadataResult & WithEntityId(const Aws::String &value)
void SetEvaluatedModelVersions(Aws::Vector< EvaluatedModelVersion > &&value)
GetEventPredictionMetadataResult & AddOutcomes(const Aws::String &value)
GetEventPredictionMetadataResult & WithEventTypeName(const Aws::String &value)
GetEventPredictionMetadataResult & WithEventVariables(const Aws::Vector< EventVariableSummary > &value)
GetEventPredictionMetadataResult & WithOutcomes(Aws::Vector< Aws::String > &&value)
GetEventPredictionMetadataResult & WithDetectorId(const Aws::String &value)
const Aws::Vector< EvaluatedModelVersion > & GetEvaluatedModelVersions() const
GetEventPredictionMetadataResult & WithEventId(const Aws::String &value)
GetEventPredictionMetadataResult & WithEvaluatedModelVersions(Aws::Vector< EvaluatedModelVersion > &&value)
GetEventPredictionMetadataResult & AddEvaluatedModelVersions(EvaluatedModelVersion &&value)
GetEventPredictionMetadataResult & AddEvaluatedExternalModels(const EvaluatedExternalModel &value)
GetEventPredictionMetadataResult & AddOutcomes(const char *value)
GetEventPredictionMetadataResult & WithEvaluatedModelVersions(const Aws::Vector< EvaluatedModelVersion > &value)
GetEventPredictionMetadataResult & WithPredictionTimestamp(const Aws::String &value)
GetEventPredictionMetadataResult & AddEvaluatedExternalModels(EvaluatedExternalModel &&value)
GetEventPredictionMetadataResult & AddOutcomes(Aws::String &&value)
GetEventPredictionMetadataResult & WithEventId(Aws::String &&value)
GetEventPredictionMetadataResult & WithOutcomes(const Aws::Vector< Aws::String > &value)
GetEventPredictionMetadataResult & WithEntityType(const Aws::String &value)
GetEventPredictionMetadataResult & WithEvaluatedExternalModels(const Aws::Vector< EvaluatedExternalModel > &value)
GetEventPredictionMetadataResult & AddEvaluatedModelVersions(const EvaluatedModelVersion &value)
GetEventPredictionMetadataResult & WithEntityType(Aws::String &&value)
GetEventPredictionMetadataResult & WithRuleExecutionMode(const RuleExecutionMode &value)
GetEventPredictionMetadataResult & WithDetectorId(Aws::String &&value)
GetEventPredictionMetadataResult & WithEventTimestamp(const char *value)
GetEventPredictionMetadataResult & WithDetectorVersionStatus(const Aws::String &value)
GetEventPredictionMetadataResult & WithDetectorVersionId(Aws::String &&value)
GetEventPredictionMetadataResult & WithRules(Aws::Vector< EvaluatedRule > &&value)
GetEventPredictionMetadataResult & WithDetectorVersionId(const Aws::String &value)
GetEventPredictionMetadataResult & WithRequestId(const Aws::String &value)
GetEventPredictionMetadataResult & WithRules(const Aws::Vector< EvaluatedRule > &value)
GetEventPredictionMetadataResult & WithDetectorId(const char *value)
GetEventPredictionMetadataResult & WithPredictionTimestamp(const char *value)
void SetEvaluatedModelVersions(const Aws::Vector< EvaluatedModelVersion > &value)
GetEventPredictionMetadataResult & WithEventTypeName(Aws::String &&value)
GetEventPredictionMetadataResult & WithEntityId(Aws::String &&value)
GetEventPredictionMetadataResult & WithEventTimestamp(Aws::String &&value)
GetEventPredictionMetadataResult & AddRules(const EvaluatedRule &value)
GetEventPredictionMetadataResult & WithEntityType(const char *value)
GetEventPredictionMetadataResult & WithEvaluatedExternalModels(Aws::Vector< EvaluatedExternalModel > &&value)
const Aws::Vector< EventVariableSummary > & GetEventVariables() const
GetEventPredictionMetadataResult & WithRequestId(const char *value)
GetEventPredictionMetadataResult & WithEntityId(const char *value)
GetEventPredictionMetadataResult & WithEventVariables(Aws::Vector< EventVariableSummary > &&value)
GetEventPredictionMetadataResult & AddRules(EvaluatedRule &&value)
GetEventPredictionMetadataResult & WithDetectorVersionStatus(const char *value)
void SetEvaluatedExternalModels(Aws::Vector< EvaluatedExternalModel > &&value)
AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventPredictionMetadataResult & WithPredictionTimestamp(Aws::String &&value)
GetEventPredictionMetadataResult & WithEventTypeName(const char *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