AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelVersionDetail.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/ModelTypeEnum.h>
10#include <aws/frauddetector/model/TrainingDataSourceEnum.h>
11#include <aws/frauddetector/model/TrainingDataSchema.h>
12#include <aws/frauddetector/model/ExternalEventsDetail.h>
13#include <aws/frauddetector/model/IngestedEventsDetail.h>
14#include <aws/frauddetector/model/TrainingResult.h>
15#include <aws/frauddetector/model/TrainingResultV2.h>
16#include <utility>
17
18namespace Aws
19{
20namespace Utils
21{
22namespace Json
23{
24 class JsonValue;
25 class JsonView;
26} // namespace Json
27} // namespace Utils
28namespace FraudDetector
29{
30namespace Model
31{
32
39 {
40 public:
41 AWS_FRAUDDETECTOR_API ModelVersionDetail();
42 AWS_FRAUDDETECTOR_API ModelVersionDetail(Aws::Utils::Json::JsonView jsonValue);
43 AWS_FRAUDDETECTOR_API ModelVersionDetail& operator=(Aws::Utils::Json::JsonView jsonValue);
44 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
45
46
48
51 inline const Aws::String& GetModelId() const{ return m_modelId; }
52 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
53 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
54 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
55 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
56 inline ModelVersionDetail& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
57 inline ModelVersionDetail& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
58 inline ModelVersionDetail& WithModelId(const char* value) { SetModelId(value); return *this;}
60
62
65 inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
66 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
67 inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
68 inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
69 inline ModelVersionDetail& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
70 inline ModelVersionDetail& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
72
74
77 inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
78 inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
79 inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; }
80 inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); }
81 inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); }
82 inline ModelVersionDetail& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
83 inline ModelVersionDetail& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
84 inline ModelVersionDetail& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
86
88
91 inline const Aws::String& GetStatus() const{ return m_status; }
92 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
93 inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; }
94 inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
95 inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); }
96 inline ModelVersionDetail& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
97 inline ModelVersionDetail& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
98 inline ModelVersionDetail& WithStatus(const char* value) { SetStatus(value); return *this;}
100
102
105 inline const TrainingDataSourceEnum& GetTrainingDataSource() const{ return m_trainingDataSource; }
106 inline bool TrainingDataSourceHasBeenSet() const { return m_trainingDataSourceHasBeenSet; }
107 inline void SetTrainingDataSource(const TrainingDataSourceEnum& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = value; }
108 inline void SetTrainingDataSource(TrainingDataSourceEnum&& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = std::move(value); }
112
114
117 inline const TrainingDataSchema& GetTrainingDataSchema() const{ return m_trainingDataSchema; }
118 inline bool TrainingDataSchemaHasBeenSet() const { return m_trainingDataSchemaHasBeenSet; }
119 inline void SetTrainingDataSchema(const TrainingDataSchema& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = value; }
120 inline void SetTrainingDataSchema(TrainingDataSchema&& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = std::move(value); }
122 inline ModelVersionDetail& WithTrainingDataSchema(TrainingDataSchema&& value) { SetTrainingDataSchema(std::move(value)); return *this;}
124
126
131 inline const ExternalEventsDetail& GetExternalEventsDetail() const{ return m_externalEventsDetail; }
132 inline bool ExternalEventsDetailHasBeenSet() const { return m_externalEventsDetailHasBeenSet; }
133 inline void SetExternalEventsDetail(const ExternalEventsDetail& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = value; }
134 inline void SetExternalEventsDetail(ExternalEventsDetail&& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = std::move(value); }
138
140
145 inline const IngestedEventsDetail& GetIngestedEventsDetail() const{ return m_ingestedEventsDetail; }
146 inline bool IngestedEventsDetailHasBeenSet() const { return m_ingestedEventsDetailHasBeenSet; }
147 inline void SetIngestedEventsDetail(const IngestedEventsDetail& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = value; }
148 inline void SetIngestedEventsDetail(IngestedEventsDetail&& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = std::move(value); }
152
154
157 inline const TrainingResult& GetTrainingResult() const{ return m_trainingResult; }
158 inline bool TrainingResultHasBeenSet() const { return m_trainingResultHasBeenSet; }
159 inline void SetTrainingResult(const TrainingResult& value) { m_trainingResultHasBeenSet = true; m_trainingResult = value; }
160 inline void SetTrainingResult(TrainingResult&& value) { m_trainingResultHasBeenSet = true; m_trainingResult = std::move(value); }
161 inline ModelVersionDetail& WithTrainingResult(const TrainingResult& value) { SetTrainingResult(value); return *this;}
162 inline ModelVersionDetail& WithTrainingResult(TrainingResult&& value) { SetTrainingResult(std::move(value)); return *this;}
164
166
169 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
170 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
171 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
172 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
173 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
174 inline ModelVersionDetail& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
175 inline ModelVersionDetail& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
176 inline ModelVersionDetail& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
178
180
183 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
184 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
185 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
186 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
187 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
188 inline ModelVersionDetail& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
189 inline ModelVersionDetail& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
190 inline ModelVersionDetail& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
192
194
197 inline const Aws::String& GetArn() const{ return m_arn; }
198 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
199 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
200 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
201 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
202 inline ModelVersionDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;}
203 inline ModelVersionDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
204 inline ModelVersionDetail& WithArn(const char* value) { SetArn(value); return *this;}
206
208
212 inline const TrainingResultV2& GetTrainingResultV2() const{ return m_trainingResultV2; }
213 inline bool TrainingResultV2HasBeenSet() const { return m_trainingResultV2HasBeenSet; }
214 inline void SetTrainingResultV2(const TrainingResultV2& value) { m_trainingResultV2HasBeenSet = true; m_trainingResultV2 = value; }
215 inline void SetTrainingResultV2(TrainingResultV2&& value) { m_trainingResultV2HasBeenSet = true; m_trainingResultV2 = std::move(value); }
217 inline ModelVersionDetail& WithTrainingResultV2(TrainingResultV2&& value) { SetTrainingResultV2(std::move(value)); return *this;}
219 private:
220
221 Aws::String m_modelId;
222 bool m_modelIdHasBeenSet = false;
223
224 ModelTypeEnum m_modelType;
225 bool m_modelTypeHasBeenSet = false;
226
227 Aws::String m_modelVersionNumber;
228 bool m_modelVersionNumberHasBeenSet = false;
229
230 Aws::String m_status;
231 bool m_statusHasBeenSet = false;
232
233 TrainingDataSourceEnum m_trainingDataSource;
234 bool m_trainingDataSourceHasBeenSet = false;
235
236 TrainingDataSchema m_trainingDataSchema;
237 bool m_trainingDataSchemaHasBeenSet = false;
238
239 ExternalEventsDetail m_externalEventsDetail;
240 bool m_externalEventsDetailHasBeenSet = false;
241
242 IngestedEventsDetail m_ingestedEventsDetail;
243 bool m_ingestedEventsDetailHasBeenSet = false;
244
245 TrainingResult m_trainingResult;
246 bool m_trainingResultHasBeenSet = false;
247
248 Aws::String m_lastUpdatedTime;
249 bool m_lastUpdatedTimeHasBeenSet = false;
250
251 Aws::String m_createdTime;
252 bool m_createdTimeHasBeenSet = false;
253
254 Aws::String m_arn;
255 bool m_arnHasBeenSet = false;
256
257 TrainingResultV2 m_trainingResultV2;
258 bool m_trainingResultV2HasBeenSet = false;
259 };
260
261} // namespace Model
262} // namespace FraudDetector
263} // namespace Aws
ModelVersionDetail & WithLastUpdatedTime(const char *value)
ModelVersionDetail & WithModelType(const ModelTypeEnum &value)
ModelVersionDetail & WithArn(const Aws::String &value)
ModelVersionDetail & WithArn(Aws::String &&value)
void SetLastUpdatedTime(const Aws::String &value)
ModelVersionDetail & WithModelVersionNumber(const char *value)
void SetTrainingDataSource(TrainingDataSourceEnum &&value)
const TrainingDataSchema & GetTrainingDataSchema() const
const TrainingDataSourceEnum & GetTrainingDataSource() const
ModelVersionDetail & WithLastUpdatedTime(Aws::String &&value)
void SetTrainingDataSource(const TrainingDataSourceEnum &value)
void SetModelVersionNumber(const Aws::String &value)
ModelVersionDetail & WithIngestedEventsDetail(IngestedEventsDetail &&value)
ModelVersionDetail & WithModelVersionNumber(Aws::String &&value)
ModelVersionDetail & WithTrainingDataSource(const TrainingDataSourceEnum &value)
ModelVersionDetail & WithModelId(const Aws::String &value)
void SetIngestedEventsDetail(IngestedEventsDetail &&value)
ModelVersionDetail & WithModelId(const char *value)
const ExternalEventsDetail & GetExternalEventsDetail() const
ModelVersionDetail & WithTrainingDataSource(TrainingDataSourceEnum &&value)
ModelVersionDetail & WithStatus(Aws::String &&value)
const TrainingResultV2 & GetTrainingResultV2() const
AWS_FRAUDDETECTOR_API ModelVersionDetail(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API ModelVersionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetTrainingDataSchema(TrainingDataSchema &&value)
ModelVersionDetail & WithTrainingDataSchema(TrainingDataSchema &&value)
ModelVersionDetail & WithIngestedEventsDetail(const IngestedEventsDetail &value)
ModelVersionDetail & WithArn(const char *value)
ModelVersionDetail & WithTrainingResult(const TrainingResult &value)
ModelVersionDetail & WithCreatedTime(const char *value)
ModelVersionDetail & WithCreatedTime(const Aws::String &value)
void SetTrainingResult(const TrainingResult &value)
ModelVersionDetail & WithModelId(Aws::String &&value)
ModelVersionDetail & WithTrainingDataSchema(const TrainingDataSchema &value)
void SetTrainingDataSchema(const TrainingDataSchema &value)
const TrainingResult & GetTrainingResult() const
ModelVersionDetail & WithLastUpdatedTime(const Aws::String &value)
void SetTrainingResultV2(const TrainingResultV2 &value)
void SetTrainingResultV2(TrainingResultV2 &&value)
ModelVersionDetail & WithExternalEventsDetail(ExternalEventsDetail &&value)
void SetModelType(const ModelTypeEnum &value)
void SetIngestedEventsDetail(const IngestedEventsDetail &value)
void SetExternalEventsDetail(const ExternalEventsDetail &value)
ModelVersionDetail & WithTrainingResultV2(TrainingResultV2 &&value)
ModelVersionDetail & WithModelType(ModelTypeEnum &&value)
ModelVersionDetail & WithModelVersionNumber(const Aws::String &value)
const IngestedEventsDetail & GetIngestedEventsDetail() const
ModelVersionDetail & WithStatus(const Aws::String &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVersionDetail & WithTrainingResult(TrainingResult &&value)
void SetExternalEventsDetail(ExternalEventsDetail &&value)
ModelVersionDetail & WithStatus(const char *value)
ModelVersionDetail & WithTrainingResultV2(const TrainingResultV2 &value)
ModelVersionDetail & WithExternalEventsDetail(const ExternalEventsDetail &value)
ModelVersionDetail & WithCreatedTime(Aws::String &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue