AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetDetectorVersionResult.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/frauddetector/model/DetectorVersionStatus.h>
11#include <aws/frauddetector/model/RuleExecutionMode.h>
12#include <aws/frauddetector/model/ModelVersion.h>
13#include <aws/frauddetector/model/Rule.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace FraudDetector
29{
30namespace Model
31{
33 {
34 public:
35 AWS_FRAUDDETECTOR_API GetDetectorVersionResult();
38
39
41
44 inline const Aws::String& GetDetectorId() const{ return m_detectorId; }
45 inline void SetDetectorId(const Aws::String& value) { m_detectorId = value; }
46 inline void SetDetectorId(Aws::String&& value) { m_detectorId = std::move(value); }
47 inline void SetDetectorId(const char* value) { m_detectorId.assign(value); }
48 inline GetDetectorVersionResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;}
49 inline GetDetectorVersionResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;}
50 inline GetDetectorVersionResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;}
52
54
57 inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; }
58 inline void SetDetectorVersionId(const Aws::String& value) { m_detectorVersionId = value; }
59 inline void SetDetectorVersionId(Aws::String&& value) { m_detectorVersionId = std::move(value); }
60 inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); }
62 inline GetDetectorVersionResult& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;}
63 inline GetDetectorVersionResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;}
65
67
70 inline const Aws::String& GetDescription() const{ return m_description; }
71 inline void SetDescription(const Aws::String& value) { m_description = value; }
72 inline void SetDescription(Aws::String&& value) { m_description = std::move(value); }
73 inline void SetDescription(const char* value) { m_description.assign(value); }
74 inline GetDetectorVersionResult& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
75 inline GetDetectorVersionResult& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
76 inline GetDetectorVersionResult& WithDescription(const char* value) { SetDescription(value); return *this;}
78
80
83 inline const Aws::Vector<Aws::String>& GetExternalModelEndpoints() const{ return m_externalModelEndpoints; }
84 inline void SetExternalModelEndpoints(const Aws::Vector<Aws::String>& value) { m_externalModelEndpoints = value; }
85 inline void SetExternalModelEndpoints(Aws::Vector<Aws::String>&& value) { m_externalModelEndpoints = std::move(value); }
88 inline GetDetectorVersionResult& AddExternalModelEndpoints(const Aws::String& value) { m_externalModelEndpoints.push_back(value); return *this; }
89 inline GetDetectorVersionResult& AddExternalModelEndpoints(Aws::String&& value) { m_externalModelEndpoints.push_back(std::move(value)); return *this; }
90 inline GetDetectorVersionResult& AddExternalModelEndpoints(const char* value) { m_externalModelEndpoints.push_back(value); return *this; }
92
94
97 inline const Aws::Vector<ModelVersion>& GetModelVersions() const{ return m_modelVersions; }
98 inline void SetModelVersions(const Aws::Vector<ModelVersion>& value) { m_modelVersions = value; }
99 inline void SetModelVersions(Aws::Vector<ModelVersion>&& value) { m_modelVersions = std::move(value); }
102 inline GetDetectorVersionResult& AddModelVersions(const ModelVersion& value) { m_modelVersions.push_back(value); return *this; }
103 inline GetDetectorVersionResult& AddModelVersions(ModelVersion&& value) { m_modelVersions.push_back(std::move(value)); return *this; }
105
107
110 inline const Aws::Vector<Rule>& GetRules() const{ return m_rules; }
111 inline void SetRules(const Aws::Vector<Rule>& value) { m_rules = value; }
112 inline void SetRules(Aws::Vector<Rule>&& value) { m_rules = std::move(value); }
113 inline GetDetectorVersionResult& WithRules(const Aws::Vector<Rule>& value) { SetRules(value); return *this;}
114 inline GetDetectorVersionResult& WithRules(Aws::Vector<Rule>&& value) { SetRules(std::move(value)); return *this;}
115 inline GetDetectorVersionResult& AddRules(const Rule& value) { m_rules.push_back(value); return *this; }
116 inline GetDetectorVersionResult& AddRules(Rule&& value) { m_rules.push_back(std::move(value)); return *this; }
118
120
123 inline const DetectorVersionStatus& GetStatus() const{ return m_status; }
124 inline void SetStatus(const DetectorVersionStatus& value) { m_status = value; }
125 inline void SetStatus(DetectorVersionStatus&& value) { m_status = std::move(value); }
126 inline GetDetectorVersionResult& WithStatus(const DetectorVersionStatus& value) { SetStatus(value); return *this;}
127 inline GetDetectorVersionResult& WithStatus(DetectorVersionStatus&& value) { SetStatus(std::move(value)); return *this;}
129
131
134 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
135 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTime = value; }
136 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTime = std::move(value); }
137 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTime.assign(value); }
138 inline GetDetectorVersionResult& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
139 inline GetDetectorVersionResult& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
140 inline GetDetectorVersionResult& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
142
144
147 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
148 inline void SetCreatedTime(const Aws::String& value) { m_createdTime = value; }
149 inline void SetCreatedTime(Aws::String&& value) { m_createdTime = std::move(value); }
150 inline void SetCreatedTime(const char* value) { m_createdTime.assign(value); }
151 inline GetDetectorVersionResult& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
152 inline GetDetectorVersionResult& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
153 inline GetDetectorVersionResult& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
155
157
166 inline const RuleExecutionMode& GetRuleExecutionMode() const{ return m_ruleExecutionMode; }
167 inline void SetRuleExecutionMode(const RuleExecutionMode& value) { m_ruleExecutionMode = value; }
168 inline void SetRuleExecutionMode(RuleExecutionMode&& value) { m_ruleExecutionMode = std::move(value); }
172
174
177 inline const Aws::String& GetArn() const{ return m_arn; }
178 inline void SetArn(const Aws::String& value) { m_arn = value; }
179 inline void SetArn(Aws::String&& value) { m_arn = std::move(value); }
180 inline void SetArn(const char* value) { m_arn.assign(value); }
181 inline GetDetectorVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;}
182 inline GetDetectorVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
183 inline GetDetectorVersionResult& WithArn(const char* value) { SetArn(value); return *this;}
185
187
188 inline const Aws::String& GetRequestId() const{ return m_requestId; }
189 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
190 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
191 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
192 inline GetDetectorVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
193 inline GetDetectorVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
194 inline GetDetectorVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
196 private:
197
198 Aws::String m_detectorId;
199
200 Aws::String m_detectorVersionId;
201
202 Aws::String m_description;
203
204 Aws::Vector<Aws::String> m_externalModelEndpoints;
205
206 Aws::Vector<ModelVersion> m_modelVersions;
207
208 Aws::Vector<Rule> m_rules;
209
210 DetectorVersionStatus m_status;
211
212 Aws::String m_lastUpdatedTime;
213
214 Aws::String m_createdTime;
215
216 RuleExecutionMode m_ruleExecutionMode;
217
218 Aws::String m_arn;
219
220 Aws::String m_requestId;
221 };
222
223} // namespace Model
224} // namespace FraudDetector
225} // namespace Aws
GetDetectorVersionResult & WithModelVersions(Aws::Vector< ModelVersion > &&value)
void SetModelVersions(const Aws::Vector< ModelVersion > &value)
GetDetectorVersionResult & WithRuleExecutionMode(const RuleExecutionMode &value)
const Aws::Vector< ModelVersion > & GetModelVersions() const
GetDetectorVersionResult & WithArn(Aws::String &&value)
GetDetectorVersionResult & WithRequestId(Aws::String &&value)
GetDetectorVersionResult & AddExternalModelEndpoints(const char *value)
GetDetectorVersionResult & WithDescription(Aws::String &&value)
GetDetectorVersionResult & WithLastUpdatedTime(const Aws::String &value)
AWS_FRAUDDETECTOR_API GetDetectorVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDetectorVersionResult & WithDetectorVersionId(const char *value)
GetDetectorVersionResult & WithDetectorId(const Aws::String &value)
GetDetectorVersionResult & WithLastUpdatedTime(const char *value)
GetDetectorVersionResult & WithDetectorId(Aws::String &&value)
void SetExternalModelEndpoints(const Aws::Vector< Aws::String > &value)
GetDetectorVersionResult & AddExternalModelEndpoints(const Aws::String &value)
GetDetectorVersionResult & AddExternalModelEndpoints(Aws::String &&value)
GetDetectorVersionResult & WithRules(Aws::Vector< Rule > &&value)
GetDetectorVersionResult & WithLastUpdatedTime(Aws::String &&value)
GetDetectorVersionResult & WithRuleExecutionMode(RuleExecutionMode &&value)
GetDetectorVersionResult & WithDetectorVersionId(const Aws::String &value)
GetDetectorVersionResult & WithCreatedTime(const Aws::String &value)
GetDetectorVersionResult & WithCreatedTime(Aws::String &&value)
GetDetectorVersionResult & WithRequestId(const char *value)
AWS_FRAUDDETECTOR_API GetDetectorVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDetectorVersionResult & WithArn(const char *value)
GetDetectorVersionResult & WithStatus(DetectorVersionStatus &&value)
GetDetectorVersionResult & WithDetectorId(const char *value)
GetDetectorVersionResult & WithDescription(const char *value)
GetDetectorVersionResult & AddModelVersions(ModelVersion &&value)
GetDetectorVersionResult & WithStatus(const DetectorVersionStatus &value)
void SetExternalModelEndpoints(Aws::Vector< Aws::String > &&value)
GetDetectorVersionResult & WithExternalModelEndpoints(const Aws::Vector< Aws::String > &value)
GetDetectorVersionResult & AddModelVersions(const ModelVersion &value)
GetDetectorVersionResult & WithRules(const Aws::Vector< Rule > &value)
GetDetectorVersionResult & WithExternalModelEndpoints(Aws::Vector< Aws::String > &&value)
GetDetectorVersionResult & WithRequestId(const Aws::String &value)
GetDetectorVersionResult & WithArn(const Aws::String &value)
GetDetectorVersionResult & WithDetectorVersionId(Aws::String &&value)
GetDetectorVersionResult & WithDescription(const Aws::String &value)
GetDetectorVersionResult & AddRules(const Rule &value)
GetDetectorVersionResult & WithCreatedTime(const char *value)
void SetModelVersions(Aws::Vector< ModelVersion > &&value)
GetDetectorVersionResult & WithModelVersions(const Aws::Vector< ModelVersion > &value)
const Aws::Vector< Aws::String > & GetExternalModelEndpoints() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue