AWS SDK for C++  1.9.15
AWS SDK for C++
GetModelVersionResult.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 template<typename RESULT_TYPE>
18 class AmazonWebServiceResult;
19 
20 namespace Utils
21 {
22 namespace Json
23 {
24  class JsonValue;
25 } // namespace Json
26 } // namespace Utils
27 namespace FraudDetector
28 {
29 namespace Model
30 {
32  {
33  public:
37 
38 
42  inline const Aws::String& GetModelId() const{ return m_modelId; }
43 
47  inline void SetModelId(const Aws::String& value) { m_modelId = value; }
48 
52  inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); }
53 
57  inline void SetModelId(const char* value) { m_modelId.assign(value); }
58 
62  inline GetModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
63 
67  inline GetModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
68 
72  inline GetModelVersionResult& WithModelId(const char* value) { SetModelId(value); return *this;}
73 
74 
78  inline const ModelTypeEnum& GetModelType() const{ return m_modelType; }
79 
83  inline void SetModelType(const ModelTypeEnum& value) { m_modelType = value; }
84 
88  inline void SetModelType(ModelTypeEnum&& value) { m_modelType = std::move(value); }
89 
93  inline GetModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;}
94 
98  inline GetModelVersionResult& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;}
99 
100 
104  inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; }
105 
109  inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumber = value; }
110 
114  inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumber = std::move(value); }
115 
119  inline void SetModelVersionNumber(const char* value) { m_modelVersionNumber.assign(value); }
120 
124  inline GetModelVersionResult& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;}
125 
129  inline GetModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;}
130 
134  inline GetModelVersionResult& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;}
135 
136 
140  inline const TrainingDataSourceEnum& GetTrainingDataSource() const{ return m_trainingDataSource; }
141 
145  inline void SetTrainingDataSource(const TrainingDataSourceEnum& value) { m_trainingDataSource = value; }
146 
150  inline void SetTrainingDataSource(TrainingDataSourceEnum&& value) { m_trainingDataSource = std::move(value); }
151 
155  inline GetModelVersionResult& WithTrainingDataSource(const TrainingDataSourceEnum& value) { SetTrainingDataSource(value); return *this;}
156 
160  inline GetModelVersionResult& WithTrainingDataSource(TrainingDataSourceEnum&& value) { SetTrainingDataSource(std::move(value)); return *this;}
161 
162 
166  inline const TrainingDataSchema& GetTrainingDataSchema() const{ return m_trainingDataSchema; }
167 
171  inline void SetTrainingDataSchema(const TrainingDataSchema& value) { m_trainingDataSchema = value; }
172 
176  inline void SetTrainingDataSchema(TrainingDataSchema&& value) { m_trainingDataSchema = std::move(value); }
177 
181  inline GetModelVersionResult& WithTrainingDataSchema(const TrainingDataSchema& value) { SetTrainingDataSchema(value); return *this;}
182 
186  inline GetModelVersionResult& WithTrainingDataSchema(TrainingDataSchema&& value) { SetTrainingDataSchema(std::move(value)); return *this;}
187 
188 
192  inline const ExternalEventsDetail& GetExternalEventsDetail() const{ return m_externalEventsDetail; }
193 
197  inline void SetExternalEventsDetail(const ExternalEventsDetail& value) { m_externalEventsDetail = value; }
198 
202  inline void SetExternalEventsDetail(ExternalEventsDetail&& value) { m_externalEventsDetail = std::move(value); }
203 
207  inline GetModelVersionResult& WithExternalEventsDetail(const ExternalEventsDetail& value) { SetExternalEventsDetail(value); return *this;}
208 
212  inline GetModelVersionResult& WithExternalEventsDetail(ExternalEventsDetail&& value) { SetExternalEventsDetail(std::move(value)); return *this;}
213 
214 
225  inline const Aws::String& GetStatus() const{ return m_status; }
226 
237  inline void SetStatus(const Aws::String& value) { m_status = value; }
238 
249  inline void SetStatus(Aws::String&& value) { m_status = std::move(value); }
250 
261  inline void SetStatus(const char* value) { m_status.assign(value); }
262 
273  inline GetModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;}
274 
285  inline GetModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;}
286 
297  inline GetModelVersionResult& WithStatus(const char* value) { SetStatus(value); return *this;}
298 
299 
303  inline const Aws::String& GetArn() const{ return m_arn; }
304 
308  inline void SetArn(const Aws::String& value) { m_arn = value; }
309 
313  inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
314 
318  inline void SetArn(const char* value) { m_arn.assign(value); }
319 
323  inline GetModelVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
324 
328  inline GetModelVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
329 
333  inline GetModelVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
334 
335  private:
336 
337  Aws::String m_modelId;
338 
339  ModelTypeEnum m_modelType;
340 
341  Aws::String m_modelVersionNumber;
342 
343  TrainingDataSourceEnum m_trainingDataSource;
344 
345  TrainingDataSchema m_trainingDataSchema;
346 
347  ExternalEventsDetail m_externalEventsDetail;
348 
349  Aws::String m_status;
350 
351  Aws::String m_arn;
352  };
353 
354 } // namespace Model
355 } // namespace FraudDetector
356 } // namespace Aws
Aws::FraudDetector::Model::GetModelVersionResult::SetStatus
void SetStatus(const char *value)
Definition: GetModelVersionResult.h:261
Aws::FraudDetector::Model::GetModelVersionResult::GetTrainingDataSchema
const TrainingDataSchema & GetTrainingDataSchema() const
Definition: GetModelVersionResult.h:166
Aws::FraudDetector::Model::GetModelVersionResult::SetArn
void SetArn(const char *value)
Definition: GetModelVersionResult.h:318
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::FraudDetector::Model::GetModelVersionResult::SetStatus
void SetStatus(Aws::String &&value)
Definition: GetModelVersionResult.h:249
Aws::FraudDetector::Model::GetModelVersionResult::WithModelVersionNumber
GetModelVersionResult & WithModelVersionNumber(const Aws::String &value)
Definition: GetModelVersionResult.h:124
Aws::FraudDetector::Model::GetModelVersionResult::WithModelType
GetModelVersionResult & WithModelType(const ModelTypeEnum &value)
Definition: GetModelVersionResult.h:93
Aws::FraudDetector::Model::GetModelVersionResult::GetModelType
const ModelTypeEnum & GetModelType() const
Definition: GetModelVersionResult.h:78
Aws::FraudDetector::Model::GetModelVersionResult::GetTrainingDataSource
const TrainingDataSourceEnum & GetTrainingDataSource() const
Definition: GetModelVersionResult.h:140
Aws::FraudDetector::Model::GetModelVersionResult::SetTrainingDataSource
void SetTrainingDataSource(const TrainingDataSourceEnum &value)
Definition: GetModelVersionResult.h:145
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ModelTypeEnum
ModelTypeEnum
Definition: ModelTypeEnum.h:17
Aws::FraudDetector::Model::GetModelVersionResult::SetModelId
void SetModelId(const Aws::String &value)
Definition: GetModelVersionResult.h:47
ModelTypeEnum.h
Aws::FraudDetector::Model::GetModelVersionResult::WithExternalEventsDetail
GetModelVersionResult & WithExternalEventsDetail(const ExternalEventsDetail &value)
Definition: GetModelVersionResult.h:207
Aws::FraudDetector::Model::GetModelVersionResult::WithModelType
GetModelVersionResult & WithModelType(ModelTypeEnum &&value)
Definition: GetModelVersionResult.h:98
ExternalEventsDetail.h
Aws::FraudDetector::Model::GetModelVersionResult::WithExternalEventsDetail
GetModelVersionResult & WithExternalEventsDetail(ExternalEventsDetail &&value)
Definition: GetModelVersionResult.h:212
Aws::FraudDetector::Model::GetModelVersionResult::WithModelId
GetModelVersionResult & WithModelId(const Aws::String &value)
Definition: GetModelVersionResult.h:62
Aws::FraudDetector::Model::GetModelVersionResult::WithTrainingDataSource
GetModelVersionResult & WithTrainingDataSource(const TrainingDataSourceEnum &value)
Definition: GetModelVersionResult.h:155
Aws::FraudDetector::Model::GetModelVersionResult::WithStatus
GetModelVersionResult & WithStatus(Aws::String &&value)
Definition: GetModelVersionResult.h:285
Aws::FraudDetector::Model::GetModelVersionResult::WithModelVersionNumber
GetModelVersionResult & WithModelVersionNumber(const char *value)
Definition: GetModelVersionResult.h:134
Aws::FraudDetector::Model::GetModelVersionResult::GetModelVersionResult
GetModelVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetModelVersionResult::SetTrainingDataSource
void SetTrainingDataSource(TrainingDataSourceEnum &&value)
Definition: GetModelVersionResult.h:150
Aws::FraudDetector::Model::GetModelVersionResult
Definition: GetModelVersionResult.h:32
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::GetModelVersionResult::SetTrainingDataSchema
void SetTrainingDataSchema(TrainingDataSchema &&value)
Definition: GetModelVersionResult.h:176
Aws::FraudDetector::Model::GetModelVersionResult::WithTrainingDataSchema
GetModelVersionResult & WithTrainingDataSchema(TrainingDataSchema &&value)
Definition: GetModelVersionResult.h:186
Aws::FraudDetector::Model::GetModelVersionResult::WithTrainingDataSchema
GetModelVersionResult & WithTrainingDataSchema(const TrainingDataSchema &value)
Definition: GetModelVersionResult.h:181
Aws::FraudDetector::Model::GetModelVersionResult::SetModelType
void SetModelType(ModelTypeEnum &&value)
Definition: GetModelVersionResult.h:88
Aws::FraudDetector::Model::GetModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(Aws::String &&value)
Definition: GetModelVersionResult.h:114
Aws::FraudDetector::Model::GetModelVersionResult::operator=
GetModelVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::FraudDetector::Model::GetModelVersionResult::SetExternalEventsDetail
void SetExternalEventsDetail(ExternalEventsDetail &&value)
Definition: GetModelVersionResult.h:202
Aws::FraudDetector::Model::GetModelVersionResult::WithArn
GetModelVersionResult & WithArn(const char *value)
Definition: GetModelVersionResult.h:333
TrainingDataSourceEnum.h
Aws::FraudDetector::Model::GetModelVersionResult::WithModelId
GetModelVersionResult & WithModelId(const char *value)
Definition: GetModelVersionResult.h:72
AWSString.h
Aws::FraudDetector::Model::GetModelVersionResult::SetModelId
void SetModelId(const char *value)
Definition: GetModelVersionResult.h:57
Aws::FraudDetector::Model::GetModelVersionResult::SetStatus
void SetStatus(const Aws::String &value)
Definition: GetModelVersionResult.h:237
TrainingDataSchema.h
Aws::FraudDetector::Model::GetModelVersionResult::WithModelVersionNumber
GetModelVersionResult & WithModelVersionNumber(Aws::String &&value)
Definition: GetModelVersionResult.h:129
Aws::FraudDetector::Model::GetModelVersionResult::SetExternalEventsDetail
void SetExternalEventsDetail(const ExternalEventsDetail &value)
Definition: GetModelVersionResult.h:197
Aws::FraudDetector::Model::TrainingDataSchema
Definition: TrainingDataSchema.h:34
Aws::FraudDetector::Model::GetModelVersionResult::GetStatus
const Aws::String & GetStatus() const
Definition: GetModelVersionResult.h:225
Aws::FraudDetector::Model::GetModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(const Aws::String &value)
Definition: GetModelVersionResult.h:109
Aws::FraudDetector::Model::GetModelVersionResult::WithArn
GetModelVersionResult & WithArn(Aws::String &&value)
Definition: GetModelVersionResult.h:328
Aws::FraudDetector::Model::GetModelVersionResult::GetModelVersionResult
GetModelVersionResult()
Aws::FraudDetector::Model::GetModelVersionResult::SetTrainingDataSchema
void SetTrainingDataSchema(const TrainingDataSchema &value)
Definition: GetModelVersionResult.h:171
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::GetModelVersionResult::WithTrainingDataSource
GetModelVersionResult & WithTrainingDataSource(TrainingDataSourceEnum &&value)
Definition: GetModelVersionResult.h:160
Aws::FraudDetector::Model::GetModelVersionResult::SetModelId
void SetModelId(Aws::String &&value)
Definition: GetModelVersionResult.h:52
Aws::FraudDetector::Model::GetModelVersionResult::GetArn
const Aws::String & GetArn() const
Definition: GetModelVersionResult.h:303
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::GetModelVersionResult::GetExternalEventsDetail
const ExternalEventsDetail & GetExternalEventsDetail() const
Definition: GetModelVersionResult.h:192
Aws::FraudDetector::Model::GetModelVersionResult::SetModelVersionNumber
void SetModelVersionNumber(const char *value)
Definition: GetModelVersionResult.h:119
Aws::FraudDetector::Model::GetModelVersionResult::GetModelId
const Aws::String & GetModelId() const
Definition: GetModelVersionResult.h:42
Aws::FraudDetector::Model::GetModelVersionResult::WithArn
GetModelVersionResult & WithArn(const Aws::String &value)
Definition: GetModelVersionResult.h:323
Aws::FraudDetector::Model::GetModelVersionResult::SetModelType
void SetModelType(const ModelTypeEnum &value)
Definition: GetModelVersionResult.h:83
Aws::FraudDetector::Model::GetModelVersionResult::WithStatus
GetModelVersionResult & WithStatus(const char *value)
Definition: GetModelVersionResult.h:297
Aws::FraudDetector::Model::GetModelVersionResult::SetArn
void SetArn(const Aws::String &value)
Definition: GetModelVersionResult.h:308
Aws::FraudDetector::Model::GetModelVersionResult::SetArn
void SetArn(Aws::String &&value)
Definition: GetModelVersionResult.h:313
Aws::FraudDetector::Model::GetModelVersionResult::GetModelVersionNumber
const Aws::String & GetModelVersionNumber() const
Definition: GetModelVersionResult.h:104
Aws::FraudDetector::Model::GetModelVersionResult::WithStatus
GetModelVersionResult & WithStatus(const Aws::String &value)
Definition: GetModelVersionResult.h:273
Aws::FraudDetector::Model::TrainingDataSourceEnum
TrainingDataSourceEnum
Definition: TrainingDataSourceEnum.h:17
Aws::FraudDetector::Model::ExternalEventsDetail
Definition: ExternalEventsDetail.h:33
Aws::FraudDetector::Model::GetModelVersionResult::WithModelId
GetModelVersionResult & WithModelId(Aws::String &&value)
Definition: GetModelVersionResult.h:67