AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ModelIdT = Aws::String>
54 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
55 template<typename ModelIdT = Aws::String>
56 ModelVersionDetail& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
58
60
63 inline ModelTypeEnum GetModelType() const { return m_modelType; }
64 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
65 inline void SetModelType(ModelTypeEnum value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
66 inline ModelVersionDetail& WithModelType(ModelTypeEnum value) { SetModelType(value); return *this;}
68
70
73 inline const Aws::String& GetModelVersionNumber() const { return m_modelVersionNumber; }
74 inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; }
75 template<typename ModelVersionNumberT = Aws::String>
76 void SetModelVersionNumber(ModelVersionNumberT&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::forward<ModelVersionNumberT>(value); }
77 template<typename ModelVersionNumberT = Aws::String>
78 ModelVersionDetail& WithModelVersionNumber(ModelVersionNumberT&& value) { SetModelVersionNumber(std::forward<ModelVersionNumberT>(value)); return *this;}
80
82
85 inline const Aws::String& GetStatus() const { return m_status; }
86 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
87 template<typename StatusT = Aws::String>
88 void SetStatus(StatusT&& value) { m_statusHasBeenSet = true; m_status = std::forward<StatusT>(value); }
89 template<typename StatusT = Aws::String>
90 ModelVersionDetail& WithStatus(StatusT&& value) { SetStatus(std::forward<StatusT>(value)); return *this;}
92
94
97 inline TrainingDataSourceEnum GetTrainingDataSource() const { return m_trainingDataSource; }
98 inline bool TrainingDataSourceHasBeenSet() const { return m_trainingDataSourceHasBeenSet; }
99 inline void SetTrainingDataSource(TrainingDataSourceEnum value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = value; }
102
104
107 inline const TrainingDataSchema& GetTrainingDataSchema() const { return m_trainingDataSchema; }
108 inline bool TrainingDataSchemaHasBeenSet() const { return m_trainingDataSchemaHasBeenSet; }
109 template<typename TrainingDataSchemaT = TrainingDataSchema>
110 void SetTrainingDataSchema(TrainingDataSchemaT&& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = std::forward<TrainingDataSchemaT>(value); }
111 template<typename TrainingDataSchemaT = TrainingDataSchema>
112 ModelVersionDetail& WithTrainingDataSchema(TrainingDataSchemaT&& value) { SetTrainingDataSchema(std::forward<TrainingDataSchemaT>(value)); return *this;}
114
116
121 inline const ExternalEventsDetail& GetExternalEventsDetail() const { return m_externalEventsDetail; }
122 inline bool ExternalEventsDetailHasBeenSet() const { return m_externalEventsDetailHasBeenSet; }
123 template<typename ExternalEventsDetailT = ExternalEventsDetail>
124 void SetExternalEventsDetail(ExternalEventsDetailT&& value) { m_externalEventsDetailHasBeenSet = true; m_externalEventsDetail = std::forward<ExternalEventsDetailT>(value); }
125 template<typename ExternalEventsDetailT = ExternalEventsDetail>
126 ModelVersionDetail& WithExternalEventsDetail(ExternalEventsDetailT&& value) { SetExternalEventsDetail(std::forward<ExternalEventsDetailT>(value)); return *this;}
128
130
135 inline const IngestedEventsDetail& GetIngestedEventsDetail() const { return m_ingestedEventsDetail; }
136 inline bool IngestedEventsDetailHasBeenSet() const { return m_ingestedEventsDetailHasBeenSet; }
137 template<typename IngestedEventsDetailT = IngestedEventsDetail>
138 void SetIngestedEventsDetail(IngestedEventsDetailT&& value) { m_ingestedEventsDetailHasBeenSet = true; m_ingestedEventsDetail = std::forward<IngestedEventsDetailT>(value); }
139 template<typename IngestedEventsDetailT = IngestedEventsDetail>
140 ModelVersionDetail& WithIngestedEventsDetail(IngestedEventsDetailT&& value) { SetIngestedEventsDetail(std::forward<IngestedEventsDetailT>(value)); return *this;}
142
144
147 inline const TrainingResult& GetTrainingResult() const { return m_trainingResult; }
148 inline bool TrainingResultHasBeenSet() const { return m_trainingResultHasBeenSet; }
149 template<typename TrainingResultT = TrainingResult>
150 void SetTrainingResult(TrainingResultT&& value) { m_trainingResultHasBeenSet = true; m_trainingResult = std::forward<TrainingResultT>(value); }
151 template<typename TrainingResultT = TrainingResult>
152 ModelVersionDetail& WithTrainingResult(TrainingResultT&& value) { SetTrainingResult(std::forward<TrainingResultT>(value)); return *this;}
154
156
159 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
160 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
161 template<typename LastUpdatedTimeT = Aws::String>
162 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
163 template<typename LastUpdatedTimeT = Aws::String>
164 ModelVersionDetail& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
166
168
171 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
172 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
173 template<typename CreatedTimeT = Aws::String>
174 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
175 template<typename CreatedTimeT = Aws::String>
176 ModelVersionDetail& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
178
180
183 inline const Aws::String& GetArn() const { return m_arn; }
184 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
185 template<typename ArnT = Aws::String>
186 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
187 template<typename ArnT = Aws::String>
188 ModelVersionDetail& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
190
192
196 inline const TrainingResultV2& GetTrainingResultV2() const { return m_trainingResultV2; }
197 inline bool TrainingResultV2HasBeenSet() const { return m_trainingResultV2HasBeenSet; }
198 template<typename TrainingResultV2T = TrainingResultV2>
199 void SetTrainingResultV2(TrainingResultV2T&& value) { m_trainingResultV2HasBeenSet = true; m_trainingResultV2 = std::forward<TrainingResultV2T>(value); }
200 template<typename TrainingResultV2T = TrainingResultV2>
201 ModelVersionDetail& WithTrainingResultV2(TrainingResultV2T&& value) { SetTrainingResultV2(std::forward<TrainingResultV2T>(value)); return *this;}
203 private:
204
205 Aws::String m_modelId;
206 bool m_modelIdHasBeenSet = false;
207
209 bool m_modelTypeHasBeenSet = false;
210
211 Aws::String m_modelVersionNumber;
212 bool m_modelVersionNumberHasBeenSet = false;
213
214 Aws::String m_status;
215 bool m_statusHasBeenSet = false;
216
218 bool m_trainingDataSourceHasBeenSet = false;
219
220 TrainingDataSchema m_trainingDataSchema;
221 bool m_trainingDataSchemaHasBeenSet = false;
222
223 ExternalEventsDetail m_externalEventsDetail;
224 bool m_externalEventsDetailHasBeenSet = false;
225
226 IngestedEventsDetail m_ingestedEventsDetail;
227 bool m_ingestedEventsDetailHasBeenSet = false;
228
229 TrainingResult m_trainingResult;
230 bool m_trainingResultHasBeenSet = false;
231
232 Aws::String m_lastUpdatedTime;
233 bool m_lastUpdatedTimeHasBeenSet = false;
234
235 Aws::String m_createdTime;
236 bool m_createdTimeHasBeenSet = false;
237
238 Aws::String m_arn;
239 bool m_arnHasBeenSet = false;
240
241 TrainingResultV2 m_trainingResultV2;
242 bool m_trainingResultV2HasBeenSet = false;
243 };
244
245} // namespace Model
246} // namespace FraudDetector
247} // namespace Aws
ModelVersionDetail & WithIngestedEventsDetail(IngestedEventsDetailT &&value)
void SetTrainingDataSource(TrainingDataSourceEnum value)
ModelVersionDetail & WithTrainingResultV2(TrainingResultV2T &&value)
ModelVersionDetail & WithLastUpdatedTime(LastUpdatedTimeT &&value)
ModelVersionDetail & WithModelId(ModelIdT &&value)
const TrainingDataSchema & GetTrainingDataSchema() const
ModelVersionDetail & WithTrainingResult(TrainingResultT &&value)
void SetExternalEventsDetail(ExternalEventsDetailT &&value)
AWS_FRAUDDETECTOR_API ModelVersionDetail()=default
void SetIngestedEventsDetail(IngestedEventsDetailT &&value)
const ExternalEventsDetail & GetExternalEventsDetail() const
ModelVersionDetail & WithExternalEventsDetail(ExternalEventsDetailT &&value)
const TrainingResultV2 & GetTrainingResultV2() const
AWS_FRAUDDETECTOR_API ModelVersionDetail(Aws::Utils::Json::JsonView jsonValue)
ModelVersionDetail & WithStatus(StatusT &&value)
AWS_FRAUDDETECTOR_API ModelVersionDetail & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetModelVersionNumber(ModelVersionNumberT &&value)
ModelVersionDetail & WithTrainingDataSource(TrainingDataSourceEnum value)
void SetTrainingResultV2(TrainingResultV2T &&value)
const TrainingResult & GetTrainingResult() const
ModelVersionDetail & WithCreatedTime(CreatedTimeT &&value)
const IngestedEventsDetail & GetIngestedEventsDetail() const
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ModelVersionDetail & WithTrainingDataSchema(TrainingDataSchemaT &&value)
ModelVersionDetail & WithArn(ArnT &&value)
ModelVersionDetail & WithModelVersionNumber(ModelVersionNumberT &&value)
void SetTrainingDataSchema(TrainingDataSchemaT &&value)
TrainingDataSourceEnum GetTrainingDataSource() const
ModelVersionDetail & WithModelType(ModelTypeEnum value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue