AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
39
40
42
45 inline const Aws::String& GetEventId() const { return m_eventId; }
46 template<typename EventIdT = Aws::String>
47 void SetEventId(EventIdT&& value) { m_eventIdHasBeenSet = true; m_eventId = std::forward<EventIdT>(value); }
48 template<typename EventIdT = Aws::String>
49 GetEventPredictionMetadataResult& WithEventId(EventIdT&& value) { SetEventId(std::forward<EventIdT>(value)); return *this;}
51
53
57 inline const Aws::String& GetEventTypeName() const { return m_eventTypeName; }
58 template<typename EventTypeNameT = Aws::String>
59 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
60 template<typename EventTypeNameT = Aws::String>
61 GetEventPredictionMetadataResult& WithEventTypeName(EventTypeNameT&& value) { SetEventTypeName(std::forward<EventTypeNameT>(value)); return *this;}
63
65
68 inline const Aws::String& GetEntityId() const { return m_entityId; }
69 template<typename EntityIdT = Aws::String>
70 void SetEntityId(EntityIdT&& value) { m_entityIdHasBeenSet = true; m_entityId = std::forward<EntityIdT>(value); }
71 template<typename EntityIdT = Aws::String>
72 GetEventPredictionMetadataResult& WithEntityId(EntityIdT&& value) { SetEntityId(std::forward<EntityIdT>(value)); return *this;}
74
76
79 inline const Aws::String& GetEntityType() const { return m_entityType; }
80 template<typename EntityTypeT = Aws::String>
81 void SetEntityType(EntityTypeT&& value) { m_entityTypeHasBeenSet = true; m_entityType = std::forward<EntityTypeT>(value); }
82 template<typename EntityTypeT = Aws::String>
83 GetEventPredictionMetadataResult& WithEntityType(EntityTypeT&& value) { SetEntityType(std::forward<EntityTypeT>(value)); return *this;}
85
87
91 inline const Aws::String& GetEventTimestamp() const { return m_eventTimestamp; }
92 template<typename EventTimestampT = Aws::String>
93 void SetEventTimestamp(EventTimestampT&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::forward<EventTimestampT>(value); }
94 template<typename EventTimestampT = Aws::String>
95 GetEventPredictionMetadataResult& WithEventTimestamp(EventTimestampT&& value) { SetEventTimestamp(std::forward<EventTimestampT>(value)); return *this;}
97
99
102 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
103 template<typename DetectorIdT = Aws::String>
104 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
105 template<typename DetectorIdT = Aws::String>
106 GetEventPredictionMetadataResult& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
108
110
113 inline const Aws::String& GetDetectorVersionId() const { return m_detectorVersionId; }
114 template<typename DetectorVersionIdT = Aws::String>
115 void SetDetectorVersionId(DetectorVersionIdT&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::forward<DetectorVersionIdT>(value); }
116 template<typename DetectorVersionIdT = Aws::String>
117 GetEventPredictionMetadataResult& WithDetectorVersionId(DetectorVersionIdT&& value) { SetDetectorVersionId(std::forward<DetectorVersionIdT>(value)); return *this;}
119
121
124 inline const Aws::String& GetDetectorVersionStatus() const { return m_detectorVersionStatus; }
125 template<typename DetectorVersionStatusT = Aws::String>
126 void SetDetectorVersionStatus(DetectorVersionStatusT&& value) { m_detectorVersionStatusHasBeenSet = true; m_detectorVersionStatus = std::forward<DetectorVersionStatusT>(value); }
127 template<typename DetectorVersionStatusT = Aws::String>
128 GetEventPredictionMetadataResult& WithDetectorVersionStatus(DetectorVersionStatusT&& value) { SetDetectorVersionStatus(std::forward<DetectorVersionStatusT>(value)); return *this;}
130
132
135 inline const Aws::Vector<EventVariableSummary>& GetEventVariables() const { return m_eventVariables; }
136 template<typename EventVariablesT = Aws::Vector<EventVariableSummary>>
137 void SetEventVariables(EventVariablesT&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = std::forward<EventVariablesT>(value); }
138 template<typename EventVariablesT = Aws::Vector<EventVariableSummary>>
139 GetEventPredictionMetadataResult& WithEventVariables(EventVariablesT&& value) { SetEventVariables(std::forward<EventVariablesT>(value)); return *this;}
140 template<typename EventVariablesT = EventVariableSummary>
141 GetEventPredictionMetadataResult& AddEventVariables(EventVariablesT&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace_back(std::forward<EventVariablesT>(value)); return *this; }
143
145
149 inline const Aws::Vector<EvaluatedRule>& GetRules() const { return m_rules; }
150 template<typename RulesT = Aws::Vector<EvaluatedRule>>
151 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
152 template<typename RulesT = Aws::Vector<EvaluatedRule>>
153 GetEventPredictionMetadataResult& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
154 template<typename RulesT = EvaluatedRule>
155 GetEventPredictionMetadataResult& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
157
159
162 inline RuleExecutionMode GetRuleExecutionMode() const { return m_ruleExecutionMode; }
163 inline void SetRuleExecutionMode(RuleExecutionMode value) { m_ruleExecutionModeHasBeenSet = true; m_ruleExecutionMode = value; }
166
168
171 inline const Aws::Vector<Aws::String>& GetOutcomes() const { return m_outcomes; }
172 template<typename OutcomesT = Aws::Vector<Aws::String>>
173 void SetOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet = true; m_outcomes = std::forward<OutcomesT>(value); }
174 template<typename OutcomesT = Aws::Vector<Aws::String>>
175 GetEventPredictionMetadataResult& WithOutcomes(OutcomesT&& value) { SetOutcomes(std::forward<OutcomesT>(value)); return *this;}
176 template<typename OutcomesT = Aws::String>
177 GetEventPredictionMetadataResult& AddOutcomes(OutcomesT&& value) { m_outcomesHasBeenSet = true; m_outcomes.emplace_back(std::forward<OutcomesT>(value)); return *this; }
179
181
184 inline const Aws::Vector<EvaluatedModelVersion>& GetEvaluatedModelVersions() const { return m_evaluatedModelVersions; }
185 template<typename EvaluatedModelVersionsT = Aws::Vector<EvaluatedModelVersion>>
186 void SetEvaluatedModelVersions(EvaluatedModelVersionsT&& value) { m_evaluatedModelVersionsHasBeenSet = true; m_evaluatedModelVersions = std::forward<EvaluatedModelVersionsT>(value); }
187 template<typename EvaluatedModelVersionsT = Aws::Vector<EvaluatedModelVersion>>
188 GetEventPredictionMetadataResult& WithEvaluatedModelVersions(EvaluatedModelVersionsT&& value) { SetEvaluatedModelVersions(std::forward<EvaluatedModelVersionsT>(value)); return *this;}
189 template<typename EvaluatedModelVersionsT = EvaluatedModelVersion>
190 GetEventPredictionMetadataResult& AddEvaluatedModelVersions(EvaluatedModelVersionsT&& value) { m_evaluatedModelVersionsHasBeenSet = true; m_evaluatedModelVersions.emplace_back(std::forward<EvaluatedModelVersionsT>(value)); return *this; }
192
194
198 inline const Aws::Vector<EvaluatedExternalModel>& GetEvaluatedExternalModels() const { return m_evaluatedExternalModels; }
199 template<typename EvaluatedExternalModelsT = Aws::Vector<EvaluatedExternalModel>>
200 void SetEvaluatedExternalModels(EvaluatedExternalModelsT&& value) { m_evaluatedExternalModelsHasBeenSet = true; m_evaluatedExternalModels = std::forward<EvaluatedExternalModelsT>(value); }
201 template<typename EvaluatedExternalModelsT = Aws::Vector<EvaluatedExternalModel>>
202 GetEventPredictionMetadataResult& WithEvaluatedExternalModels(EvaluatedExternalModelsT&& value) { SetEvaluatedExternalModels(std::forward<EvaluatedExternalModelsT>(value)); return *this;}
203 template<typename EvaluatedExternalModelsT = EvaluatedExternalModel>
204 GetEventPredictionMetadataResult& AddEvaluatedExternalModels(EvaluatedExternalModelsT&& value) { m_evaluatedExternalModelsHasBeenSet = true; m_evaluatedExternalModels.emplace_back(std::forward<EvaluatedExternalModelsT>(value)); return *this; }
206
208
211 inline const Aws::String& GetPredictionTimestamp() const { return m_predictionTimestamp; }
212 template<typename PredictionTimestampT = Aws::String>
213 void SetPredictionTimestamp(PredictionTimestampT&& value) { m_predictionTimestampHasBeenSet = true; m_predictionTimestamp = std::forward<PredictionTimestampT>(value); }
214 template<typename PredictionTimestampT = Aws::String>
215 GetEventPredictionMetadataResult& WithPredictionTimestamp(PredictionTimestampT&& value) { SetPredictionTimestamp(std::forward<PredictionTimestampT>(value)); return *this;}
217
219
220 inline const Aws::String& GetRequestId() const { return m_requestId; }
221 template<typename RequestIdT = Aws::String>
222 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
223 template<typename RequestIdT = Aws::String>
224 GetEventPredictionMetadataResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
226 private:
227
228 Aws::String m_eventId;
229 bool m_eventIdHasBeenSet = false;
230
231 Aws::String m_eventTypeName;
232 bool m_eventTypeNameHasBeenSet = false;
233
234 Aws::String m_entityId;
235 bool m_entityIdHasBeenSet = false;
236
237 Aws::String m_entityType;
238 bool m_entityTypeHasBeenSet = false;
239
240 Aws::String m_eventTimestamp;
241 bool m_eventTimestampHasBeenSet = false;
242
243 Aws::String m_detectorId;
244 bool m_detectorIdHasBeenSet = false;
245
246 Aws::String m_detectorVersionId;
247 bool m_detectorVersionIdHasBeenSet = false;
248
249 Aws::String m_detectorVersionStatus;
250 bool m_detectorVersionStatusHasBeenSet = false;
251
252 Aws::Vector<EventVariableSummary> m_eventVariables;
253 bool m_eventVariablesHasBeenSet = false;
254
256 bool m_rulesHasBeenSet = false;
257
259 bool m_ruleExecutionModeHasBeenSet = false;
260
261 Aws::Vector<Aws::String> m_outcomes;
262 bool m_outcomesHasBeenSet = false;
263
264 Aws::Vector<EvaluatedModelVersion> m_evaluatedModelVersions;
265 bool m_evaluatedModelVersionsHasBeenSet = false;
266
267 Aws::Vector<EvaluatedExternalModel> m_evaluatedExternalModels;
268 bool m_evaluatedExternalModelsHasBeenSet = false;
269
270 Aws::String m_predictionTimestamp;
271 bool m_predictionTimestampHasBeenSet = false;
272
273 Aws::String m_requestId;
274 bool m_requestIdHasBeenSet = false;
275 };
276
277} // namespace Model
278} // namespace FraudDetector
279} // namespace Aws
GetEventPredictionMetadataResult & WithOutcomes(OutcomesT &&value)
const Aws::Vector< EvaluatedExternalModel > & GetEvaluatedExternalModels() const
GetEventPredictionMetadataResult & WithEntityId(EntityIdT &&value)
GetEventPredictionMetadataResult & WithRequestId(RequestIdT &&value)
AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventPredictionMetadataResult & WithEventTypeName(EventTypeNameT &&value)
const Aws::Vector< EvaluatedModelVersion > & GetEvaluatedModelVersions() const
GetEventPredictionMetadataResult & WithEvaluatedModelVersions(EvaluatedModelVersionsT &&value)
GetEventPredictionMetadataResult & WithEvaluatedExternalModels(EvaluatedExternalModelsT &&value)
GetEventPredictionMetadataResult & WithEventId(EventIdT &&value)
GetEventPredictionMetadataResult & WithEventTimestamp(EventTimestampT &&value)
GetEventPredictionMetadataResult & AddEventVariables(EventVariablesT &&value)
GetEventPredictionMetadataResult & AddOutcomes(OutcomesT &&value)
GetEventPredictionMetadataResult & AddEvaluatedExternalModels(EvaluatedExternalModelsT &&value)
GetEventPredictionMetadataResult & WithEntityType(EntityTypeT &&value)
GetEventPredictionMetadataResult & AddEvaluatedModelVersions(EvaluatedModelVersionsT &&value)
GetEventPredictionMetadataResult & WithDetectorVersionId(DetectorVersionIdT &&value)
GetEventPredictionMetadataResult & WithEventVariables(EventVariablesT &&value)
AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult()=default
const Aws::Vector< EventVariableSummary > & GetEventVariables() const
GetEventPredictionMetadataResult & WithDetectorVersionStatus(DetectorVersionStatusT &&value)
GetEventPredictionMetadataResult & WithDetectorId(DetectorIdT &&value)
GetEventPredictionMetadataResult & WithPredictionTimestamp(PredictionTimestampT &&value)
AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetEventPredictionMetadataResult & WithRuleExecutionMode(RuleExecutionMode 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