AWS SDK for C++  1.9.16
AWS SDK for C++
PutExternalModelRequest.h
Go to the documentation of this file.
1 
6 #pragma once
16 #include <utility>
17 
18 namespace Aws
19 {
20 namespace FraudDetector
21 {
22 namespace Model
23 {
24 
28  {
29  public:
31 
32  // Service request name is the Operation name which will send this request out,
33  // each operation should has unique request name, so that we can get operation's name from this request.
34  // Note: this is not true for response, multiple operations may have the same response name,
35  // so we can not get operation's name from response.
36  inline virtual const char* GetServiceRequestName() const override { return "PutExternalModel"; }
37 
38  Aws::String SerializePayload() const override;
39 
41 
42 
46  inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; }
47 
51  inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
52 
56  inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
57 
61  inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
62 
66  inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
67 
71  inline PutExternalModelRequest& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
72 
76  inline PutExternalModelRequest& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
77 
81  inline PutExternalModelRequest& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
82 
83 
87  inline const ModelSource& GetModelSource() const{ return m_modelSource; }
88 
92  inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
93 
97  inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
98 
102  inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); }
103 
107  inline PutExternalModelRequest& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;}
108 
112  inline PutExternalModelRequest& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;}
113 
114 
118  inline const Aws::String& GetInvokeModelEndpointRoleArn() const{ return m_invokeModelEndpointRoleArn; }
119 
123  inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; }
124 
128  inline void SetInvokeModelEndpointRoleArn(const Aws::String& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = value; }
129 
133  inline void SetInvokeModelEndpointRoleArn(Aws::String&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::move(value); }
134 
138  inline void SetInvokeModelEndpointRoleArn(const char* value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn.assign(value); }
139 
143  inline PutExternalModelRequest& WithInvokeModelEndpointRoleArn(const Aws::String& value) { SetInvokeModelEndpointRoleArn(value); return *this;}
144 
148  inline PutExternalModelRequest& WithInvokeModelEndpointRoleArn(Aws::String&& value) { SetInvokeModelEndpointRoleArn(std::move(value)); return *this;}
149 
153  inline PutExternalModelRequest& WithInvokeModelEndpointRoleArn(const char* value) { SetInvokeModelEndpointRoleArn(value); return *this;}
154 
155 
159  inline const ModelInputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; }
160 
164  inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
165 
169  inline void SetInputConfiguration(const ModelInputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; }
170 
174  inline void SetInputConfiguration(ModelInputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); }
175 
179  inline PutExternalModelRequest& WithInputConfiguration(const ModelInputConfiguration& value) { SetInputConfiguration(value); return *this;}
180 
184  inline PutExternalModelRequest& WithInputConfiguration(ModelInputConfiguration&& value) { SetInputConfiguration(std::move(value)); return *this;}
185 
186 
190  inline const ModelOutputConfiguration& GetOutputConfiguration() const{ return m_outputConfiguration; }
191 
195  inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
196 
200  inline void SetOutputConfiguration(const ModelOutputConfiguration& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = value; }
201 
205  inline void SetOutputConfiguration(ModelOutputConfiguration&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::move(value); }
206 
210  inline PutExternalModelRequest& WithOutputConfiguration(const ModelOutputConfiguration& value) { SetOutputConfiguration(value); return *this;}
211 
215  inline PutExternalModelRequest& WithOutputConfiguration(ModelOutputConfiguration&& value) { SetOutputConfiguration(std::move(value)); return *this;}
216 
217 
221  inline const ModelEndpointStatus& GetModelEndpointStatus() const{ return m_modelEndpointStatus; }
222 
226  inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; }
227 
231  inline void SetModelEndpointStatus(const ModelEndpointStatus& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; }
232 
236  inline void SetModelEndpointStatus(ModelEndpointStatus&& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = std::move(value); }
237 
241  inline PutExternalModelRequest& WithModelEndpointStatus(const ModelEndpointStatus& value) { SetModelEndpointStatus(value); return *this;}
242 
246  inline PutExternalModelRequest& WithModelEndpointStatus(ModelEndpointStatus&& value) { SetModelEndpointStatus(std::move(value)); return *this;}
247 
248 
252  inline const Aws::Vector<Tag>& GetTags() const{ return m_tags; }
253 
257  inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
258 
262  inline void SetTags(const Aws::Vector<Tag>& value) { m_tagsHasBeenSet = true; m_tags = value; }
263 
267  inline void SetTags(Aws::Vector<Tag>&& value) { m_tagsHasBeenSet = true; m_tags = std::move(value); }
268 
272  inline PutExternalModelRequest& WithTags(const Aws::Vector<Tag>& value) { SetTags(value); return *this;}
273 
277  inline PutExternalModelRequest& WithTags(Aws::Vector<Tag>&& value) { SetTags(std::move(value)); return *this;}
278 
282  inline PutExternalModelRequest& AddTags(const Tag& value) { m_tagsHasBeenSet = true; m_tags.push_back(value); return *this; }
283 
287  inline PutExternalModelRequest& AddTags(Tag&& value) { m_tagsHasBeenSet = true; m_tags.push_back(std::move(value)); return *this; }
288 
289  private:
290 
291  Aws::String m_modelEndpoint;
292  bool m_modelEndpointHasBeenSet;
293 
294  ModelSource m_modelSource;
295  bool m_modelSourceHasBeenSet;
296 
297  Aws::String m_invokeModelEndpointRoleArn;
298  bool m_invokeModelEndpointRoleArnHasBeenSet;
299 
300  ModelInputConfiguration m_inputConfiguration;
301  bool m_inputConfigurationHasBeenSet;
302 
303  ModelOutputConfiguration m_outputConfiguration;
304  bool m_outputConfigurationHasBeenSet;
305 
306  ModelEndpointStatus m_modelEndpointStatus;
307  bool m_modelEndpointStatusHasBeenSet;
308 
309  Aws::Vector<Tag> m_tags;
310  bool m_tagsHasBeenSet;
311  };
312 
313 } // namespace Model
314 } // namespace FraudDetector
315 } // namespace Aws
Aws::FraudDetector::Model::PutExternalModelRequest::SetOutputConfiguration
void SetOutputConfiguration(const ModelOutputConfiguration &value)
Definition: PutExternalModelRequest.h:200
Aws::FraudDetector::Model::ModelInputConfiguration
Definition: ModelInputConfiguration.h:33
Aws::FraudDetector::Model::PutExternalModelRequest::WithTags
PutExternalModelRequest & WithTags(const Aws::Vector< Tag > &value)
Definition: PutExternalModelRequest.h:272
FraudDetectorRequest.h
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelEndpoint
PutExternalModelRequest & WithModelEndpoint(Aws::String &&value)
Definition: PutExternalModelRequest.h:76
Aws::FraudDetector::Model::PutExternalModelRequest::WithOutputConfiguration
PutExternalModelRequest & WithOutputConfiguration(ModelOutputConfiguration &&value)
Definition: PutExternalModelRequest.h:215
Aws::FraudDetector::Model::PutExternalModelRequest::SetOutputConfiguration
void SetOutputConfiguration(ModelOutputConfiguration &&value)
Definition: PutExternalModelRequest.h:205
Aws::FraudDetector::Model::PutExternalModelRequest::ModelEndpointStatusHasBeenSet
bool ModelEndpointStatusHasBeenSet() const
Definition: PutExternalModelRequest.h:226
Aws::FraudDetector::Model::PutExternalModelRequest::WithInvokeModelEndpointRoleArn
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(const Aws::String &value)
Definition: PutExternalModelRequest.h:143
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelEndpoint
PutExternalModelRequest & WithModelEndpoint(const Aws::String &value)
Definition: PutExternalModelRequest.h:71
Tag.h
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelEndpoint
void SetModelEndpoint(const char *value)
Definition: PutExternalModelRequest.h:66
Aws::FraudDetector::Model::PutExternalModelRequest::AddTags
PutExternalModelRequest & AddTags(const Tag &value)
Definition: PutExternalModelRequest.h:282
FraudDetector_EXPORTS.h
ModelEndpointStatus.h
Aws::FraudDetector::Model::PutExternalModelRequest::InputConfigurationHasBeenSet
bool InputConfigurationHasBeenSet() const
Definition: PutExternalModelRequest.h:164
Aws::FraudDetector::Model::Tag
Definition: Tag.h:32
Aws::FraudDetector::Model::PutExternalModelRequest::ModelEndpointHasBeenSet
bool ModelEndpointHasBeenSet() const
Definition: PutExternalModelRequest.h:51
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
Aws::FraudDetector::Model::ModelSource
ModelSource
Definition: ModelSource.h:17
Aws::FraudDetector::Model::PutExternalModelRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
ModelOutputConfiguration.h
AWSVector.h
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelEndpoint
void SetModelEndpoint(const Aws::String &value)
Definition: PutExternalModelRequest.h:56
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelEndpointStatus
PutExternalModelRequest & WithModelEndpointStatus(const ModelEndpointStatus &value)
Definition: PutExternalModelRequest.h:241
Aws::FraudDetector::Model::PutExternalModelRequest::SetTags
void SetTags(Aws::Vector< Tag > &&value)
Definition: PutExternalModelRequest.h:267
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::PutExternalModelRequest::SetTags
void SetTags(const Aws::Vector< Tag > &value)
Definition: PutExternalModelRequest.h:262
Aws::FraudDetector::Model::PutExternalModelRequest::GetTags
const Aws::Vector< Tag > & GetTags() const
Definition: PutExternalModelRequest.h:252
Aws::FraudDetector::Model::PutExternalModelRequest::SetInputConfiguration
void SetInputConfiguration(const ModelInputConfiguration &value)
Definition: PutExternalModelRequest.h:169
Aws::FraudDetector::Model::PutExternalModelRequest::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(const char *value)
Definition: PutExternalModelRequest.h:138
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelEndpointStatus
void SetModelEndpointStatus(ModelEndpointStatus &&value)
Definition: PutExternalModelRequest.h:236
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::PutExternalModelRequest::WithInputConfiguration
PutExternalModelRequest & WithInputConfiguration(ModelInputConfiguration &&value)
Definition: PutExternalModelRequest.h:184
Aws::FraudDetector::Model::PutExternalModelRequest::AddTags
PutExternalModelRequest & AddTags(Tag &&value)
Definition: PutExternalModelRequest.h:287
Aws::FraudDetector::Model::PutExternalModelRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: PutExternalModelRequest.h:36
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelEndpointStatus
void SetModelEndpointStatus(const ModelEndpointStatus &value)
Definition: PutExternalModelRequest.h:231
Aws::FraudDetector::Model::PutExternalModelRequest::WithInputConfiguration
PutExternalModelRequest & WithInputConfiguration(const ModelInputConfiguration &value)
Definition: PutExternalModelRequest.h:179
Aws::FraudDetector::Model::PutExternalModelRequest::SerializePayload
Aws::String SerializePayload() const override
ModelInputConfiguration.h
Aws::FraudDetector::Model::PutExternalModelRequest::WithInvokeModelEndpointRoleArn
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(Aws::String &&value)
Definition: PutExternalModelRequest.h:148
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelSource
void SetModelSource(const ModelSource &value)
Definition: PutExternalModelRequest.h:97
Aws::FraudDetector::Model::PutExternalModelRequest::ModelSourceHasBeenSet
bool ModelSourceHasBeenSet() const
Definition: PutExternalModelRequest.h:92
Aws::FraudDetector::Model::PutExternalModelRequest::PutExternalModelRequest
PutExternalModelRequest()
Aws::FraudDetector::Model::PutExternalModelRequest::OutputConfigurationHasBeenSet
bool OutputConfigurationHasBeenSet() const
Definition: PutExternalModelRequest.h:195
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelSource
void SetModelSource(ModelSource &&value)
Definition: PutExternalModelRequest.h:102
Aws::FraudDetector::Model::PutExternalModelRequest::WithTags
PutExternalModelRequest & WithTags(Aws::Vector< Tag > &&value)
Definition: PutExternalModelRequest.h:277
Aws::FraudDetector::Model::PutExternalModelRequest::GetInvokeModelEndpointRoleArn
const Aws::String & GetInvokeModelEndpointRoleArn() const
Definition: PutExternalModelRequest.h:118
AWSString.h
Aws::FraudDetector::Model::PutExternalModelRequest::WithOutputConfiguration
PutExternalModelRequest & WithOutputConfiguration(const ModelOutputConfiguration &value)
Definition: PutExternalModelRequest.h:210
Aws::FraudDetector::Model::PutExternalModelRequest::GetModelEndpoint
const Aws::String & GetModelEndpoint() const
Definition: PutExternalModelRequest.h:46
Aws::FraudDetector::Model::PutExternalModelRequest::GetInputConfiguration
const ModelInputConfiguration & GetInputConfiguration() const
Definition: PutExternalModelRequest.h:159
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelSource
PutExternalModelRequest & WithModelSource(const ModelSource &value)
Definition: PutExternalModelRequest.h:107
Aws::FraudDetector::Model::PutExternalModelRequest::GetModelEndpointStatus
const ModelEndpointStatus & GetModelEndpointStatus() const
Definition: PutExternalModelRequest.h:221
Aws::FraudDetector::Model::PutExternalModelRequest::InvokeModelEndpointRoleArnHasBeenSet
bool InvokeModelEndpointRoleArnHasBeenSet() const
Definition: PutExternalModelRequest.h:123
ModelSource.h
Aws::FraudDetector::Model::PutExternalModelRequest::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(Aws::String &&value)
Definition: PutExternalModelRequest.h:133
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelEndpoint
PutExternalModelRequest & WithModelEndpoint(const char *value)
Definition: PutExternalModelRequest.h:81
Aws::FraudDetector::Model::PutExternalModelRequest::WithInvokeModelEndpointRoleArn
PutExternalModelRequest & WithInvokeModelEndpointRoleArn(const char *value)
Definition: PutExternalModelRequest.h:153
Aws::FraudDetector::Model::PutExternalModelRequest
Definition: PutExternalModelRequest.h:28
Aws::FraudDetector::Model::PutExternalModelRequest::TagsHasBeenSet
bool TagsHasBeenSet() const
Definition: PutExternalModelRequest.h:257
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::PutExternalModelRequest::SetInvokeModelEndpointRoleArn
void SetInvokeModelEndpointRoleArn(const Aws::String &value)
Definition: PutExternalModelRequest.h:128
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelSource
PutExternalModelRequest & WithModelSource(ModelSource &&value)
Definition: PutExternalModelRequest.h:112
Aws::FraudDetector::Model::PutExternalModelRequest::SetInputConfiguration
void SetInputConfiguration(ModelInputConfiguration &&value)
Definition: PutExternalModelRequest.h:174
Aws::FraudDetector::Model::PutExternalModelRequest::GetModelSource
const ModelSource & GetModelSource() const
Definition: PutExternalModelRequest.h:87
Aws::FraudDetector::Model::PutExternalModelRequest::SetModelEndpoint
void SetModelEndpoint(Aws::String &&value)
Definition: PutExternalModelRequest.h:61
Aws::FraudDetector::Model::PutExternalModelRequest::GetOutputConfiguration
const ModelOutputConfiguration & GetOutputConfiguration() const
Definition: PutExternalModelRequest.h:190
Aws::FraudDetector::Model::PutExternalModelRequest::WithModelEndpointStatus
PutExternalModelRequest & WithModelEndpointStatus(ModelEndpointStatus &&value)
Definition: PutExternalModelRequest.h:246
Aws::FraudDetector::Model::ModelOutputConfiguration
Definition: ModelOutputConfiguration.h:35
Aws::FraudDetector::Model::ModelEndpointStatus
ModelEndpointStatus
Definition: ModelEndpointStatus.h:17