AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
EvaluatedModelVersion.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/ModelVersionEvaluation.h>
11#include <utility>
12
13namespace Aws
14{
15namespace Utils
16{
17namespace Json
18{
19 class JsonValue;
20 class JsonView;
21} // namespace Json
22} // namespace Utils
23namespace FraudDetector
24{
25namespace Model
26{
27
35 {
36 public:
37 AWS_FRAUDDETECTOR_API EvaluatedModelVersion() = default;
38 AWS_FRAUDDETECTOR_API EvaluatedModelVersion(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
41
42
44
47 inline const Aws::String& GetModelId() const { return m_modelId; }
48 inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; }
49 template<typename ModelIdT = Aws::String>
50 void SetModelId(ModelIdT&& value) { m_modelIdHasBeenSet = true; m_modelId = std::forward<ModelIdT>(value); }
51 template<typename ModelIdT = Aws::String>
52 EvaluatedModelVersion& WithModelId(ModelIdT&& value) { SetModelId(std::forward<ModelIdT>(value)); return *this;}
54
56
59 inline const Aws::String& GetModelVersion() const { return m_modelVersion; }
60 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
61 template<typename ModelVersionT = Aws::String>
62 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::forward<ModelVersionT>(value); }
63 template<typename ModelVersionT = Aws::String>
64 EvaluatedModelVersion& WithModelVersion(ModelVersionT&& value) { SetModelVersion(std::forward<ModelVersionT>(value)); return *this;}
66
68
72 inline const Aws::String& GetModelType() const { return m_modelType; }
73 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
74 template<typename ModelTypeT = Aws::String>
75 void SetModelType(ModelTypeT&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::forward<ModelTypeT>(value); }
76 template<typename ModelTypeT = Aws::String>
77 EvaluatedModelVersion& WithModelType(ModelTypeT&& value) { SetModelType(std::forward<ModelTypeT>(value)); return *this;}
79
81
84 inline const Aws::Vector<ModelVersionEvaluation>& GetEvaluations() const { return m_evaluations; }
85 inline bool EvaluationsHasBeenSet() const { return m_evaluationsHasBeenSet; }
86 template<typename EvaluationsT = Aws::Vector<ModelVersionEvaluation>>
87 void SetEvaluations(EvaluationsT&& value) { m_evaluationsHasBeenSet = true; m_evaluations = std::forward<EvaluationsT>(value); }
88 template<typename EvaluationsT = Aws::Vector<ModelVersionEvaluation>>
89 EvaluatedModelVersion& WithEvaluations(EvaluationsT&& value) { SetEvaluations(std::forward<EvaluationsT>(value)); return *this;}
90 template<typename EvaluationsT = ModelVersionEvaluation>
91 EvaluatedModelVersion& AddEvaluations(EvaluationsT&& value) { m_evaluationsHasBeenSet = true; m_evaluations.emplace_back(std::forward<EvaluationsT>(value)); return *this; }
93 private:
94
95 Aws::String m_modelId;
96 bool m_modelIdHasBeenSet = false;
97
98 Aws::String m_modelVersion;
99 bool m_modelVersionHasBeenSet = false;
100
101 Aws::String m_modelType;
102 bool m_modelTypeHasBeenSet = false;
103
105 bool m_evaluationsHasBeenSet = false;
106 };
107
108} // namespace Model
109} // namespace FraudDetector
110} // namespace Aws
const Aws::Vector< ModelVersionEvaluation > & GetEvaluations() const
EvaluatedModelVersion & AddEvaluations(EvaluationsT &&value)
EvaluatedModelVersion & WithModelVersion(ModelVersionT &&value)
EvaluatedModelVersion & WithEvaluations(EvaluationsT &&value)
AWS_FRAUDDETECTOR_API EvaluatedModelVersion()=default
AWS_FRAUDDETECTOR_API EvaluatedModelVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
AWS_FRAUDDETECTOR_API EvaluatedModelVersion(Aws::Utils::Json::JsonView jsonValue)
EvaluatedModelVersion & WithModelType(ModelTypeT &&value)
EvaluatedModelVersion & WithModelId(ModelIdT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() 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