AWS SDK for C++  1.9.71
AWS SDK for C++
UpdateDetectorVersionRequest.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 namespace FraudDetector
19 {
20 namespace Model
21 {
22 
26  {
27  public:
29 
30  // Service request name is the Operation name which will send this request out,
31  // each operation should has unique request name, so that we can get operation's name from this request.
32  // Note: this is not true for response, multiple operations may have the same response name,
33  // so we can not get operation's name from response.
34  inline virtual const char* GetServiceRequestName() const override { return "UpdateDetectorVersion"; }
35 
36  Aws::String SerializePayload() const override;
37 
39 
40 
44  inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
45 
49  inline bool DetectorIdHasBeenSet() const { return m_detectorIdHasBeenSet; }
50 
54  inline void SetDetectorId(const Aws::String& value) { m_detectorIdHasBeenSet = true; m_detectorId = value; }
55 
59  inline void SetDetectorId(Aws::String&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::move(value); }
60 
64  inline void SetDetectorId(const char* value) { m_detectorIdHasBeenSet = true; m_detectorId.assign(value); }
65 
69  inline UpdateDetectorVersionRequest& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
70 
74  inline UpdateDetectorVersionRequest& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
75 
79  inline UpdateDetectorVersionRequest& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
80 
81 
85  inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
86 
90  inline bool DetectorVersionIdHasBeenSet() const { return m_detectorVersionIdHasBeenSet; }
91 
95  inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = value; }
96 
100  inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::move(value); }
101 
105  inline void SetDetectorVersionId(const char* value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId.assign(value); }
106 
110  inline UpdateDetectorVersionRequest& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;}
111 
115  inline UpdateDetectorVersionRequest& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
116 
120  inline UpdateDetectorVersionRequest& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
121 
122 
126  inline const Aws::Vector<Aws::String>& GetExternalModelEndpoints() const{ return m_externalModelEndpoints; }
127 
131  inline bool ExternalModelEndpointsHasBeenSet() const { return m_externalModelEndpointsHasBeenSet; }
132 
136  inline void SetExternalModelEndpoints(const Aws::Vector<Aws::String>& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints = value; }
137 
141  inline void SetExternalModelEndpoints(Aws::Vector<Aws::String>&& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints = std::move(value); }
142 
146  inline UpdateDetectorVersionRequest& WithExternalModelEndpoints(const Aws::Vector<Aws::String>& value) { SetExternalModelEndpoints(value); return *this;}
147 
151  inline UpdateDetectorVersionRequest& WithExternalModelEndpoints(Aws::Vector<Aws::String>&& value) { SetExternalModelEndpoints(std::move(value)); return *this;}
152 
156  inline UpdateDetectorVersionRequest& AddExternalModelEndpoints(const Aws::String& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints.push_back(value); return *this; }
157 
161  inline UpdateDetectorVersionRequest& AddExternalModelEndpoints(Aws::String&& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints.push_back(std::move(value)); return *this; }
162 
166  inline UpdateDetectorVersionRequest& AddExternalModelEndpoints(const char* value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints.push_back(value); return *this; }
167 
168 
172  inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
173 
177  inline bool RulesHasBeenSet() const { return m_rulesHasBeenSet; }
178 
182  inline void SetRules(const Aws::Vector<Rule>& value) { m_rulesHasBeenSet = true; m_rules = value; }
183 
187  inline void SetRules(Aws::Vector<Rule>&& value) { m_rulesHasBeenSet = true; m_rules = std::move(value); }
188 
192  inline UpdateDetectorVersionRequest& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
193 
197  inline UpdateDetectorVersionRequest& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
198 
202  inline UpdateDetectorVersionRequest& AddRules(const Rule& value) { m_rulesHasBeenSet = true; m_rules.push_back(value); return *this; }
203 
207  inline UpdateDetectorVersionRequest& AddRules(Rule&& value) { m_rulesHasBeenSet = true; m_rules.push_back(std::move(value)); return *this; }
208 
209 
213  inline const Aws::String& GetDescription() const{ return m_description; }
214 
218  inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
219 
223  inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
224 
228  inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
229 
233  inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
234 
238  inline UpdateDetectorVersionRequest& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
239 
243  inline UpdateDetectorVersionRequest& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
244 
248  inline UpdateDetectorVersionRequest& WithDescription(const char* value) { SetDescription(value); return *this;}
249 
250 
254  inline const Aws::Vector<ModelVersion>& GetModelVersions() const{ return m_modelVersions; }
255 
259  inline bool ModelVersionsHasBeenSet() const { return m_modelVersionsHasBeenSet; }
260 
264  inline void SetModelVersions(const Aws::Vector<ModelVersion>& value) { m_modelVersionsHasBeenSet = true; m_modelVersions = value; }
265 
269  inline void SetModelVersions(Aws::Vector<ModelVersion>&& value) { m_modelVersionsHasBeenSet = true; m_modelVersions = std::move(value); }
270 
274  inline UpdateDetectorVersionRequest& WithModelVersions(const Aws::Vector<ModelVersion>& value) { SetModelVersions(value); return *this;}
275 
279  inline UpdateDetectorVersionRequest& WithModelVersions(Aws::Vector<ModelVersion>&& value) { SetModelVersions(std::move(value)); return *this;}
280 
284  inline UpdateDetectorVersionRequest& AddModelVersions(const ModelVersion& value) { m_modelVersionsHasBeenSet = true; m_modelVersions.push_back(value); return *this; }
285 
289  inline UpdateDetectorVersionRequest& AddModelVersions(ModelVersion&& value) { m_modelVersionsHasBeenSet = true; m_modelVersions.push_back(std::move(value)); return *this; }
290 
291 
302  inline const RuleExecutionMode& GetRuleExecutionMode() const{ return m_ruleExecutionMode; }
303 
314  inline bool RuleExecutionModeHasBeenSet() const { return m_ruleExecutionModeHasBeenSet; }
315 
326  inline void SetRuleExecutionMode(const RuleExecutionMode& value) { m_ruleExecutionModeHasBeenSet = true; m_ruleExecutionMode = value; }
327 
338  inline void SetRuleExecutionMode(RuleExecutionMode&& value) { m_ruleExecutionModeHasBeenSet = true; m_ruleExecutionMode = std::move(value); }
339 
350  inline UpdateDetectorVersionRequest& WithRuleExecutionMode(const RuleExecutionMode& value) { SetRuleExecutionMode(value); return *this;}
351 
362  inline UpdateDetectorVersionRequest& WithRuleExecutionMode(RuleExecutionMode&& value) { SetRuleExecutionMode(std::move(value)); return *this;}
363 
364  private:
365 
366  Aws::String m_detectorId;
367  bool m_detectorIdHasBeenSet;
368 
369  Aws::String m_detectorVersionId;
370  bool m_detectorVersionIdHasBeenSet;
371 
372  Aws::Vector<Aws::String> m_externalModelEndpoints;
373  bool m_externalModelEndpointsHasBeenSet;
374 
375  Aws::Vector<Rule> m_rules;
376  bool m_rulesHasBeenSet;
377 
378  Aws::String m_description;
379  bool m_descriptionHasBeenSet;
380 
381  Aws::Vector<ModelVersion> m_modelVersions;
382  bool m_modelVersionsHasBeenSet;
383 
384  RuleExecutionMode m_ruleExecutionMode;
385  bool m_ruleExecutionModeHasBeenSet;
386  };
387 
388 } // namespace Model
389 } // namespace FraudDetector
390 } // namespace Aws
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetRules
const Aws::Vector< Rule > & GetRules() const
Definition: UpdateDetectorVersionRequest.h:172
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDescription
void SetDescription(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:223
Aws::FraudDetector::Model::RuleExecutionMode
RuleExecutionMode
Definition: RuleExecutionMode.h:17
FraudDetectorRequest.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorId
UpdateDetectorVersionRequest & WithDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:69
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetDetectorVersionId
const Aws::String & GetDetectorVersionId() const
Definition: UpdateDetectorVersionRequest.h:85
Aws::Http::HeaderValueCollection
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
Definition: HttpTypes.h:53
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddRules
UpdateDetectorVersionRequest & AddRules(const Rule &value)
Definition: UpdateDetectorVersionRequest.h:202
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::ExternalModelEndpointsHasBeenSet
bool ExternalModelEndpointsHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:131
FraudDetector_EXPORTS.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithRuleExecutionMode
UpdateDetectorVersionRequest & WithRuleExecutionMode(RuleExecutionMode &&value)
Definition: UpdateDetectorVersionRequest.h:362
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithModelVersions
UpdateDetectorVersionRequest & WithModelVersions(Aws::Vector< ModelVersion > &&value)
Definition: UpdateDetectorVersionRequest.h:279
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetServiceRequestName
virtual const char * GetServiceRequestName() const override
Definition: UpdateDetectorVersionRequest.h:34
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorId
UpdateDetectorVersionRequest & WithDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:74
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::DetectorIdHasBeenSet
bool DetectorIdHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:49
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorId
void SetDetectorId(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:54
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDescription
void SetDescription(const char *value)
Definition: UpdateDetectorVersionRequest.h:233
ModelVersion.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetDetectorId
const Aws::String & GetDetectorId() const
Definition: UpdateDetectorVersionRequest.h:44
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorVersionId
UpdateDetectorVersionRequest & WithDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:110
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithRuleExecutionMode
UpdateDetectorVersionRequest & WithRuleExecutionMode(const RuleExecutionMode &value)
Definition: UpdateDetectorVersionRequest.h:350
Aws::Vector
std::vector< T, Aws::Allocator< T > > Vector
Definition: AWSVector.h:17
AWSVector.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDescription
UpdateDetectorVersionRequest & WithDescription(const char *value)
Definition: UpdateDetectorVersionRequest.h:248
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddRules
UpdateDetectorVersionRequest & AddRules(Rule &&value)
Definition: UpdateDetectorVersionRequest.h:207
Aws::FraudDetector::FraudDetectorRequest
Definition: FraudDetectorRequest.h:17
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetRuleExecutionMode
void SetRuleExecutionMode(RuleExecutionMode &&value)
Definition: UpdateDetectorVersionRequest.h:338
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithModelVersions
UpdateDetectorVersionRequest & WithModelVersions(const Aws::Vector< ModelVersion > &value)
Definition: UpdateDetectorVersionRequest.h:274
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::RulesHasBeenSet
bool RulesHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:177
RuleExecutionMode.h
AWS_FRAUDDETECTOR_API
#define AWS_FRAUDDETECTOR_API
Definition: FraudDetector_EXPORTS.h:28
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorId
void SetDetectorId(const char *value)
Definition: UpdateDetectorVersionRequest.h:64
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithExternalModelEndpoints
UpdateDetectorVersionRequest & WithExternalModelEndpoints(const Aws::Vector< Aws::String > &value)
Definition: UpdateDetectorVersionRequest.h:146
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::ModelVersionsHasBeenSet
bool ModelVersionsHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:259
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetRequestSpecificHeaders
Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddModelVersions
UpdateDetectorVersionRequest & AddModelVersions(ModelVersion &&value)
Definition: UpdateDetectorVersionRequest.h:289
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithRules
UpdateDetectorVersionRequest & WithRules(const Aws::Vector< Rule > &value)
Definition: UpdateDetectorVersionRequest.h:192
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithExternalModelEndpoints
UpdateDetectorVersionRequest & WithExternalModelEndpoints(Aws::Vector< Aws::String > &&value)
Definition: UpdateDetectorVersionRequest.h:151
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetExternalModelEndpoints
const Aws::Vector< Aws::String > & GetExternalModelEndpoints() const
Definition: UpdateDetectorVersionRequest.h:126
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddExternalModelEndpoints
UpdateDetectorVersionRequest & AddExternalModelEndpoints(const char *value)
Definition: UpdateDetectorVersionRequest.h:166
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:95
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddExternalModelEndpoints
UpdateDetectorVersionRequest & AddExternalModelEndpoints(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:156
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddModelVersions
UpdateDetectorVersionRequest & AddModelVersions(const ModelVersion &value)
Definition: UpdateDetectorVersionRequest.h:284
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDescription
UpdateDetectorVersionRequest & WithDescription(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:243
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetDescription
const Aws::String & GetDescription() const
Definition: UpdateDetectorVersionRequest.h:213
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDescription
void SetDescription(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:228
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorId
void SetDetectorId(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:59
AWSString.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::DetectorVersionIdHasBeenSet
bool DetectorVersionIdHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:90
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::UpdateDetectorVersionRequest
UpdateDetectorVersionRequest()
Aws::FraudDetector::Model::Rule
Definition: Rule.h:32
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::DescriptionHasBeenSet
bool DescriptionHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:218
Rule.h
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetRules
void SetRules(Aws::Vector< Rule > &&value)
Definition: UpdateDetectorVersionRequest.h:187
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SerializePayload
Aws::String SerializePayload() const override
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionRequest.h:105
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetModelVersions
const Aws::Vector< ModelVersion > & GetModelVersions() const
Definition: UpdateDetectorVersionRequest.h:254
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorId
UpdateDetectorVersionRequest & WithDetectorId(const char *value)
Definition: UpdateDetectorVersionRequest.h:79
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetExternalModelEndpoints
void SetExternalModelEndpoints(Aws::Vector< Aws::String > &&value)
Definition: UpdateDetectorVersionRequest.h:141
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::GetRuleExecutionMode
const RuleExecutionMode & GetRuleExecutionMode() const
Definition: UpdateDetectorVersionRequest.h:302
Aws
Definition: AccessManagementClient.h:15
Aws::FraudDetector::Model::UpdateDetectorVersionRequest
Definition: UpdateDetectorVersionRequest.h:26
Aws::FraudDetector::Model::ModelVersion
Definition: ModelVersion.h:33
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetModelVersions
void SetModelVersions(const Aws::Vector< ModelVersion > &value)
Definition: UpdateDetectorVersionRequest.h:264
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::AddExternalModelEndpoints
UpdateDetectorVersionRequest & AddExternalModelEndpoints(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:161
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDescription
UpdateDetectorVersionRequest & WithDescription(const Aws::String &value)
Definition: UpdateDetectorVersionRequest.h:238
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorVersionId
UpdateDetectorVersionRequest & WithDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:115
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetRules
void SetRules(const Aws::Vector< Rule > &value)
Definition: UpdateDetectorVersionRequest.h:182
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::RuleExecutionModeHasBeenSet
bool RuleExecutionModeHasBeenSet() const
Definition: UpdateDetectorVersionRequest.h:314
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetExternalModelEndpoints
void SetExternalModelEndpoints(const Aws::Vector< Aws::String > &value)
Definition: UpdateDetectorVersionRequest.h:136
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithRules
UpdateDetectorVersionRequest & WithRules(Aws::Vector< Rule > &&value)
Definition: UpdateDetectorVersionRequest.h:197
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetModelVersions
void SetModelVersions(Aws::Vector< ModelVersion > &&value)
Definition: UpdateDetectorVersionRequest.h:269
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetDetectorVersionId
void SetDetectorVersionId(Aws::String &&value)
Definition: UpdateDetectorVersionRequest.h:100
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::SetRuleExecutionMode
void SetRuleExecutionMode(const RuleExecutionMode &value)
Definition: UpdateDetectorVersionRequest.h:326
Aws::FraudDetector::Model::UpdateDetectorVersionRequest::WithDetectorVersionId
UpdateDetectorVersionRequest & WithDetectorVersionId(const char *value)
Definition: UpdateDetectorVersionRequest.h:120