AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; }
50 inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); }
51 inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); }
52 inline EvaluatedModelVersion& WithModelId(const Aws::String& value) { SetModelId(value); return *this;}
53 inline EvaluatedModelVersion& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;}
54 inline EvaluatedModelVersion& WithModelId(const char* value) { SetModelId(value); return *this;}
56
58
61 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
62 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
63 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
64 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
65 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
66 inline EvaluatedModelVersion& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
67 inline EvaluatedModelVersion& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
68 inline EvaluatedModelVersion& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
70
72
76 inline const Aws::String& GetModelType() const{ return m_modelType; }
77 inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; }
78 inline void SetModelType(const Aws::String& value) { m_modelTypeHasBeenSet = true; m_modelType = value; }
79 inline void SetModelType(Aws::String&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); }
80 inline void SetModelType(const char* value) { m_modelTypeHasBeenSet = true; m_modelType.assign(value); }
81 inline EvaluatedModelVersion& WithModelType(const Aws::String& value) { SetModelType(value); return *this;}
82 inline EvaluatedModelVersion& WithModelType(Aws::String&& value) { SetModelType(std::move(value)); return *this;}
83 inline EvaluatedModelVersion& WithModelType(const char* value) { SetModelType(value); return *this;}
85
87
90 inline const Aws::Vector<ModelVersionEvaluation>& GetEvaluations() const{ return m_evaluations; }
91 inline bool EvaluationsHasBeenSet() const { return m_evaluationsHasBeenSet; }
92 inline void SetEvaluations(const Aws::Vector<ModelVersionEvaluation>& value) { m_evaluationsHasBeenSet = true; m_evaluations = value; }
93 inline void SetEvaluations(Aws::Vector<ModelVersionEvaluation>&& value) { m_evaluationsHasBeenSet = true; m_evaluations = std::move(value); }
96 inline EvaluatedModelVersion& AddEvaluations(const ModelVersionEvaluation& value) { m_evaluationsHasBeenSet = true; m_evaluations.push_back(value); return *this; }
97 inline EvaluatedModelVersion& AddEvaluations(ModelVersionEvaluation&& value) { m_evaluationsHasBeenSet = true; m_evaluations.push_back(std::move(value)); return *this; }
99 private:
100
101 Aws::String m_modelId;
102 bool m_modelIdHasBeenSet = false;
103
104 Aws::String m_modelVersion;
105 bool m_modelVersionHasBeenSet = false;
106
107 Aws::String m_modelType;
108 bool m_modelTypeHasBeenSet = false;
109
111 bool m_evaluationsHasBeenSet = false;
112 };
113
114} // namespace Model
115} // namespace FraudDetector
116} // namespace Aws
EvaluatedModelVersion & WithModelVersion(const Aws::String &value)
const Aws::Vector< ModelVersionEvaluation > & GetEvaluations() const
EvaluatedModelVersion & WithModelType(const char *value)
EvaluatedModelVersion & WithModelType(const Aws::String &value)
void SetEvaluations(Aws::Vector< ModelVersionEvaluation > &&value)
EvaluatedModelVersion & WithEvaluations(const Aws::Vector< ModelVersionEvaluation > &value)
AWS_FRAUDDETECTOR_API EvaluatedModelVersion & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetEvaluations(const Aws::Vector< ModelVersionEvaluation > &value)
EvaluatedModelVersion & WithEvaluations(Aws::Vector< ModelVersionEvaluation > &&value)
AWS_FRAUDDETECTOR_API EvaluatedModelVersion(Aws::Utils::Json::JsonView jsonValue)
EvaluatedModelVersion & WithModelId(const char *value)
EvaluatedModelVersion & AddEvaluations(ModelVersionEvaluation &&value)
EvaluatedModelVersion & WithModelVersion(const char *value)
EvaluatedModelVersion & WithModelId(Aws::String &&value)
EvaluatedModelVersion & AddEvaluations(const ModelVersionEvaluation &value)
EvaluatedModelVersion & WithModelId(const Aws::String &value)
EvaluatedModelVersion & WithModelVersion(Aws::String &&value)
EvaluatedModelVersion & WithModelType(Aws::String &&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