AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EvaluatedExternalModel.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/AWSMap.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace FraudDetector
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_FRAUDDETECTOR_API EvaluatedExternalModel();
37 AWS_FRAUDDETECTOR_API EvaluatedExternalModel(Aws::Utils::Json::JsonView jsonValue);
39 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetModelEndpoint() const{ return m_modelEndpoint; }
47 inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
48 inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
49 inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
50 inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
51 inline EvaluatedExternalModel& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
52 inline EvaluatedExternalModel& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
53 inline EvaluatedExternalModel& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
55
57
60 inline bool GetUseEventVariables() const{ return m_useEventVariables; }
61 inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; }
62 inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; }
63 inline EvaluatedExternalModel& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;}
65
67
70 inline const Aws::Map<Aws::String, Aws::String>& GetInputVariables() const{ return m_inputVariables; }
71 inline bool InputVariablesHasBeenSet() const { return m_inputVariablesHasBeenSet; }
72 inline void SetInputVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_inputVariablesHasBeenSet = true; m_inputVariables = value; }
73 inline void SetInputVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables = std::move(value); }
76 inline EvaluatedExternalModel& AddInputVariables(const Aws::String& key, const Aws::String& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, value); return *this; }
77 inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, const Aws::String& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), value); return *this; }
78 inline EvaluatedExternalModel& AddInputVariables(const Aws::String& key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, std::move(value)); return *this; }
79 inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), std::move(value)); return *this; }
80 inline EvaluatedExternalModel& AddInputVariables(const char* key, Aws::String&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, std::move(value)); return *this; }
81 inline EvaluatedExternalModel& AddInputVariables(Aws::String&& key, const char* value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::move(key), value); return *this; }
82 inline EvaluatedExternalModel& AddInputVariables(const char* key, const char* value) { m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(key, value); return *this; }
84
86
89 inline const Aws::Map<Aws::String, Aws::String>& GetOutputVariables() const{ return m_outputVariables; }
90 inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; }
91 inline void SetOutputVariables(const Aws::Map<Aws::String, Aws::String>& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = value; }
92 inline void SetOutputVariables(Aws::Map<Aws::String, Aws::String>&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::move(value); }
95 inline EvaluatedExternalModel& AddOutputVariables(const Aws::String& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
96 inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, const Aws::String& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
97 inline EvaluatedExternalModel& AddOutputVariables(const Aws::String& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
98 inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), std::move(value)); return *this; }
99 inline EvaluatedExternalModel& AddOutputVariables(const char* key, Aws::String&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, std::move(value)); return *this; }
100 inline EvaluatedExternalModel& AddOutputVariables(Aws::String&& key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::move(key), value); return *this; }
101 inline EvaluatedExternalModel& AddOutputVariables(const char* key, const char* value) { m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(key, value); return *this; }
103 private:
104
105 Aws::String m_modelEndpoint;
106 bool m_modelEndpointHasBeenSet = false;
107
108 bool m_useEventVariables;
109 bool m_useEventVariablesHasBeenSet = false;
110
111 Aws::Map<Aws::String, Aws::String> m_inputVariables;
112 bool m_inputVariablesHasBeenSet = false;
113
114 Aws::Map<Aws::String, Aws::String> m_outputVariables;
115 bool m_outputVariablesHasBeenSet = false;
116 };
117
118} // namespace Model
119} // namespace FraudDetector
120} // namespace Aws
EvaluatedExternalModel & WithInputVariables(const Aws::Map< Aws::String, Aws::String > &value)
EvaluatedExternalModel & AddOutputVariables(Aws::String &&key, Aws::String &&value)
EvaluatedExternalModel & AddInputVariables(const char *key, const char *value)
EvaluatedExternalModel & WithUseEventVariables(bool value)
EvaluatedExternalModel & AddOutputVariables(Aws::String &&key, const char *value)
EvaluatedExternalModel & AddInputVariables(const Aws::String &key, Aws::String &&value)
EvaluatedExternalModel & WithOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
EvaluatedExternalModel & AddInputVariables(const char *key, Aws::String &&value)
EvaluatedExternalModel & WithModelEndpoint(const Aws::String &value)
AWS_FRAUDDETECTOR_API EvaluatedExternalModel & operator=(Aws::Utils::Json::JsonView jsonValue)
EvaluatedExternalModel & WithModelEndpoint(const char *value)
const Aws::Map< Aws::String, Aws::String > & GetInputVariables() const
void SetOutputVariables(Aws::Map< Aws::String, Aws::String > &&value)
EvaluatedExternalModel & AddInputVariables(Aws::String &&key, const char *value)
EvaluatedExternalModel & AddInputVariables(const Aws::String &key, const Aws::String &value)
EvaluatedExternalModel & WithInputVariables(Aws::Map< Aws::String, Aws::String > &&value)
EvaluatedExternalModel & AddOutputVariables(const Aws::String &key, const Aws::String &value)
EvaluatedExternalModel & AddOutputVariables(const char *key, const char *value)
EvaluatedExternalModel & AddOutputVariables(Aws::String &&key, const Aws::String &value)
EvaluatedExternalModel & AddOutputVariables(const char *key, Aws::String &&value)
void SetInputVariables(Aws::Map< Aws::String, Aws::String > &&value)
EvaluatedExternalModel & AddOutputVariables(const Aws::String &key, Aws::String &&value)
void SetOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
EvaluatedExternalModel & AddInputVariables(Aws::String &&key, const Aws::String &value)
EvaluatedExternalModel & AddInputVariables(Aws::String &&key, Aws::String &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetOutputVariables() const
EvaluatedExternalModel & WithOutputVariables(const Aws::Map< Aws::String, Aws::String > &value)
EvaluatedExternalModel & WithModelEndpoint(Aws::String &&value)
AWS_FRAUDDETECTOR_API EvaluatedExternalModel(Aws::Utils::Json::JsonView jsonValue)
void SetInputVariables(const Aws::Map< Aws::String, Aws::String > &value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue