AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
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 inline void SetModelEndpoint(const Aws::String& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = value; }
51 inline void SetModelEndpoint(Aws::String&& value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint = std::move(value); }
52 inline void SetModelEndpoint(const char* value) { m_modelEndpointHasBeenSet = true; m_modelEndpoint.assign(value); }
53 inline ExternalModel& WithModelEndpoint(const Aws::String& value) { SetModelEndpoint(value); return *this;}
54 inline ExternalModel& WithModelEndpoint(Aws::String&& value) { SetModelEndpoint(std::move(value)); return *this;}
55 inline ExternalModel& WithModelEndpoint(const char* value) { SetModelEndpoint(value); return *this;}
57
59
62 inline const ModelSource& GetModelSource() const{ return m_modelSource; }
63 inline bool ModelSourceHasBeenSet() const { return m_modelSourceHasBeenSet; }
64 inline void SetModelSource(const ModelSource& value) { m_modelSourceHasBeenSet = true; m_modelSource = value; }
65 inline void SetModelSource(ModelSource&& value) { m_modelSourceHasBeenSet = true; m_modelSource = std::move(value); }
66 inline ExternalModel& WithModelSource(const ModelSource& value) { SetModelSource(value); return *this;}
67 inline ExternalModel& WithModelSource(ModelSource&& value) { SetModelSource(std::move(value)); return *this;}
69
71
74 inline const Aws::String& GetInvokeModelEndpointRoleArn() const{ return m_invokeModelEndpointRoleArn; }
75 inline bool InvokeModelEndpointRoleArnHasBeenSet() const { return m_invokeModelEndpointRoleArnHasBeenSet; }
76 inline void SetInvokeModelEndpointRoleArn(const Aws::String& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = value; }
77 inline void SetInvokeModelEndpointRoleArn(Aws::String&& value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn = std::move(value); }
78 inline void SetInvokeModelEndpointRoleArn(const char* value) { m_invokeModelEndpointRoleArnHasBeenSet = true; m_invokeModelEndpointRoleArn.assign(value); }
81 inline ExternalModel& WithInvokeModelEndpointRoleArn(const char* value) { SetInvokeModelEndpointRoleArn(value); return *this;}
83
85
88 inline const ModelInputConfiguration& GetInputConfiguration() const{ return m_inputConfiguration; }
89 inline bool InputConfigurationHasBeenSet() const { return m_inputConfigurationHasBeenSet; }
90 inline void SetInputConfiguration(const ModelInputConfiguration& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = value; }
91 inline void SetInputConfiguration(ModelInputConfiguration&& value) { m_inputConfigurationHasBeenSet = true; m_inputConfiguration = std::move(value); }
93 inline ExternalModel& WithInputConfiguration(ModelInputConfiguration&& value) { SetInputConfiguration(std::move(value)); return *this;}
95
97
100 inline const ModelOutputConfiguration& GetOutputConfiguration() const{ return m_outputConfiguration; }
101 inline bool OutputConfigurationHasBeenSet() const { return m_outputConfigurationHasBeenSet; }
102 inline void SetOutputConfiguration(const ModelOutputConfiguration& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = value; }
103 inline void SetOutputConfiguration(ModelOutputConfiguration&& value) { m_outputConfigurationHasBeenSet = true; m_outputConfiguration = std::move(value); }
107
109
112 inline const ModelEndpointStatus& GetModelEndpointStatus() const{ return m_modelEndpointStatus; }
113 inline bool ModelEndpointStatusHasBeenSet() const { return m_modelEndpointStatusHasBeenSet; }
114 inline void SetModelEndpointStatus(const ModelEndpointStatus& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = value; }
115 inline void SetModelEndpointStatus(ModelEndpointStatus&& value) { m_modelEndpointStatusHasBeenSet = true; m_modelEndpointStatus = std::move(value); }
117 inline ExternalModel& WithModelEndpointStatus(ModelEndpointStatus&& value) { SetModelEndpointStatus(std::move(value)); return *this;}
119
121
124 inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; }
125 inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; }
126 inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; }
127 inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); }
128 inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); }
129 inline ExternalModel& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;}
130 inline ExternalModel& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;}
131 inline ExternalModel& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;}
133
135
138 inline const Aws::String& GetCreatedTime() const{ return m_createdTime; }
139 inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; }
140 inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; }
141 inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); }
142 inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); }
143 inline ExternalModel& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;}
144 inline ExternalModel& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;}
145 inline ExternalModel& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;}
147
149
152 inline const Aws::String& GetArn() const{ return m_arn; }
153 inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; }
154 inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; }
155 inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); }
156 inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); }
157 inline ExternalModel& WithArn(const Aws::String& value) { SetArn(value); return *this;}
158 inline ExternalModel& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;}
159 inline ExternalModel& WithArn(const char* value) { SetArn(value); return *this;}
161 private:
162
163 Aws::String m_modelEndpoint;
164 bool m_modelEndpointHasBeenSet = false;
165
166 ModelSource m_modelSource;
167 bool m_modelSourceHasBeenSet = false;
168
169 Aws::String m_invokeModelEndpointRoleArn;
170 bool m_invokeModelEndpointRoleArnHasBeenSet = false;
171
172 ModelInputConfiguration m_inputConfiguration;
173 bool m_inputConfigurationHasBeenSet = false;
174
175 ModelOutputConfiguration m_outputConfiguration;
176 bool m_outputConfigurationHasBeenSet = false;
177
178 ModelEndpointStatus m_modelEndpointStatus;
179 bool m_modelEndpointStatusHasBeenSet = false;
180
181 Aws::String m_lastUpdatedTime;
182 bool m_lastUpdatedTimeHasBeenSet = false;
183
184 Aws::String m_createdTime;
185 bool m_createdTimeHasBeenSet = false;
186
187 Aws::String m_arn;
188 bool m_arnHasBeenSet = false;
189 };
190
191} // namespace Model
192} // namespace FraudDetector
193} // namespace Aws
ExternalModel & WithCreatedTime(const char *value)
ExternalModel & WithModelEndpoint(Aws::String &&value)
ExternalModel & WithOutputConfiguration(ModelOutputConfiguration &&value)
ExternalModel & WithModelSource(const ModelSource &value)
ExternalModel & WithOutputConfiguration(const ModelOutputConfiguration &value)
ExternalModel & WithArn(const char *value)
void SetInputConfiguration(ModelInputConfiguration &&value)
void SetModelEndpoint(Aws::String &&value)
ExternalModel & WithArn(Aws::String &&value)
void SetLastUpdatedTime(Aws::String &&value)
void SetOutputConfiguration(ModelOutputConfiguration &&value)
const ModelSource & GetModelSource() const
void SetInvokeModelEndpointRoleArn(const char *value)
void SetModelSource(ModelSource &&value)
void SetModelEndpoint(const char *value)
ExternalModel & WithLastUpdatedTime(const char *value)
const Aws::String & GetArn() const
ExternalModel & WithCreatedTime(Aws::String &&value)
void SetInvokeModelEndpointRoleArn(const Aws::String &value)
ExternalModel & WithInputConfiguration(const ModelInputConfiguration &value)
void SetModelEndpointStatus(ModelEndpointStatus &&value)
void SetOutputConfiguration(const ModelOutputConfiguration &value)
const Aws::String & GetInvokeModelEndpointRoleArn() const
AWS_FRAUDDETECTOR_API ExternalModel & operator=(Aws::Utils::Json::JsonView jsonValue)
ExternalModel & WithInvokeModelEndpointRoleArn(const char *value)
void SetLastUpdatedTime(const Aws::String &value)
void SetModelEndpointStatus(const ModelEndpointStatus &value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
ExternalModel & WithModelEndpoint(const Aws::String &value)
void SetModelEndpoint(const Aws::String &value)
void SetModelSource(const ModelSource &value)
void SetCreatedTime(const Aws::String &value)
void SetInvokeModelEndpointRoleArn(Aws::String &&value)
ExternalModel & WithModelSource(ModelSource &&value)
ExternalModel & WithInvokeModelEndpointRoleArn(Aws::String &&value)
void SetInputConfiguration(const ModelInputConfiguration &value)
const ModelInputConfiguration & GetInputConfiguration() const
ExternalModel & WithArn(const Aws::String &value)
const Aws::String & GetModelEndpoint() const
AWS_FRAUDDETECTOR_API ExternalModel(Aws::Utils::Json::JsonView jsonValue)
void SetLastUpdatedTime(const char *value)
void SetArn(const Aws::String &value)
const Aws::String & GetCreatedTime() const
ExternalModel & WithCreatedTime(const Aws::String &value)
ExternalModel & WithModelEndpoint(const char *value)
const ModelOutputConfiguration & GetOutputConfiguration() const
ExternalModel & WithInputConfiguration(ModelInputConfiguration &&value)
void SetCreatedTime(Aws::String &&value)
ExternalModel & WithLastUpdatedTime(Aws::String &&value)
ExternalModel & WithInvokeModelEndpointRoleArn(const Aws::String &value)
const Aws::String & GetLastUpdatedTime() const
ExternalModel & WithModelEndpointStatus(const ModelEndpointStatus &value)
AWS_FRAUDDETECTOR_API ExternalModel()
ExternalModel & WithLastUpdatedTime(const Aws::String &value)
const ModelEndpointStatus & GetModelEndpointStatus() const
ExternalModel & WithModelEndpointStatus(ModelEndpointStatus &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue