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>
26namespace LookoutforVision
51 template<
typename ModelVersionT = Aws::String>
52 void SetModelVersion(ModelVersionT&& value) { m_modelVersionHasBeenSet =
true; m_modelVersion = std::forward<ModelVersionT>(value); }
53 template<
typename ModelVersionT = Aws::String>
63 template<
typename ModelArnT = Aws::String>
64 void SetModelArn(ModelArnT&& value) { m_modelArnHasBeenSet =
true; m_modelArn = std::forward<ModelArnT>(value); }
65 template<
typename ModelArnT = Aws::String>
75 template<
typename CreationTimestampT = Aws::Utils::DateTime>
76 void SetCreationTimestamp(CreationTimestampT&& value) { m_creationTimestampHasBeenSet =
true; m_creationTimestamp = std::forward<CreationTimestampT>(value); }
77 template<
typename CreationTimestampT = Aws::Utils::DateTime>
87 template<
typename DescriptionT = Aws::String>
88 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet =
true; m_description = std::forward<DescriptionT>(value); }
89 template<
typename DescriptionT = Aws::String>
109 template<
typename StatusMessageT = Aws::String>
110 void SetStatusMessage(StatusMessageT&& value) { m_statusMessageHasBeenSet =
true; m_statusMessage = std::forward<StatusMessageT>(value); }
111 template<
typename StatusMessageT = Aws::String>
121 template<
typename PerformanceT = ModelPerformance>
122 void SetPerformance(PerformanceT&& value) { m_performanceHasBeenSet =
true; m_performance = std::forward<PerformanceT>(value); }
123 template<
typename PerformanceT = ModelPerformance>
134 template<
typename OutputConfigT = OutputConfig>
135 void SetOutputConfig(OutputConfigT&& value) { m_outputConfigHasBeenSet =
true; m_outputConfig = std::forward<OutputConfigT>(value); }
136 template<
typename OutputConfigT = OutputConfig>
147 template<
typename EvaluationManifestT = OutputS3Object>
148 void SetEvaluationManifest(EvaluationManifestT&& value) { m_evaluationManifestHasBeenSet =
true; m_evaluationManifest = std::forward<EvaluationManifestT>(value); }
149 template<
typename EvaluationManifestT = OutputS3Object>
160 template<
typename EvaluationResultT = OutputS3Object>
161 void SetEvaluationResult(EvaluationResultT&& value) { m_evaluationResultHasBeenSet =
true; m_evaluationResult = std::forward<EvaluationResultT>(value); }
162 template<
typename EvaluationResultT = OutputS3Object>
172 template<
typename EvaluationEndTimestampT = Aws::Utils::DateTime>
173 void SetEvaluationEndTimestamp(EvaluationEndTimestampT&& value) { m_evaluationEndTimestampHasBeenSet =
true; m_evaluationEndTimestamp = std::forward<EvaluationEndTimestampT>(value); }
174 template<
typename EvaluationEndTimestampT = Aws::Utils::DateTime>
185 template<
typename KmsKeyIdT = Aws::String>
186 void SetKmsKeyId(KmsKeyIdT&& value) { m_kmsKeyIdHasBeenSet =
true; m_kmsKeyId = std::forward<KmsKeyIdT>(value); }
187 template<
typename KmsKeyIdT = Aws::String>
198 inline void SetMinInferenceUnits(
int value) { m_minInferenceUnitsHasBeenSet =
true; m_minInferenceUnits = value; }
209 inline void SetMaxInferenceUnits(
int value) { m_maxInferenceUnitsHasBeenSet =
true; m_maxInferenceUnits = value; }
215 bool m_modelVersionHasBeenSet =
false;
218 bool m_modelArnHasBeenSet =
false;
221 bool m_creationTimestampHasBeenSet =
false;
224 bool m_descriptionHasBeenSet =
false;
227 bool m_statusHasBeenSet =
false;
230 bool m_statusMessageHasBeenSet =
false;
232 ModelPerformance m_performance;
233 bool m_performanceHasBeenSet =
false;
235 OutputConfig m_outputConfig;
236 bool m_outputConfigHasBeenSet =
false;
238 OutputS3Object m_evaluationManifest;
239 bool m_evaluationManifestHasBeenSet =
false;
241 OutputS3Object m_evaluationResult;
242 bool m_evaluationResultHasBeenSet =
false;
245 bool m_evaluationEndTimestampHasBeenSet =
false;
248 bool m_kmsKeyIdHasBeenSet =
false;
250 int m_minInferenceUnits{0};
251 bool m_minInferenceUnitsHasBeenSet =
false;
253 int m_maxInferenceUnits{0};
254 bool m_maxInferenceUnitsHasBeenSet =
false;
ModelDescription & WithMinInferenceUnits(int value)
bool EvaluationResultHasBeenSet() const
ModelStatus GetStatus() const
int GetMaxInferenceUnits() const
void SetMaxInferenceUnits(int value)
void SetStatus(ModelStatus value)
bool EvaluationEndTimestampHasBeenSet() const
ModelDescription & WithCreationTimestamp(CreationTimestampT &&value)
void SetKmsKeyId(KmsKeyIdT &&value)
ModelDescription & WithStatusMessage(StatusMessageT &&value)
void SetDescription(DescriptionT &&value)
bool PerformanceHasBeenSet() const
const Aws::Utils::DateTime & GetEvaluationEndTimestamp() const
AWS_LOOKOUTFORVISION_API Aws::Utils::Json::JsonValue Jsonize() const
ModelDescription & WithDescription(DescriptionT &&value)
bool OutputConfigHasBeenSet() const
bool StatusMessageHasBeenSet() const
const Aws::String & GetModelArn() const
bool CreationTimestampHasBeenSet() const
AWS_LOOKOUTFORVISION_API ModelDescription(Aws::Utils::Json::JsonView jsonValue)
bool DescriptionHasBeenSet() const
const Aws::String & GetStatusMessage() const
void SetPerformance(PerformanceT &&value)
ModelDescription & WithEvaluationEndTimestamp(EvaluationEndTimestampT &&value)
const OutputS3Object & GetEvaluationResult() const
ModelDescription & WithStatus(ModelStatus value)
bool EvaluationManifestHasBeenSet() const
const Aws::String & GetDescription() const
bool KmsKeyIdHasBeenSet() const
bool StatusHasBeenSet() const
int GetMinInferenceUnits() const
ModelDescription & WithOutputConfig(OutputConfigT &&value)
const ModelPerformance & GetPerformance() const
void SetOutputConfig(OutputConfigT &&value)
void SetModelVersion(ModelVersionT &&value)
ModelDescription & WithKmsKeyId(KmsKeyIdT &&value)
ModelDescription & WithEvaluationResult(EvaluationResultT &&value)
void SetEvaluationManifest(EvaluationManifestT &&value)
ModelDescription & WithEvaluationManifest(EvaluationManifestT &&value)
void SetEvaluationEndTimestamp(EvaluationEndTimestampT &&value)
const OutputConfig & GetOutputConfig() const
const Aws::String & GetModelVersion() const
void SetMinInferenceUnits(int value)
ModelDescription & WithPerformance(PerformanceT &&value)
bool MinInferenceUnitsHasBeenSet() const
void SetCreationTimestamp(CreationTimestampT &&value)
ModelDescription & WithModelArn(ModelArnT &&value)
ModelDescription & WithMaxInferenceUnits(int value)
bool ModelVersionHasBeenSet() const
void SetModelArn(ModelArnT &&value)
void SetEvaluationResult(EvaluationResultT &&value)
const Aws::Utils::DateTime & GetCreationTimestamp() const
ModelDescription & WithModelVersion(ModelVersionT &&value)
AWS_LOOKOUTFORVISION_API ModelDescription()=default
void SetStatusMessage(StatusMessageT &&value)
const Aws::String & GetKmsKeyId() const
bool ModelArnHasBeenSet() const
AWS_LOOKOUTFORVISION_API ModelDescription & operator=(Aws::Utils::Json::JsonView jsonValue)
bool MaxInferenceUnitsHasBeenSet() const
const OutputS3Object & GetEvaluationManifest() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue