AWS SDK for C++  1.9.15
AWS SDK for C++
ExternalModel.h
Go to the documentation of this file.
1 
6 #pragma once
13 #include <utility>
14 
15 namespace Aws
16 {
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22  class JsonView;
23 } // namespace Json
24 } // namespace Utils
25 namespace FraudDetector
26 {
27 namespace Model
28 {
29 
36  {
37  public:
42 
43 
47  inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; }
48 
52  inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
53 
57  inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
58 
62  inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
63 
67  inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
68 
72  inline ExternalModel& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
73 
77  inline ExternalModel& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
78 
82  inline ExternalModel& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
83 
84 
88  inline const ModelSource& GetModelSource() const{ return m_modelSource; }
89 
93  inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
94 
98  inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
99 
103  inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); }
104 
108  inline ExternalModel& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;}
109 
113  inline ExternalModel& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;}
114 
115 
119  inline const Aws::String& GetInvokeModelEndpointRoleArn() const{ return m_invokeModelEndpointRoleArn; }
120 
124  inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; }
125 
129  inline void SetInvokeModelEndpointRoleArn(const Aws::String& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = value; }
130 
134  inline void SetInvokeModelEndpointRoleArn(Aws::String&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::move(value); }
135 
139  inline void SetInvokeModelEndpointRoleArn(const char* value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn.assign(value); }
140 
144  inline ExternalModel& WithInvokeModelEndpointRoleArn(const Aws::String& value) { SetInvokeModelEndpointRoleArn(value); return *this;}
145 
149  inline ExternalModel& WithInvokeModelEndpointRoleArn(Aws::String&& value) { SetInvokeModelEndpointRoleArn(std::move(value)); return *this;}
150 
154  inline ExternalModel& WithInvokeModelEndpointRoleArn(const char* value) { SetInvokeModelEndpointRoleArn(value); return *this;}
155 
156 
160  inline const ModelInputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; }
161 
165  inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
166 
170  inline void SetInputConfiguration(const ModelInputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; }
171 
175  inline void SetInputConfiguration(ModelInputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); }
176 
180  inline ExternalModel& WithInputConfiguration(const ModelInputConfiguration& value) { SetInputConfiguration(value); return *this;}
181 
185  inline ExternalModel& WithInputConfiguration(ModelInputConfiguration&& value) { SetInputConfiguration(std::move(value)); return *this;}
186 
187 
191  inline const ModelOutputConfiguration& GetOutputConfiguration() const{ return m_outputConfiguration; }
192 
196  inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
197 
201  inline void SetOutputConfiguration(const ModelOutputConfiguration& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = value; }
202 
206  inline void SetOutputConfiguration(ModelOutputConfiguration&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::move(value); }
207 
211  inline ExternalModel& WithOutputConfiguration(const ModelOutputConfiguration& value) { SetOutputConfiguration(value); return *this;}
212 
216  inline ExternalModel& WithOutputConfiguration(ModelOutputConfiguration&& value) { SetOutputConfiguration(std::move(value)); return *this;}
217 
218 
222  inline const ModelEndpointStatus& GetModelEndpointStatus() const{ return m_modelEndpointStatus; }
223 
227  inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; }
228 
232  inline void SetModelEndpointStatus(const ModelEndpointStatus& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; }
233 
237  inline void SetModelEndpointStatus(ModelEndpointStatus&& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = std::move(value); }
238 
242  inline ExternalModel& WithModelEndpointStatus(const ModelEndpointStatus& value) { SetModelEndpointStatus(value); return *this;}
243 
247  inline ExternalModel& WithModelEndpointStatus(ModelEndpointStatus&& value) { SetModelEndpointStatus(std::move(value)); return *this;}
248 
249 
253  inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
254 
258  inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
259 
263  inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
264 
268  inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
269 
273  inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
274 
278  inline ExternalModel& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
279 
283  inline ExternalModel& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
284 
288  inline ExternalModel& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
289 
290 
294  inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
295 
299  inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
300 
304  inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
305 
309  inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
310 
314  inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
315 
319  inline ExternalModel& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
320 
324  inline ExternalModel& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
325 
329  inline ExternalModel& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
330 
331 
335  inline const Aws::String& GetArn() const{ return m_arn; }
336 
340  inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
341 
345  inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
346 
350  inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
351 
355  inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
356 
360  inline ExternalModel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
361 
365  inline ExternalModel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
366 
370  inline ExternalModel& WithArn(const char* value) { SetArn(value); return *this;}
371 
372  private:
373 
374  Aws::String m_modelEndpoint;
375  bool m_modelEndpointHasBeenSet;
376 
377  ModelSource m_modelSource;
378  bool m_modelSourceHasBeenSet;
379 
380  Aws::String m_invokeModelEndpointRoleArn;
381  bool m_invokeModelEndpointRoleArnHasBeenSet;
382 
383  ModelInputConfiguration m_inputConfiguration;
384  bool m_inputConfigurationHasBeenSet;
385 
386  ModelOutputConfiguration m_outputConfiguration;
387  bool m_outputConfigurationHasBeenSet;
388 
389  ModelEndpointStatus m_modelEndpointStatus;
390  bool m_modelEndpointStatusHasBeenSet;
391 
392  Aws::String m_lastUpdatedTime;
393  bool m_lastUpdatedTimeHasBeenSet;
394 
395  Aws::String m_createdTime;
396  bool m_createdTimeHasBeenSet;
397 
398  Aws::String m_arn;
399  bool m_arnHasBeenSet;
400  };
401 
402 } // namespace Model
403 } // namespace FraudDetector
404 } // namespace Aws
Aws::FraudDetector::Model::ExternalModel::SetModelEndpoint
void SetModelEndpoint(Aws::String &&value)
Definition: ExternalModel.h:62
Aws::FraudDetector::Model::ModelInputConfiguration
Definition: ModelInputConfiguration.h:33
Aws::FraudDetector::Model::ExternalModel::SetModelEndpoint
void SetModelEndpoint(const char *value)
Definition: ExternalModel.h:67
Aws::FraudDetector::Model::ExternalModel::SetModelSource
void SetModelSource(const ModelSource &value)
Definition: ExternalModel.h:98
Aws::FraudDetector::Model::ExternalModel::WithModelEndpoint
ExternalModel & WithModelEndpoint(Aws::String &&value)
Definition: ExternalModel.h:77
Aws::FraudDetector::Model::ExternalModel::WithCreatedTime
ExternalModel & WithCreatedTime(const char *value)
Definition: ExternalModel.h:329
Aws::FraudDetector::Model::ExternalModel::WithOutputConfiguration
ExternalModel & WithOutputConfiguration(const ModelOutputConfiguration &value)
Definition: ExternalModel.h:211
Aws::FraudDetector::Model::ExternalModel::SetArn
void SetArn(const char *value)
Definition: ExternalModel.h:355
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::ExternalModel::WithModelSource
ExternalModel & WithModelSource(ModelSource &&value)
Definition: ExternalModel.h:113
Aws::FraudDetector::Model::ExternalModel::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(const Aws::String &value)
Definition: ExternalModel.h:129
ModelEndpointStatus.h
Aws::FraudDetector::Model::ExternalModel::InputConfigurationHasBeenSet
bool InputConfigurationHasBeenSet() const
Definition: ExternalModel.h:165
Aws::FraudDetector::Model::ExternalModel::LastUpdatedTimeHasBeenSet
bool LastUpdatedTimeHasBeenSet() const
Definition: ExternalModel.h:258
Aws::FraudDetector::Model::ExternalModel::GetModelEndpoint
const Aws::String & GetModelEndpoint() const
Definition: ExternalModel.h:47
Aws::FraudDetector::Model::ExternalModel::SetCreatedTime
void SetCreatedTime(Aws::String &&value)
Definition: ExternalModel.h:309
Aws::FraudDetector::Model::ExternalModel::SetCreatedTime
void SetCreatedTime(const Aws::String &value)
Definition: ExternalModel.h:304
Aws::FraudDetector::Model::ExternalModel::SetModelEndpoint
void SetModelEndpoint(const Aws::String &value)
Definition: ExternalModel.h:57
Aws::FraudDetector::Model::ExternalModel::InvokeModelEndpointRoleArnHasBeenSet
bool InvokeModelEndpointRoleArnHasBeenSet() const
Definition: ExternalModel.h:124
Aws::FraudDetector::Model::ExternalModel::WithLastUpdatedTime
ExternalModel & WithLastUpdatedTime(const Aws::String &value)
Definition: ExternalModel.h:278
Aws::FraudDetector::Model::ExternalModel::CreatedTimeHasBeenSet
bool CreatedTimeHasBeenSet() const
Definition: ExternalModel.h:299
Aws::FraudDetector::Model::ExternalModel::ExternalModel
ExternalModel()
Aws::FraudDetector::Model::ExternalModel::WithArn
ExternalModel & WithArn(Aws::String &&value)
Definition: ExternalModel.h:365
Aws::FraudDetector::Model::ModelSource
ModelSource
Definition: ModelSource.h:17
Aws::FraudDetector::Model::ExternalModel::WithLastUpdatedTime
ExternalModel & WithLastUpdatedTime(const char *value)
Definition: ExternalModel.h:288
ModelOutputConfiguration.h
Aws::FraudDetector::Model::ExternalModel::WithCreatedTime
ExternalModel & WithCreatedTime(const Aws::String &value)
Definition: ExternalModel.h:319
Aws::FraudDetector::Model::ExternalModel::operator=
ExternalModel & operator=(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ExternalModel
Definition: ExternalModel.h:36
Aws::FraudDetector::Model::ExternalModel::WithInvokeModelEndpointRoleArn
ExternalModel & WithInvokeModelEndpointRoleArn(const char *value)
Definition: ExternalModel.h:154
Aws::FraudDetector::Model::ExternalModel::WithModelEndpointStatus
ExternalModel & WithModelEndpointStatus(ModelEndpointStatus &&value)
Definition: ExternalModel.h:247
Aws::FraudDetector::Model::ExternalModel::WithInputConfiguration
ExternalModel & WithInputConfiguration(ModelInputConfiguration &&value)
Definition: ExternalModel.h:185
Aws::FraudDetector::Model::ExternalModel::GetModelSource
const ModelSource & GetModelSource() const
Definition: ExternalModel.h:88
Aws::FraudDetector::Model::ExternalModel::ModelSourceHasBeenSet
bool ModelSourceHasBeenSet() const
Definition: ExternalModel.h:93
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::ExternalModel::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(const char *value)
Definition: ExternalModel.h:139
Aws::FraudDetector::Model::ExternalModel::ExternalModel
ExternalModel(Aws::Utils::Json::JsonView jsonValue)
Aws::FraudDetector::Model::ExternalModel::GetInputConfiguration
const ModelInputConfiguration & GetInputConfiguration() const
Definition: ExternalModel.h:160
Aws::FraudDetector::Model::ExternalModel::GetOutputConfiguration
const ModelOutputConfiguration & GetOutputConfiguration() const
Definition: ExternalModel.h:191
Aws::FraudDetector::Model::ExternalModel::GetLastUpdatedTime
const Aws::String & GetLastUpdatedTime() const
Definition: ExternalModel.h:253
Aws::FraudDetector::Model::ExternalModel::SetArn
void SetArn(const Aws::String &value)
Definition: ExternalModel.h:345
Aws::FraudDetector::Model::ExternalModel::ArnHasBeenSet
bool ArnHasBeenSet() const
Definition: ExternalModel.h:340
ModelInputConfiguration.h
Aws::FraudDetector::Model::ExternalModel::GetModelEndpointStatus
const ModelEndpointStatus & GetModelEndpointStatus() const
Definition: ExternalModel.h:222
Aws::FraudDetector::Model::ExternalModel::SetLastUpdatedTime
void SetLastUpdatedTime(const Aws::String &value)
Definition: ExternalModel.h:263
Aws::FraudDetector::Model::ExternalModel::SetArn
void SetArn(Aws::String &&value)
Definition: ExternalModel.h:350
Aws::FraudDetector::Model::ExternalModel::WithModelEndpointStatus
ExternalModel & WithModelEndpointStatus(const ModelEndpointStatus &value)
Definition: ExternalModel.h:242
Aws::FraudDetector::Model::ExternalModel::SetOutputConfiguration
void SetOutputConfiguration(ModelOutputConfiguration &&value)
Definition: ExternalModel.h:206
Aws::FraudDetector::Model::ExternalModel::WithInvokeModelEndpointRoleArn
ExternalModel & WithInvokeModelEndpointRoleArn(Aws::String &&value)
Definition: ExternalModel.h:149
Aws::FraudDetector::Model::ExternalModel::WithArn
ExternalModel & WithArn(const Aws::String &value)
Definition: ExternalModel.h:360
Aws::FraudDetector::Model::ExternalModel::SetModelEndpointStatus
void SetModelEndpointStatus(ModelEndpointStatus &&value)
Definition: ExternalModel.h:237
Aws::FraudDetector::Model::ExternalModel::SetOutputConfiguration
void SetOutputConfiguration(const ModelOutputConfiguration &value)
Definition: ExternalModel.h:201
Aws::FraudDetector::Model::ExternalModel::WithLastUpdatedTime
ExternalModel & WithLastUpdatedTime(Aws::String &&value)
Definition: ExternalModel.h:283
Aws::Utils::Json::JsonView
Definition: JsonSerializer.h:222
Aws::FraudDetector::Model::ExternalModel::GetArn
const Aws::String & GetArn() const
Definition: ExternalModel.h:335
AWSString.h
Aws::Utils::Json::JsonValue
Definition: JsonSerializer.h:30
Aws::FraudDetector::Model::ExternalModel::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(Aws::String &&value)
Definition: ExternalModel.h:134
Aws::FraudDetector::Model::ExternalModel::WithArn
ExternalModel & WithArn(const char *value)
Definition: ExternalModel.h:370
Aws::FraudDetector::Model::ExternalModel::SetCreatedTime
void SetCreatedTime(const char *value)
Definition: ExternalModel.h:314
Aws::FraudDetector::Model::ExternalModel::WithInvokeModelEndpointRoleArn
ExternalModel & WithInvokeModelEndpointRoleArn(const Aws::String &value)
Definition: ExternalModel.h:144
Aws::FraudDetector::Model::ExternalModel::WithModelSource
ExternalModel & WithModelSource(const ModelSource &value)
Definition: ExternalModel.h:108
Aws::FraudDetector::Model::ExternalModel::GetInvokeModelEndpointRoleArn
const Aws::String & GetInvokeModelEndpointRoleArn() const
Definition: ExternalModel.h:119
ModelSource.h
Aws::FraudDetector::Model::ExternalModel::ModelEndpointStatusHasBeenSet
bool ModelEndpointStatusHasBeenSet() const
Definition: ExternalModel.h:227
Aws::FraudDetector::Model::ExternalModel::SetModelSource
void SetModelSource(ModelSource &&value)
Definition: ExternalModel.h:103
Aws::FraudDetector::Model::ExternalModel::SetInputConfiguration
void SetInputConfiguration(ModelInputConfiguration &&value)
Definition: ExternalModel.h:175
Aws::FraudDetector::Model::ExternalModel::SetLastUpdatedTime
void SetLastUpdatedTime(const char *value)
Definition: ExternalModel.h:273
Aws::FraudDetector::Model::ExternalModel::SetModelEndpointStatus
void SetModelEndpointStatus(const ModelEndpointStatus &value)
Definition: ExternalModel.h:232
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::ExternalModel::WithInputConfiguration
ExternalModel & WithInputConfiguration(const ModelInputConfiguration &value)
Definition: ExternalModel.h:180
Aws::FraudDetector::Model::ExternalModel::SetInputConfiguration
void SetInputConfiguration(const ModelInputConfiguration &value)
Definition: ExternalModel.h:170
Aws::FraudDetector::Model::ExternalModel::WithModelEndpoint
ExternalModel & WithModelEndpoint(const char *value)
Definition: ExternalModel.h:82
Aws::FraudDetector::Model::ExternalModel::SetLastUpdatedTime
void SetLastUpdatedTime(Aws::String &&value)
Definition: ExternalModel.h:268
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::ExternalModel::WithCreatedTime
ExternalModel & WithCreatedTime(Aws::String &&value)
Definition: ExternalModel.h:324
Aws::FraudDetector::Model::ExternalModel::WithOutputConfiguration
ExternalModel & WithOutputConfiguration(ModelOutputConfiguration &&value)
Definition: ExternalModel.h:216
Aws::FraudDetector::Model::ExternalModel::OutputConfigurationHasBeenSet
bool OutputConfigurationHasBeenSet() const
Definition: ExternalModel.h:196
Aws::FraudDetector::Model::ExternalModel::Jsonize
Aws::Utils::Json::JsonValue Jsonize() const
Aws::FraudDetector::Model::ModelOutputConfiguration
Definition: ModelOutputConfiguration.h:35
Aws::FraudDetector::Model::ExternalModel::GetCreatedTime
const Aws::String & GetCreatedTime() const
Definition: ExternalModel.h:294
Aws::FraudDetector::Model::ExternalModel::WithModelEndpoint
ExternalModel & WithModelEndpoint(const Aws::String &value)
Definition: ExternalModel.h:72
Aws::FraudDetector::Model::ExternalModel::ModelEndpointHasBeenSet
bool ModelEndpointHasBeenSet() const
Definition: ExternalModel.h:52
Aws::FraudDetector::Model::ModelEndpointStatus
ModelEndpointStatus
Definition: ModelEndpointStatus.h:17