AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
ModelDescription.h
1
6#pragma once
7#include <aws/lookoutvision/LookoutforVision_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/lookoutvision/model/ModelStatus.h>
11#include <aws/lookoutvision/model/ModelPerformance.h>
12#include <aws/lookoutvision/model/OutputConfig.h>
13#include <aws/lookoutvision/model/OutputS3Object.h>
14#include <utility>
15
16namespace Aws
17{
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23 class JsonView;
24} // namespace Json
25} // namespace Utils
26namespace LookoutforVision
27{
28namespace Model
29{
30
37 {
38 public:
39 AWS_LOOKOUTFORVISION_API ModelDescription();
40 AWS_LOOKOUTFORVISION_API ModelDescription(Aws::Utils::Json::JsonView jsonValue);
41 AWS_LOOKOUTFORVISION_API ModelDescription& operator=(Aws::Utils::Json::JsonView jsonValue);
42 AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const;
43
44
46
49 inline const Aws::String& GetModelVersion() const{ return m_modelVersion; }
50 inline bool ModelVersionHasBeenSet() const { return m_modelVersionHasBeenSet; }
51 inline void SetModelVersion(const Aws::String& value) { m_modelVersionHasBeenSet = true; m_modelVersion = value; }
52 inline void SetModelVersion(Aws::String&& value) { m_modelVersionHasBeenSet = true; m_modelVersion = std::move(value); }
53 inline void SetModelVersion(const char* value) { m_modelVersionHasBeenSet = true; m_modelVersion.assign(value); }
54 inline ModelDescription& WithModelVersion(const Aws::String& value) { SetModelVersion(value); return *this;}
55 inline ModelDescription& WithModelVersion(Aws::String&& value) { SetModelVersion(std::move(value)); return *this;}
56 inline ModelDescription& WithModelVersion(const char* value) { SetModelVersion(value); return *this;}
58
60
63 inline const Aws::String& GetModelArn() const{ return m_modelArn; }
64 inline bool ModelArnHasBeenSet() const { return m_modelArnHasBeenSet; }
65 inline void SetModelArn(const Aws::String& value) { m_modelArnHasBeenSet = true; m_modelArn = value; }
66 inline void SetModelArn(Aws::String&& value) { m_modelArnHasBeenSet = true; m_modelArn = std::move(value); }
67 inline void SetModelArn(const char* value) { m_modelArnHasBeenSet = true; m_modelArn.assign(value); }
68 inline ModelDescription& WithModelArn(const Aws::String& value) { SetModelArn(value); return *this;}
69 inline ModelDescription& WithModelArn(Aws::String&& value) { SetModelArn(std::move(value)); return *this;}
70 inline ModelDescription& WithModelArn(const char* value) { SetModelArn(value); return *this;}
72
74
77 inline const Aws::Utils::DateTime& GetCreationTimestamp() const{ return m_creationTimestamp; }
78 inline bool CreationTimestampHasBeenSet() const { return m_creationTimestampHasBeenSet; }
79 inline void SetCreationTimestamp(const Aws::Utils::DateTime& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = value; }
80 inline void SetCreationTimestamp(Aws::Utils::DateTime&& value) { m_creationTimestampHasBeenSet = true; m_creationTimestamp = std::move(value); }
82 inline ModelDescription& WithCreationTimestamp(Aws::Utils::DateTime&& value) { SetCreationTimestamp(std::move(value)); return *this;}
84
86
89 inline const Aws::String& GetDescription() const{ return m_description; }
90 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
91 inline void SetDescription(const Aws::String& value) { m_descriptionHasBeenSet = true; m_description = value; }
92 inline void SetDescription(Aws::String&& value) { m_descriptionHasBeenSet = true; m_description = std::move(value); }
93 inline void SetDescription(const char* value) { m_descriptionHasBeenSet = true; m_description.assign(value); }
94 inline ModelDescription& WithDescription(const Aws::String& value) { SetDescription(value); return *this;}
95 inline ModelDescription& WithDescription(Aws::String&& value) { SetDescription(std::move(value)); return *this;}
96 inline ModelDescription& WithDescription(const char* value) { SetDescription(value); return *this;}
98
100
103 inline const ModelStatus& GetStatus() const{ return m_status; }
104 inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; }
105 inline void SetStatus(const ModelStatus& value) { m_statusHasBeenSet = true; m_status = value; }
106 inline void SetStatus(ModelStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); }
107 inline ModelDescription& WithStatus(const ModelStatus& value) { SetStatus(value); return *this;}
108 inline ModelDescription& WithStatus(ModelStatus&& value) { SetStatus(std::move(value)); return *this;}
110
112
115 inline const Aws::String& GetStatusMessage() const{ return m_statusMessage; }
116 inline bool StatusMessageHasBeenSet() const { return m_statusMessageHasBeenSet; }
117 inline void SetStatusMessage(const Aws::String& value) { m_statusMessageHasBeenSet = true; m_statusMessage = value; }
118 inline void SetStatusMessage(Aws::String&& value) { m_statusMessageHasBeenSet = true; m_statusMessage = std::move(value); }
119 inline void SetStatusMessage(const char* value) { m_statusMessageHasBeenSet = true; m_statusMessage.assign(value); }
120 inline ModelDescription& WithStatusMessage(const Aws::String& value) { SetStatusMessage(value); return *this;}
121 inline ModelDescription& WithStatusMessage(Aws::String&& value) { SetStatusMessage(std::move(value)); return *this;}
122 inline ModelDescription& WithStatusMessage(const char* value) { SetStatusMessage(value); return *this;}
124
126
129 inline const ModelPerformance& GetPerformance() const{ return m_performance; }
130 inline bool PerformanceHasBeenSet() const { return m_performanceHasBeenSet; }
131 inline void SetPerformance(const ModelPerformance& value) { m_performanceHasBeenSet = true; m_performance = value; }
132 inline void SetPerformance(ModelPerformance&& value) { m_performanceHasBeenSet = true; m_performance = std::move(value); }
133 inline ModelDescription& WithPerformance(const ModelPerformance& value) { SetPerformance(value); return *this;}
134 inline ModelDescription& WithPerformance(ModelPerformance&& value) { SetPerformance(std::move(value)); return *this;}
136
138
142 inline const OutputConfig& GetOutputConfig() const{ return m_outputConfig; }
143 inline bool OutputConfigHasBeenSet() const { return m_outputConfigHasBeenSet; }
144 inline void SetOutputConfig(const OutputConfig& value) { m_outputConfigHasBeenSet = true; m_outputConfig = value; }
145 inline void SetOutputConfig(OutputConfig&& value) { m_outputConfigHasBeenSet = true; m_outputConfig = std::move(value); }
146 inline ModelDescription& WithOutputConfig(const OutputConfig& value) { SetOutputConfig(value); return *this;}
147 inline ModelDescription& WithOutputConfig(OutputConfig&& value) { SetOutputConfig(std::move(value)); return *this;}
149
151
155 inline const OutputS3Object& GetEvaluationManifest() const{ return m_evaluationManifest; }
156 inline bool EvaluationManifestHasBeenSet() const { return m_evaluationManifestHasBeenSet; }
157 inline void SetEvaluationManifest(const OutputS3Object& value) { m_evaluationManifestHasBeenSet = true; m_evaluationManifest = value; }
158 inline void SetEvaluationManifest(OutputS3Object&& value) { m_evaluationManifestHasBeenSet = true; m_evaluationManifest = std::move(value); }
160 inline ModelDescription& WithEvaluationManifest(OutputS3Object&& value) { SetEvaluationManifest(std::move(value)); return *this;}
162
164
168 inline const OutputS3Object& GetEvaluationResult() const{ return m_evaluationResult; }
169 inline bool EvaluationResultHasBeenSet() const { return m_evaluationResultHasBeenSet; }
170 inline void SetEvaluationResult(const OutputS3Object& value) { m_evaluationResultHasBeenSet = true; m_evaluationResult = value; }
171 inline void SetEvaluationResult(OutputS3Object&& value) { m_evaluationResultHasBeenSet = true; m_evaluationResult = std::move(value); }
172 inline ModelDescription& WithEvaluationResult(const OutputS3Object& value) { SetEvaluationResult(value); return *this;}
173 inline ModelDescription& WithEvaluationResult(OutputS3Object&& value) { SetEvaluationResult(std::move(value)); return *this;}
175
177
180 inline const Aws::Utils::DateTime& GetEvaluationEndTimestamp() const{ return m_evaluationEndTimestamp; }
181 inline bool EvaluationEndTimestampHasBeenSet() const { return m_evaluationEndTimestampHasBeenSet; }
182 inline void SetEvaluationEndTimestamp(const Aws::Utils::DateTime& value) { m_evaluationEndTimestampHasBeenSet = true; m_evaluationEndTimestamp = value; }
183 inline void SetEvaluationEndTimestamp(Aws::Utils::DateTime&& value) { m_evaluationEndTimestampHasBeenSet = true; m_evaluationEndTimestamp = std::move(value); }
187
189
193 inline const Aws::String& GetKmsKeyId() const{ return m_kmsKeyId; }
194 inline bool KmsKeyIdHasBeenSet() const { return m_kmsKeyIdHasBeenSet; }
195 inline void SetKmsKeyId(const Aws::String& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = value; }
196 inline void SetKmsKeyId(Aws::String&& value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId = std::move(value); }
197 inline void SetKmsKeyId(const char* value) { m_kmsKeyIdHasBeenSet = true; m_kmsKeyId.assign(value); }
198 inline ModelDescription& WithKmsKeyId(const Aws::String& value) { SetKmsKeyId(value); return *this;}
199 inline ModelDescription& WithKmsKeyId(Aws::String&& value) { SetKmsKeyId(std::move(value)); return *this;}
200 inline ModelDescription& WithKmsKeyId(const char* value) { SetKmsKeyId(value); return *this;}
202
204
208 inline int GetMinInferenceUnits() const{ return m_minInferenceUnits; }
209 inline bool MinInferenceUnitsHasBeenSet() const { return m_minInferenceUnitsHasBeenSet; }
210 inline void SetMinInferenceUnits(int value) { m_minInferenceUnitsHasBeenSet = true; m_minInferenceUnits = value; }
211 inline ModelDescription& WithMinInferenceUnits(int value) { SetMinInferenceUnits(value); return *this;}
213
215
219 inline int GetMaxInferenceUnits() const{ return m_maxInferenceUnits; }
220 inline bool MaxInferenceUnitsHasBeenSet() const { return m_maxInferenceUnitsHasBeenSet; }
221 inline void SetMaxInferenceUnits(int value) { m_maxInferenceUnitsHasBeenSet = true; m_maxInferenceUnits = value; }
222 inline ModelDescription& WithMaxInferenceUnits(int value) { SetMaxInferenceUnits(value); return *this;}
224 private:
225
226 Aws::String m_modelVersion;
227 bool m_modelVersionHasBeenSet = false;
228
229 Aws::String m_modelArn;
230 bool m_modelArnHasBeenSet = false;
231
232 Aws::Utils::DateTime m_creationTimestamp;
233 bool m_creationTimestampHasBeenSet = false;
234
235 Aws::String m_description;
236 bool m_descriptionHasBeenSet = false;
237
238 ModelStatus m_status;
239 bool m_statusHasBeenSet = false;
240
241 Aws::String m_statusMessage;
242 bool m_statusMessageHasBeenSet = false;
243
244 ModelPerformance m_performance;
245 bool m_performanceHasBeenSet = false;
246
247 OutputConfig m_outputConfig;
248 bool m_outputConfigHasBeenSet = false;
249
250 OutputS3Object m_evaluationManifest;
251 bool m_evaluationManifestHasBeenSet = false;
252
253 OutputS3Object m_evaluationResult;
254 bool m_evaluationResultHasBeenSet = false;
255
256 Aws::Utils::DateTime m_evaluationEndTimestamp;
257 bool m_evaluationEndTimestampHasBeenSet = false;
258
259 Aws::String m_kmsKeyId;
260 bool m_kmsKeyIdHasBeenSet = false;
261
262 int m_minInferenceUnits;
263 bool m_minInferenceUnitsHasBeenSet = false;
264
265 int m_maxInferenceUnits;
266 bool m_maxInferenceUnitsHasBeenSet = false;
267 };
268
269} // namespace Model
270} // namespace LookoutforVision
271} // namespace Aws
void SetEvaluationResult(const OutputS3Object &value)
ModelDescription & WithMinInferenceUnits(int value)
ModelDescription & WithDescription(Aws::String &&value)
ModelDescription & WithCreationTimestamp(const Aws::Utils::DateTime &value)
ModelDescription & WithEvaluationEndTimestamp(const Aws::Utils::DateTime &value)
ModelDescription & WithEvaluationEndTimestamp(Aws::Utils::DateTime &&value)
void SetOutputConfig(const OutputConfig &value)
ModelDescription & WithEvaluationResult(const OutputS3Object &value)
void SetEvaluationManifest(const OutputS3Object &value)
const Aws::Utils::DateTime & GetEvaluationEndTimestamp() const
void SetModelVersion(const Aws::String &value)
void SetCreationTimestamp(const Aws::Utils::DateTime &value)
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDescription & WithStatus(ModelStatus &&value)
void SetStatusMessage(const Aws::String &value)
AWS_LOOKOUTFORVISION_API ModelDescription(Aws::Utils::Json::JsonView jsonValue)
ModelDescription & WithModelVersion(const Aws::String &value)
ModelDescription & WithPerformance(ModelPerformance &&value)
ModelDescription & WithModelArn(const Aws::String &value)
ModelDescription & WithCreationTimestamp(Aws::Utils::DateTime &&value)
const OutputS3Object & GetEvaluationResult() const
void SetEvaluationManifest(OutputS3Object &&value)
ModelDescription & WithDescription(const Aws::String &value)
AWS_LOOKOUTFORVISION_API ModelDescription()
ModelDescription & WithStatus(const ModelStatus &value)
ModelDescription & WithModelArn(const char *value)
ModelDescription & WithModelVersion(Aws::String &&value)
ModelDescription & WithKmsKeyId(const char *value)
const ModelPerformance & GetPerformance() const
void SetCreationTimestamp(Aws::Utils::DateTime &&value)
ModelDescription & WithDescription(const char *value)
ModelDescription & WithOutputConfig(OutputConfig &&value)
ModelDescription & WithStatusMessage(Aws::String &&value)
ModelDescription & WithStatusMessage(const Aws::String &value)
ModelDescription & WithOutputConfig(const OutputConfig &value)
ModelDescription & WithEvaluationManifest(const OutputS3Object &value)
ModelDescription & WithEvaluationResult(OutputS3Object &&value)
void SetEvaluationEndTimestamp(Aws::Utils::DateTime &&value)
ModelDescription & WithPerformance(const ModelPerformance &value)
void SetEvaluationEndTimestamp(const Aws::Utils::DateTime &value)
ModelDescription & WithMaxInferenceUnits(int value)
ModelDescription & WithStatusMessage(const char *value)
void SetPerformance(ModelPerformance &&value)
ModelDescription & WithModelVersion(const char *value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
ModelDescription & WithEvaluationManifest(OutputS3Object &&value)
ModelDescription & WithModelArn(Aws::String &&value)
ModelDescription & WithKmsKeyId(Aws::String &&value)
void SetPerformance(const ModelPerformance &value)
void SetDescription(const Aws::String &value)
ModelDescription & WithKmsKeyId(const Aws::String &value)
AWS_LOOKOUTFORVISION_API ModelDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
const OutputS3Object & GetEvaluationManifest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue