/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The details of the model version.See Also:
AWS
* API Reference
The model ID.
*/ inline const Aws::String& GetModelId() const{ return m_modelId; } /** *The model ID.
*/ inline bool ModelIdHasBeenSet() const { return m_modelIdHasBeenSet; } /** *The model ID.
*/ inline void SetModelId(const Aws::String& value) { m_modelIdHasBeenSet = true; m_modelId = value; } /** *The model ID.
*/ inline void SetModelId(Aws::String&& value) { m_modelIdHasBeenSet = true; m_modelId = std::move(value); } /** *The model ID.
*/ inline void SetModelId(const char* value) { m_modelIdHasBeenSet = true; m_modelId.assign(value); } /** *The model ID.
*/ inline ModelVersionDetail& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} /** *The model ID.
*/ inline ModelVersionDetail& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} /** *The model ID.
*/ inline ModelVersionDetail& WithModelId(const char* value) { SetModelId(value); return *this;} /** *The model type.
*/ inline const ModelTypeEnum& GetModelType() const{ return m_modelType; } /** *The model type.
*/ inline bool ModelTypeHasBeenSet() const { return m_modelTypeHasBeenSet; } /** *The model type.
*/ inline void SetModelType(const ModelTypeEnum& value) { m_modelTypeHasBeenSet = true; m_modelType = value; } /** *The model type.
*/ inline void SetModelType(ModelTypeEnum&& value) { m_modelTypeHasBeenSet = true; m_modelType = std::move(value); } /** *The model type.
*/ inline ModelVersionDetail& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;} /** *The model type.
*/ inline ModelVersionDetail& WithModelType(ModelTypeEnum&& value) { SetModelType(std::move(value)); return *this;} /** *The model version number.
*/ inline const Aws::String& GetModelVersionNumber() const{ return m_modelVersionNumber; } /** *The model version number.
*/ inline bool ModelVersionNumberHasBeenSet() const { return m_modelVersionNumberHasBeenSet; } /** *The model version number.
*/ inline void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = value; } /** *The model version number.
*/ inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber = std::move(value); } /** *The model version number.
*/ inline void SetModelVersionNumber(const char* value) { m_modelVersionNumberHasBeenSet = true; m_modelVersionNumber.assign(value); } /** *The model version number.
*/ inline ModelVersionDetail& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;} /** *The model version number.
*/ inline ModelVersionDetail& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;} /** *The model version number.
*/ inline ModelVersionDetail& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;} /** *The status of the model version.
*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *The status of the model version.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the model version.
*/ inline void SetStatus(const Aws::String& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the model version.
*/ inline void SetStatus(Aws::String&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the model version.
*/ inline void SetStatus(const char* value) { m_statusHasBeenSet = true; m_status.assign(value); } /** *The status of the model version.
*/ inline ModelVersionDetail& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *The status of the model version.
*/ inline ModelVersionDetail& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *The status of the model version.
*/ inline ModelVersionDetail& WithStatus(const char* value) { SetStatus(value); return *this;} /** *The model version training data source.
*/ inline const TrainingDataSourceEnum& GetTrainingDataSource() const{ return m_trainingDataSource; } /** *The model version training data source.
*/ inline bool TrainingDataSourceHasBeenSet() const { return m_trainingDataSourceHasBeenSet; } /** *The model version training data source.
*/ inline void SetTrainingDataSource(const TrainingDataSourceEnum& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = value; } /** *The model version training data source.
*/ inline void SetTrainingDataSource(TrainingDataSourceEnum&& value) { m_trainingDataSourceHasBeenSet = true; m_trainingDataSource = std::move(value); } /** *The model version training data source.
*/ inline ModelVersionDetail& WithTrainingDataSource(const TrainingDataSourceEnum& value) { SetTrainingDataSource(value); return *this;} /** *The model version training data source.
*/ inline ModelVersionDetail& WithTrainingDataSource(TrainingDataSourceEnum&& value) { SetTrainingDataSource(std::move(value)); return *this;} /** *The training data schema.
*/ inline const TrainingDataSchema& GetTrainingDataSchema() const{ return m_trainingDataSchema; } /** *The training data schema.
*/ inline bool TrainingDataSchemaHasBeenSet() const { return m_trainingDataSchemaHasBeenSet; } /** *The training data schema.
*/ inline void SetTrainingDataSchema(const TrainingDataSchema& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = value; } /** *The training data schema.
*/ inline void SetTrainingDataSchema(TrainingDataSchema&& value) { m_trainingDataSchemaHasBeenSet = true; m_trainingDataSchema = std::move(value); } /** *The training data schema.
*/ inline ModelVersionDetail& WithTrainingDataSchema(const TrainingDataSchema& value) { SetTrainingDataSchema(value); return *this;} /** *The training data schema.
*/ inline ModelVersionDetail& WithTrainingDataSchema(TrainingDataSchema&& value) { SetTrainingDataSchema(std::move(value)); return *this;} /** *The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The external events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* EXTERNAL_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The ingested events data details. This will be populated if the
* trainingDataSource
for the model version is specified as
* INGESTED_EVENTS
.
The training results.
*/ inline const TrainingResult& GetTrainingResult() const{ return m_trainingResult; } /** *The training results.
*/ inline bool TrainingResultHasBeenSet() const { return m_trainingResultHasBeenSet; } /** *The training results.
*/ inline void SetTrainingResult(const TrainingResult& value) { m_trainingResultHasBeenSet = true; m_trainingResult = value; } /** *The training results.
*/ inline void SetTrainingResult(TrainingResult&& value) { m_trainingResultHasBeenSet = true; m_trainingResult = std::move(value); } /** *The training results.
*/ inline ModelVersionDetail& WithTrainingResult(const TrainingResult& value) { SetTrainingResult(value); return *this;} /** *The training results.
*/ inline ModelVersionDetail& WithTrainingResult(TrainingResult&& value) { SetTrainingResult(std::move(value)); return *this;} /** *The timestamp when the model was last updated.
*/ inline const Aws::String& GetLastUpdatedTime() const{ return m_lastUpdatedTime; } /** *The timestamp when the model was last updated.
*/ inline bool LastUpdatedTimeHasBeenSet() const { return m_lastUpdatedTimeHasBeenSet; } /** *The timestamp when the model was last updated.
*/ inline void SetLastUpdatedTime(const Aws::String& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = value; } /** *The timestamp when the model was last updated.
*/ inline void SetLastUpdatedTime(Aws::String&& value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime = std::move(value); } /** *The timestamp when the model was last updated.
*/ inline void SetLastUpdatedTime(const char* value) { m_lastUpdatedTimeHasBeenSet = true; m_lastUpdatedTime.assign(value); } /** *The timestamp when the model was last updated.
*/ inline ModelVersionDetail& WithLastUpdatedTime(const Aws::String& value) { SetLastUpdatedTime(value); return *this;} /** *The timestamp when the model was last updated.
*/ inline ModelVersionDetail& WithLastUpdatedTime(Aws::String&& value) { SetLastUpdatedTime(std::move(value)); return *this;} /** *The timestamp when the model was last updated.
*/ inline ModelVersionDetail& WithLastUpdatedTime(const char* value) { SetLastUpdatedTime(value); return *this;} /** *The timestamp when the model was created.
*/ inline const Aws::String& GetCreatedTime() const{ return m_createdTime; } /** *The timestamp when the model was created.
*/ inline bool CreatedTimeHasBeenSet() const { return m_createdTimeHasBeenSet; } /** *The timestamp when the model was created.
*/ inline void SetCreatedTime(const Aws::String& value) { m_createdTimeHasBeenSet = true; m_createdTime = value; } /** *The timestamp when the model was created.
*/ inline void SetCreatedTime(Aws::String&& value) { m_createdTimeHasBeenSet = true; m_createdTime = std::move(value); } /** *The timestamp when the model was created.
*/ inline void SetCreatedTime(const char* value) { m_createdTimeHasBeenSet = true; m_createdTime.assign(value); } /** *The timestamp when the model was created.
*/ inline ModelVersionDetail& WithCreatedTime(const Aws::String& value) { SetCreatedTime(value); return *this;} /** *The timestamp when the model was created.
*/ inline ModelVersionDetail& WithCreatedTime(Aws::String&& value) { SetCreatedTime(std::move(value)); return *this;} /** *The timestamp when the model was created.
*/ inline ModelVersionDetail& WithCreatedTime(const char* value) { SetCreatedTime(value); return *this;} /** *The model version ARN.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The model version ARN.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The model version ARN.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The model version ARN.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The model version ARN.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The model version ARN.
*/ inline ModelVersionDetail& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The model version ARN.
*/ inline ModelVersionDetail& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The model version ARN.
*/ inline ModelVersionDetail& WithArn(const char* value) { SetArn(value); return *this;} /** *The training result details. The details include the relative importance of * the variables.
*/ inline const TrainingResultV2& GetTrainingResultV2() const{ return m_trainingResultV2; } /** *The training result details. The details include the relative importance of * the variables.
*/ inline bool TrainingResultV2HasBeenSet() const { return m_trainingResultV2HasBeenSet; } /** *The training result details. The details include the relative importance of * the variables.
*/ inline void SetTrainingResultV2(const TrainingResultV2& value) { m_trainingResultV2HasBeenSet = true; m_trainingResultV2 = value; } /** *The training result details. The details include the relative importance of * the variables.
*/ inline void SetTrainingResultV2(TrainingResultV2&& value) { m_trainingResultV2HasBeenSet = true; m_trainingResultV2 = std::move(value); } /** *The training result details. The details include the relative importance of * the variables.
*/ inline ModelVersionDetail& WithTrainingResultV2(const TrainingResultV2& value) { SetTrainingResultV2(value); return *this;} /** *The training result details. The details include the relative importance of * the variables.
*/ inline ModelVersionDetail& WithTrainingResultV2(TrainingResultV2&& value) { SetTrainingResultV2(std::move(value)); return *this;} private: Aws::String m_modelId; bool m_modelIdHasBeenSet = false; ModelTypeEnum m_modelType; bool m_modelTypeHasBeenSet = false; Aws::String m_modelVersionNumber; bool m_modelVersionNumberHasBeenSet = false; Aws::String m_status; bool m_statusHasBeenSet = false; TrainingDataSourceEnum m_trainingDataSource; bool m_trainingDataSourceHasBeenSet = false; TrainingDataSchema m_trainingDataSchema; bool m_trainingDataSchemaHasBeenSet = false; ExternalEventsDetail m_externalEventsDetail; bool m_externalEventsDetailHasBeenSet = false; IngestedEventsDetail m_ingestedEventsDetail; bool m_ingestedEventsDetailHasBeenSet = false; TrainingResult m_trainingResult; bool m_trainingResultHasBeenSet = false; Aws::String m_lastUpdatedTime; bool m_lastUpdatedTimeHasBeenSet = false; Aws::String m_createdTime; bool m_createdTimeHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; TrainingResultV2 m_trainingResultV2; bool m_trainingResultV2HasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws