AWS SDK for C++

AWS SDK for C++ Version 1.11.607

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() = default;
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 template<typename ModelEndpointT = Aws::String>
49 void SetModelEndpoint(ModelEndpointT&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::forward<ModelEndpointT>(value); }
50 template<typename ModelEndpointT = Aws::String>
51 EvaluatedExternalModel& WithModelEndpoint(ModelEndpointT&& value) { SetModelEndpoint(std::forward<ModelEndpointT>(value)); return *this;}
53
55
58 inline bool GetUseEventVariables() const { return m_useEventVariables; }
59 inline bool UseEventVariablesHasBeenSet() const { return m_useEventVariablesHasBeenSet; }
60 inline void SetUseEventVariables(bool value) { m_useEventVariablesHasBeenSet = true; m_useEventVariables = value; }
61 inline EvaluatedExternalModel& WithUseEventVariables(bool value) { SetUseEventVariables(value); return *this;}
63
65
68 inline const Aws::Map<Aws::String, Aws::String>& GetInputVariables() const { return m_inputVariables; }
69 inline bool InputVariablesHasBeenSet() const { return m_inputVariablesHasBeenSet; }
70 template<typename InputVariablesT = Aws::Map<Aws::String, Aws::String>>
71 void SetInputVariables(InputVariablesT&& value) { m_inputVariablesHasBeenSet = true; m_inputVariables = std::forward<InputVariablesT>(value); }
72 template<typename InputVariablesT = Aws::Map<Aws::String, Aws::String>>
73 EvaluatedExternalModel& WithInputVariables(InputVariablesT&& value) { SetInputVariables(std::forward<InputVariablesT>(value)); return *this;}
74 template<typename InputVariablesKeyT = Aws::String, typename InputVariablesValueT = Aws::String>
75 EvaluatedExternalModel& AddInputVariables(InputVariablesKeyT&& key, InputVariablesValueT&& value) {
76 m_inputVariablesHasBeenSet = true; m_inputVariables.emplace(std::forward<InputVariablesKeyT>(key), std::forward<InputVariablesValueT>(value)); return *this;
77 }
79
81
84 inline const Aws::Map<Aws::String, Aws::String>& GetOutputVariables() const { return m_outputVariables; }
85 inline bool OutputVariablesHasBeenSet() const { return m_outputVariablesHasBeenSet; }
86 template<typename OutputVariablesT = Aws::Map<Aws::String, Aws::String>>
87 void SetOutputVariables(OutputVariablesT&& value) { m_outputVariablesHasBeenSet = true; m_outputVariables = std::forward<OutputVariablesT>(value); }
88 template<typename OutputVariablesT = Aws::Map<Aws::String, Aws::String>>
89 EvaluatedExternalModel& WithOutputVariables(OutputVariablesT&& value) { SetOutputVariables(std::forward<OutputVariablesT>(value)); return *this;}
90 template<typename OutputVariablesKeyT = Aws::String, typename OutputVariablesValueT = Aws::String>
91 EvaluatedExternalModel& AddOutputVariables(OutputVariablesKeyT&& key, OutputVariablesValueT&& value) {
92 m_outputVariablesHasBeenSet = true; m_outputVariables.emplace(std::forward<OutputVariablesKeyT>(key), std::forward<OutputVariablesValueT>(value)); return *this;
93 }
95 private:
96
97 Aws::String m_modelEndpoint;
98 bool m_modelEndpointHasBeenSet = false;
99
100 bool m_useEventVariables{false};
101 bool m_useEventVariablesHasBeenSet = false;
102
103 Aws::Map<Aws::String, Aws::String> m_inputVariables;
104 bool m_inputVariablesHasBeenSet = false;
105
106 Aws::Map<Aws::String, Aws::String> m_outputVariables;
107 bool m_outputVariablesHasBeenSet = false;
108 };
109
110} // namespace Model
111} // namespace FraudDetector
112} // namespace Aws
EvaluatedExternalModel & AddOutputVariables(OutputVariablesKeyT &&key, OutputVariablesValueT &&value)
EvaluatedExternalModel & WithUseEventVariables(bool value)
EvaluatedExternalModel & WithOutputVariables(OutputVariablesT &&value)
EvaluatedExternalModel & WithInputVariables(InputVariablesT &&value)
AWS_FRAUDDETECTOR_API EvaluatedExternalModel & operator=(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetInputVariables() const
AWS_FRAUDDETECTOR_API EvaluatedExternalModel()=default
EvaluatedExternalModel & WithModelEndpoint(ModelEndpointT &&value)
EvaluatedExternalModel & AddInputVariables(InputVariablesKeyT &&key, InputVariablesValueT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::Map< Aws::String, Aws::String > & GetOutputVariables() const
AWS_FRAUDDETECTOR_API EvaluatedExternalModel(Aws::Utils::Json::JsonView jsonValue)
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