AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
38
39
41
44 inline const Aws::String& GetDetectorId() const { return m_detectorId; }
45 template<typename DetectorIdT = Aws::String>
46 void SetDetectorId(DetectorIdT&& value) { m_detectorIdHasBeenSet = true; m_detectorId = std::forward<DetectorIdT>(value); }
47 template<typename DetectorIdT = Aws::String>
48 GetDetectorVersionResult& WithDetectorId(DetectorIdT&& value) { SetDetectorId(std::forward<DetectorIdT>(value)); return *this;}
50
52
55 inline const Aws::String& GetDetectorVersionId() const { return m_detectorVersionId; }
56 template<typename DetectorVersionIdT = Aws::String>
57 void SetDetectorVersionId(DetectorVersionIdT&& value) { m_detectorVersionIdHasBeenSet = true; m_detectorVersionId = std::forward<DetectorVersionIdT>(value); }
58 template<typename DetectorVersionIdT = Aws::String>
59 GetDetectorVersionResult& WithDetectorVersionId(DetectorVersionIdT&& value) { SetDetectorVersionId(std::forward<DetectorVersionIdT>(value)); return *this;}
61
63
66 inline const Aws::String& GetDescription() const { return m_description; }
67 template<typename DescriptionT = Aws::String>
68 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
69 template<typename DescriptionT = Aws::String>
70 GetDetectorVersionResult& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
72
74
77 inline const Aws::Vector<Aws::String>& GetExternalModelEndpoints() const { return m_externalModelEndpoints; }
78 template<typename ExternalModelEndpointsT = Aws::Vector<Aws::String>>
79 void SetExternalModelEndpoints(ExternalModelEndpointsT&& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints = std::forward<ExternalModelEndpointsT>(value); }
80 template<typename ExternalModelEndpointsT = Aws::Vector<Aws::String>>
81 GetDetectorVersionResult& WithExternalModelEndpoints(ExternalModelEndpointsT&& value) { SetExternalModelEndpoints(std::forward<ExternalModelEndpointsT>(value)); return *this;}
82 template<typename ExternalModelEndpointsT = Aws::String>
83 GetDetectorVersionResult& AddExternalModelEndpoints(ExternalModelEndpointsT&& value) { m_externalModelEndpointsHasBeenSet = true; m_externalModelEndpoints.emplace_back(std::forward<ExternalModelEndpointsT>(value)); return *this; }
85
87
90 inline const Aws::Vector<ModelVersion>& GetModelVersions() const { return m_modelVersions; }
91 template<typename ModelVersionsT = Aws::Vector<ModelVersion>>
92 void SetModelVersions(ModelVersionsT&& value) { m_modelVersionsHasBeenSet = true; m_modelVersions = std::forward<ModelVersionsT>(value); }
93 template<typename ModelVersionsT = Aws::Vector<ModelVersion>>
94 GetDetectorVersionResult& WithModelVersions(ModelVersionsT&& value) { SetModelVersions(std::forward<ModelVersionsT>(value)); return *this;}
95 template<typename ModelVersionsT = ModelVersion>
96 GetDetectorVersionResult& AddModelVersions(ModelVersionsT&& value) { m_modelVersionsHasBeenSet = true; m_modelVersions.emplace_back(std::forward<ModelVersionsT>(value)); return *this; }
98
100
103 inline const Aws::Vector<Rule>& GetRules() const { return m_rules; }
104 template<typename RulesT = Aws::Vector<Rule>>
105 void SetRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules = std::forward<RulesT>(value); }
106 template<typename RulesT = Aws::Vector<Rule>>
107 GetDetectorVersionResult& WithRules(RulesT&& value) { SetRules(std::forward<RulesT>(value)); return *this;}
108 template<typename RulesT = Rule>
109 GetDetectorVersionResult& AddRules(RulesT&& value) { m_rulesHasBeenSet = true; m_rules.emplace_back(std::forward<RulesT>(value)); return *this; }
111
113
116 inline DetectorVersionStatus GetStatus() const { return m_status; }
117 inline void SetStatus(DetectorVersionStatus value) { m_statusHasBeenSet = true; m_status = value; }
120
122
125 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
126 template<typename LastUpdatedTimeT = Aws::String>
127 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
128 template<typename LastUpdatedTimeT = Aws::String>
129 GetDetectorVersionResult& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
131
133
136 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
137 template<typename CreatedTimeT = Aws::String>
138 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
139 template<typename CreatedTimeT = Aws::String>
140 GetDetectorVersionResult& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
142
144
153 inline RuleExecutionMode GetRuleExecutionMode() const { return m_ruleExecutionMode; }
154 inline void SetRuleExecutionMode(RuleExecutionMode value) { m_ruleExecutionModeHasBeenSet = true; m_ruleExecutionMode = value; }
157
159
162 inline const Aws::String& GetArn() const { return m_arn; }
163 template<typename ArnT = Aws::String>
164 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
165 template<typename ArnT = Aws::String>
166 GetDetectorVersionResult& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
168
170
171 inline const Aws::String& GetRequestId() const { return m_requestId; }
172 template<typename RequestIdT = Aws::String>
173 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
174 template<typename RequestIdT = Aws::String>
175 GetDetectorVersionResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
177 private:
178
179 Aws::String m_detectorId;
180 bool m_detectorIdHasBeenSet = false;
181
182 Aws::String m_detectorVersionId;
183 bool m_detectorVersionIdHasBeenSet = false;
184
185 Aws::String m_description;
186 bool m_descriptionHasBeenSet = false;
187
188 Aws::Vector<Aws::String> m_externalModelEndpoints;
189 bool m_externalModelEndpointsHasBeenSet = false;
190
191 Aws::Vector<ModelVersion> m_modelVersions;
192 bool m_modelVersionsHasBeenSet = false;
193
194 Aws::Vector<Rule> m_rules;
195 bool m_rulesHasBeenSet = false;
196
198 bool m_statusHasBeenSet = false;
199
200 Aws::String m_lastUpdatedTime;
201 bool m_lastUpdatedTimeHasBeenSet = false;
202
203 Aws::String m_createdTime;
204 bool m_createdTimeHasBeenSet = false;
205
207 bool m_ruleExecutionModeHasBeenSet = false;
208
209 Aws::String m_arn;
210 bool m_arnHasBeenSet = false;
211
212 Aws::String m_requestId;
213 bool m_requestIdHasBeenSet = false;
214 };
215
216} // namespace Model
217} // namespace FraudDetector
218} // namespace Aws
void SetExternalModelEndpoints(ExternalModelEndpointsT &&value)
GetDetectorVersionResult & WithModelVersions(ModelVersionsT &&value)
GetDetectorVersionResult & WithCreatedTime(CreatedTimeT &&value)
const Aws::Vector< ModelVersion > & GetModelVersions() const
GetDetectorVersionResult & AddExternalModelEndpoints(ExternalModelEndpointsT &&value)
AWS_FRAUDDETECTOR_API GetDetectorVersionResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDetectorVersionResult & WithRules(RulesT &&value)
GetDetectorVersionResult & WithDetectorId(DetectorIdT &&value)
GetDetectorVersionResult & WithDetectorVersionId(DetectorVersionIdT &&value)
AWS_FRAUDDETECTOR_API GetDetectorVersionResult()=default
GetDetectorVersionResult & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_FRAUDDETECTOR_API GetDetectorVersionResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetDetectorVersionResult & WithDescription(DescriptionT &&value)
GetDetectorVersionResult & WithStatus(DetectorVersionStatus value)
GetDetectorVersionResult & AddModelVersions(ModelVersionsT &&value)
GetDetectorVersionResult & WithRuleExecutionMode(RuleExecutionMode value)
GetDetectorVersionResult & WithRequestId(RequestIdT &&value)
GetDetectorVersionResult & AddRules(RulesT &&value)
const Aws::Vector< Aws::String > & GetExternalModelEndpoints() const
GetDetectorVersionResult & WithExternalModelEndpoints(ExternalModelEndpointsT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue