AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetEventPredictionRequest.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/frauddetector/FraudDetectorRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/core/utils/memory/stl/AWSMap.h>
12#include <aws/frauddetector/model/Entity.h>
13#include <aws/frauddetector/model/ModelEndpointDataBlob.h>
14#include <utility>
15
16namespace Aws
17{
18namespace FraudDetector
19{
20namespace Model
21{
22
26 {
27 public:
28 AWS_FRAUDDETECTOR_API GetEventPredictionRequest();
29
30 // Service request name is the Operation name which will send this request out,
31 // each operation should has unique request name, so that we can get operation's name from this request.
32 // Note: this is not true for response, multiple operations may have the same response name,
33 // so we can not get operation's name from response.
34 inline virtual const char* GetServiceRequestName() const override { return "GetEventPrediction"; }
35
36 AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override;
37
38 AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override;
39
40
42
45 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
46 inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
47 inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
48 inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
49 inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
50 inline GetEventPredictionRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
51 inline GetEventPredictionRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
52 inline GetEventPredictionRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
54
56
59 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
60 inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
61 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
62 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
63 inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
65 inline GetEventPredictionRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
66 inline GetEventPredictionRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
68
70
73 inline const Aws::String& GetEventId() const{ return m_eventId; }
74 inline bool EventIdHasBeenSet() const { return m_eventIdHasBeenSet; }
75 inline void SetEventId(const Aws::String& value) { m_eventIdHasBeenSet = true; m_eventId = value; }
76 inline void SetEventId(Aws::String&& value) { m_eventIdHasBeenSet = true; m_eventId = std::move(value); }
77 inline void SetEventId(const char* value) { m_eventIdHasBeenSet = true; m_eventId.assign(value); }
78 inline GetEventPredictionRequest& WithEventId(const Aws::String& value) { SetEventId(value); return *this;}
79 inline GetEventPredictionRequest& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;}
80 inline GetEventPredictionRequest& WithEventId(const char* value) { SetEventId(value); return *this;}
82
84
87 inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; }
88 inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; }
89 inline void SetEventTypeName(const Aws::String& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = value; }
90 inline void SetEventTypeName(Aws::String&& value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName = std::move(value); }
91 inline void SetEventTypeName(const char* value) { m_eventTypeNameHasBeenSet = true; m_eventTypeName.assign(value); }
92 inline GetEventPredictionRequest& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;}
93 inline GetEventPredictionRequest& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;}
94 inline GetEventPredictionRequest& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;}
96
98
103 inline const Aws::Vector<Entity>& GetEntities() const{ return m_entities; }
104 inline bool EntitiesHasBeenSet() const { return m_entitiesHasBeenSet; }
105 inline void SetEntities(const Aws::Vector<Entity>& value) { m_entitiesHasBeenSet = true; m_entities = value; }
106 inline void SetEntities(Aws::Vector<Entity>&& value) { m_entitiesHasBeenSet = true; m_entities = std::move(value); }
107 inline GetEventPredictionRequest& WithEntities(const Aws::Vector<Entity>& value) { SetEntities(value); return *this;}
108 inline GetEventPredictionRequest& WithEntities(Aws::Vector<Entity>&& value) { SetEntities(std::move(value)); return *this;}
109 inline GetEventPredictionRequest& AddEntities(const Entity& value) { m_entitiesHasBeenSet = true; m_entities.push_back(value); return *this; }
110 inline GetEventPredictionRequest& AddEntities(Entity&& value) { m_entitiesHasBeenSet = true; m_entities.push_back(std::move(value)); return *this; }
112
114
118 inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; }
119 inline bool EventTimestampHasBeenSet() const { return m_eventTimestampHasBeenSet; }
120 inline void SetEventTimestamp(const Aws::String& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = value; }
121 inline void SetEventTimestamp(Aws::String&& value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp = std::move(value); }
122 inline void SetEventTimestamp(const char* value) { m_eventTimestampHasBeenSet = true; m_eventTimestamp.assign(value); }
123 inline GetEventPredictionRequest& WithEventTimestamp(const Aws::String& value) { SetEventTimestamp(value); return *this;}
124 inline GetEventPredictionRequest& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;}
125 inline GetEventPredictionRequest& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;}
127
129
146 inline const Aws::Map<Aws::String, Aws::String>& GetEventVariables() const{ return m_eventVariables; }
147 inline bool EventVariablesHasBeenSet() const { return m_eventVariablesHasBeenSet; }
148 inline void SetEventVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = value; }
149 inline void SetEventVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables = std::move(value); }
152 inline GetEventPredictionRequest& AddEventVariables(const Aws::String& key, const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, value); return *this; }
153 inline GetEventPredictionRequest& AddEventVariables(Aws::String&& key, const Aws::String& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), value); return *this; }
154 inline GetEventPredictionRequest& AddEventVariables(const Aws::String& key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, std::move(value)); return *this; }
155 inline GetEventPredictionRequest& AddEventVariables(Aws::String&& key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), std::move(value)); return *this; }
156 inline GetEventPredictionRequest& AddEventVariables(const char* key, Aws::String&& value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, std::move(value)); return *this; }
157 inline GetEventPredictionRequest& AddEventVariables(Aws::String&& key, const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(std::move(key), value); return *this; }
158 inline GetEventPredictionRequest& AddEventVariables(const char* key, const char* value) { m_eventVariablesHasBeenSet = true; m_eventVariables.emplace(key, value); return *this; }
160
162
165 inline const Aws::Map<Aws::String, ModelEndpointDataBlob>& GetExternalModelEndpointDataBlobs() const{ return m_externalModelEndpointDataBlobs; }
166 inline bool ExternalModelEndpointDataBlobsHasBeenSet() const { return m_externalModelEndpointDataBlobsHasBeenSet; }
167 inline void SetExternalModelEndpointDataBlobs(const Aws::Map<Aws::String, ModelEndpointDataBlob>& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs = value; }
168 inline void SetExternalModelEndpointDataBlobs(Aws::Map<Aws::String, ModelEndpointDataBlob>&& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs = std::move(value); }
171 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(const Aws::String& key, const ModelEndpointDataBlob& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(key, value); return *this; }
172 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(Aws::String&& key, const ModelEndpointDataBlob& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(std::move(key), value); return *this; }
173 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(const Aws::String& key, ModelEndpointDataBlob&& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(key, std::move(value)); return *this; }
174 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(Aws::String&& key, ModelEndpointDataBlob&& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(std::move(key), std::move(value)); return *this; }
175 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(const char* key, ModelEndpointDataBlob&& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(key, std::move(value)); return *this; }
176 inline GetEventPredictionRequest& AddExternalModelEndpointDataBlobs(const char* key, const ModelEndpointDataBlob& value) { m_externalModelEndpointDataBlobsHasBeenSet = true; m_externalModelEndpointDataBlobs.emplace(key, value); return *this; }
178 private:
179
180 Aws::String m_detectorId;
181 bool m_detectorIdHasBeenSet = false;
182
183 Aws::String m_detectorVersionId;
184 bool m_detectorVersionIdHasBeenSet = false;
185
186 Aws::String m_eventId;
187 bool m_eventIdHasBeenSet = false;
188
189 Aws::String m_eventTypeName;
190 bool m_eventTypeNameHasBeenSet = false;
191
192 Aws::Vector<Entity> m_entities;
193 bool m_entitiesHasBeenSet = false;
194
195 Aws::String m_eventTimestamp;
196 bool m_eventTimestampHasBeenSet = false;
197
198 Aws::Map<Aws::String, Aws::String> m_eventVariables;
199 bool m_eventVariablesHasBeenSet = false;
200
201 Aws::Map<Aws::String, ModelEndpointDataBlob> m_externalModelEndpointDataBlobs;
202 bool m_externalModelEndpointDataBlobsHasBeenSet = false;
203 };
204
205} // namespace Model
206} // namespace FraudDetector
207} // namespace Aws
GetEventPredictionRequest & WithEntities(const Aws::Vector< Entity > &value)
AWS_FRAUDDETECTOR_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
GetEventPredictionRequest & WithDetectorVersionId(const char *value)
GetEventPredictionRequest & AddEventVariables(Aws::String &&key, const char *value)
GetEventPredictionRequest & WithEventVariables(const Aws::Map< Aws::String, Aws::String > &value)
GetEventPredictionRequest & WithDetectorId(const Aws::String &value)
GetEventPredictionRequest & WithDetectorId(Aws::String &&value)
GetEventPredictionRequest & WithEntities(Aws::Vector< Entity > &&value)
GetEventPredictionRequest & AddEventVariables(const Aws::String &key, Aws::String &&value)
GetEventPredictionRequest & AddEventVariables(const char *key, const char *value)
const Aws::Map< Aws::String, ModelEndpointDataBlob > & GetExternalModelEndpointDataBlobs() const
void SetExternalModelEndpointDataBlobs(const Aws::Map< Aws::String, ModelEndpointDataBlob > &value)
GetEventPredictionRequest & WithEventTimestamp(const char *value)
GetEventPredictionRequest & WithEventTypeName(Aws::String &&value)
GetEventPredictionRequest & WithEventId(const Aws::String &value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(const Aws::String &key, const ModelEndpointDataBlob &value)
GetEventPredictionRequest & WithEventTypeName(const Aws::String &value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(Aws::String &&key, const ModelEndpointDataBlob &value)
GetEventPredictionRequest & WithEventTypeName(const char *value)
GetEventPredictionRequest & WithEventTimestamp(Aws::String &&value)
GetEventPredictionRequest & AddEventVariables(const Aws::String &key, const Aws::String &value)
void SetEventVariables(const Aws::Map< Aws::String, Aws::String > &value)
GetEventPredictionRequest & AddEventVariables(Aws::String &&key, const Aws::String &value)
GetEventPredictionRequest & WithEventVariables(Aws::Map< Aws::String, Aws::String > &&value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(const char *key, ModelEndpointDataBlob &&value)
GetEventPredictionRequest & AddEntities(const Entity &value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(const Aws::String &key, ModelEndpointDataBlob &&value)
GetEventPredictionRequest & WithEventTimestamp(const Aws::String &value)
GetEventPredictionRequest & AddEntities(Entity &&value)
GetEventPredictionRequest & WithDetectorId(const char *value)
GetEventPredictionRequest & WithExternalModelEndpointDataBlobs(Aws::Map< Aws::String, ModelEndpointDataBlob > &&value)
AWS_FRAUDDETECTOR_API Aws::String SerializePayload() const override
void SetEventVariables(Aws::Map< Aws::String, Aws::String > &&value)
GetEventPredictionRequest & AddEventVariables(const char *key, Aws::String &&value)
const Aws::Map< Aws::String, Aws::String > & GetEventVariables() const
GetEventPredictionRequest & WithDetectorVersionId(const Aws::String &value)
virtual const char * GetServiceRequestName() const override
GetEventPredictionRequest & WithEventId(const char *value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(const char *key, const ModelEndpointDataBlob &value)
GetEventPredictionRequest & WithExternalModelEndpointDataBlobs(const Aws::Map< Aws::String, ModelEndpointDataBlob > &value)
GetEventPredictionRequest & AddExternalModelEndpointDataBlobs(Aws::String &&key, ModelEndpointDataBlob &&value)
void SetExternalModelEndpointDataBlobs(Aws::Map< Aws::String, ModelEndpointDataBlob > &&value)
GetEventPredictionRequest & AddEventVariables(Aws::String &&key, Aws::String &&value)
GetEventPredictionRequest & WithEventId(Aws::String &&value)
GetEventPredictionRequest & WithDetectorVersionId(Aws::String &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector