AWS SDK for C++

AWS SDK for C++ Version 1.11.607

Loading...
Searching...
No Matches
ExternalModel.h
1
6#pragma once
7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/ModelSource.h>
10#include <aws/frauddetector/model/ModelInputConfiguration.h>
11#include <aws/frauddetector/model/ModelOutputConfiguration.h>
12#include <aws/frauddetector/model/ModelEndpointStatus.h>
13#include <utility>
14
15namespace Aws
16{
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22 class JsonView;
23} // namespace Json
24} // namespace Utils
25namespace FraudDetector
26{
27namespace Model
28{
29
36 {
37 public:
38 AWS_FRAUDDETECTOR_API ExternalModel() = default;
39 AWS_FRAUDDETECTOR_API ExternalModel(Aws::Utils::Json::JsonView jsonValue);
40 AWS_FRAUDDETECTOR_API ExternalModel& operator=(Aws::Utils::Json::JsonView jsonValue);
41 AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const;
42
43
45
48 inline const Aws::String& GetModelEndpoint() const { return m_modelEndpoint; }
49 inline bool ModelEndpointHasBeenSet() const { return m_modelEndpointHasBeenSet; }
50 template<typename ModelEndpointT = Aws::String>
51 void SetModelEndpoint(ModelEndpointT&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::forward<ModelEndpointT>(value); }
52 template<typename ModelEndpointT = Aws::String>
53 ExternalModel& WithModelEndpoint(ModelEndpointT&& value) { SetModelEndpoint(std::forward<ModelEndpointT>(value)); return *this;}
55
57
60 inline ModelSource GetModelSource() const { return m_modelSource; }
61 inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
62 inline void SetModelSource(ModelSource value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
63 inline ExternalModel& WithModelSource(ModelSource value) { SetModelSource(value); return *this;}
65
67
70 inline const Aws::String& GetInvokeModelEndpointRoleArn() const { return m_invokeModelEndpointRoleArn; }
71 inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; }
72 template<typename InvokeModelEndpointRoleArnT = Aws::String>
73 void SetInvokeModelEndpointRoleArn(InvokeModelEndpointRoleArnT&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::forward<InvokeModelEndpointRoleArnT>(value); }
74 template<typename InvokeModelEndpointRoleArnT = Aws::String>
75 ExternalModel& WithInvokeModelEndpointRoleArn(InvokeModelEndpointRoleArnT&& value) { SetInvokeModelEndpointRoleArn(std::forward<InvokeModelEndpointRoleArnT>(value)); return *this;}
77
79
82 inline const ModelInputConfiguration& GetInputConfiguration() const { return m_inputConfiguration; }
83 inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
84 template<typename InputConfigurationT = ModelInputConfiguration>
85 void SetInputConfiguration(InputConfigurationT&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::forward<InputConfigurationT>(value); }
86 template<typename InputConfigurationT = ModelInputConfiguration>
87 ExternalModel& WithInputConfiguration(InputConfigurationT&& value) { SetInputConfiguration(std::forward<InputConfigurationT>(value)); return *this;}
89
91
94 inline const ModelOutputConfiguration& GetOutputConfiguration() const { return m_outputConfiguration; }
95 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
96 template<typename OutputConfigurationT = ModelOutputConfiguration>
97 void SetOutputConfiguration(OutputConfigurationT&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::forward<OutputConfigurationT>(value); }
98 template<typename OutputConfigurationT = ModelOutputConfiguration>
99 ExternalModel& WithOutputConfiguration(OutputConfigurationT&& value) { SetOutputConfiguration(std::forward<OutputConfigurationT>(value)); return *this;}
101
103
106 inline ModelEndpointStatus GetModelEndpointStatus() const { return m_modelEndpointStatus; }
107 inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; }
108 inline void SetModelEndpointStatus(ModelEndpointStatus value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; }
111
113
116 inline const Aws::String& GetLastUpdatedTime() const { return m_lastUpdatedTime; }
117 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
118 template<typename LastUpdatedTimeT = Aws::String>
119 void SetLastUpdatedTime(LastUpdatedTimeT&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::forward<LastUpdatedTimeT>(value); }
120 template<typename LastUpdatedTimeT = Aws::String>
121 ExternalModel& WithLastUpdatedTime(LastUpdatedTimeT&& value) { SetLastUpdatedTime(std::forward<LastUpdatedTimeT>(value)); return *this;}
123
125
128 inline const Aws::String& GetCreatedTime() const { return m_createdTime; }
129 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
130 template<typename CreatedTimeT = Aws::String>
131 void SetCreatedTime(CreatedTimeT&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::forward<CreatedTimeT>(value); }
132 template<typename CreatedTimeT = Aws::String>
133 ExternalModel& WithCreatedTime(CreatedTimeT&& value) { SetCreatedTime(std::forward<CreatedTimeT>(value)); return *this;}
135
137
140 inline const Aws::String& GetArn() const { return m_arn; }
141 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
142 template<typename ArnT = Aws::String>
143 void SetArn(ArnT&& value) { m_arnHasBeenSet = true; m_arn = std::forward<ArnT>(value); }
144 template<typename ArnT = Aws::String>
145 ExternalModel& WithArn(ArnT&& value) { SetArn(std::forward<ArnT>(value)); return *this;}
147 private:
148
149 Aws::String m_modelEndpoint;
150 bool m_modelEndpointHasBeenSet = false;
151
152 ModelSource m_modelSource{ModelSource::NOT_SET};
153 bool m_modelSourceHasBeenSet = false;
154
155 Aws::String m_invokeModelEndpointRoleArn;
156 bool m_invokeModelEndpointRoleArnHasBeenSet = false;
157
158 ModelInputConfiguration m_inputConfiguration;
159 bool m_inputConfigurationHasBeenSet = false;
160
161 ModelOutputConfiguration m_outputConfiguration;
162 bool m_outputConfigurationHasBeenSet = false;
163
165 bool m_modelEndpointStatusHasBeenSet = false;
166
167 Aws::String m_lastUpdatedTime;
168 bool m_lastUpdatedTimeHasBeenSet = false;
169
170 Aws::String m_createdTime;
171 bool m_createdTimeHasBeenSet = false;
172
173 Aws::String m_arn;
174 bool m_arnHasBeenSet = false;
175 };
176
177} // namespace Model
178} // namespace FraudDetector
179} // namespace Aws
AWS_FRAUDDETECTOR_API ExternalModel()=default
ExternalModel & WithModelEndpoint(ModelEndpointT &&value)
void SetInvokeModelEndpointRoleArn(InvokeModelEndpointRoleArnT &&value)
const Aws::String & GetArn() const
void SetInputConfiguration(InputConfigurationT &&value)
ExternalModel & WithArn(ArnT &&value)
ExternalModel & WithOutputConfiguration(OutputConfigurationT &&value)
void SetModelEndpoint(ModelEndpointT &&value)
const Aws::String & GetInvokeModelEndpointRoleArn() const
ExternalModel & WithLastUpdatedTime(LastUpdatedTimeT &&value)
AWS_FRAUDDETECTOR_API ExternalModel & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(LastUpdatedTimeT &&value)
ExternalModel & WithInvokeModelEndpointRoleArn(InvokeModelEndpointRoleArnT &&value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalModel & WithModelSource(ModelSource value)
const ModelInputConfiguration & GetInputConfiguration() const
const Aws::String & GetModelEndpoint() const
AWS_FRAUDDETECTOR_API ExternalModel(Aws::Utils::Json::JsonView jsonValue)
const Aws::String & GetCreatedTime() const
const ModelOutputConfiguration & GetOutputConfiguration() const
ModelEndpointStatus GetModelEndpointStatus() const
void SetOutputConfiguration(OutputConfigurationT &&value)
const Aws::String & GetLastUpdatedTime() const
ExternalModel & WithInputConfiguration(InputConfigurationT &&value)
void SetCreatedTime(CreatedTimeT &&value)
ExternalModel & WithModelEndpointStatus(ModelEndpointStatus value)
ExternalModel & WithCreatedTime(CreatedTimeT &&value)
void SetModelEndpointStatus(ModelEndpointStatus value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue