/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include #include #include #include #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { class GetModelVersionResult { public: AWS_FRAUDDETECTOR_API GetModelVersionResult(); AWS_FRAUDDETECTOR_API GetModelVersionResult(const Aws::AmazonWebServiceResult& result); AWS_FRAUDDETECTOR_API GetModelVersionResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The model ID.

*/ inline const Aws::String& GetModelId() const{ return m_modelId; } /** *

The model ID.

*/ inline void SetModelId(const Aws::String& value) { m_modelId = value; } /** *

The model ID.

*/ inline void SetModelId(Aws::String&& value) { m_modelId = std::move(value); } /** *

The model ID.

*/ inline void SetModelId(const char* value) { m_modelId.assign(value); } /** *

The model ID.

*/ inline GetModelVersionResult& WithModelId(const Aws::String& value) { SetModelId(value); return *this;} /** *

The model ID.

*/ inline GetModelVersionResult& WithModelId(Aws::String&& value) { SetModelId(std::move(value)); return *this;} /** *

The model ID.

*/ inline GetModelVersionResult& WithModelId(const char* value) { SetModelId(value); return *this;} /** *

The model type.

*/ inline const ModelTypeEnum& GetModelType() const{ return m_modelType; } /** *

The model type.

*/ inline void SetModelType(const ModelTypeEnum& value) { m_modelType = value; } /** *

The model type.

*/ inline void SetModelType(ModelTypeEnum&& value) { m_modelType = std::move(value); } /** *

The model type.

*/ inline GetModelVersionResult& WithModelType(const ModelTypeEnum& value) { SetModelType(value); return *this;} /** *

The model type.

*/ inline GetModelVersionResult& 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 void SetModelVersionNumber(const Aws::String& value) { m_modelVersionNumber = value; } /** *

The model version number.

*/ inline void SetModelVersionNumber(Aws::String&& value) { m_modelVersionNumber = std::move(value); } /** *

The model version number.

*/ inline void SetModelVersionNumber(const char* value) { m_modelVersionNumber.assign(value); } /** *

The model version number.

*/ inline GetModelVersionResult& WithModelVersionNumber(const Aws::String& value) { SetModelVersionNumber(value); return *this;} /** *

The model version number.

*/ inline GetModelVersionResult& WithModelVersionNumber(Aws::String&& value) { SetModelVersionNumber(std::move(value)); return *this;} /** *

The model version number.

*/ inline GetModelVersionResult& WithModelVersionNumber(const char* value) { SetModelVersionNumber(value); return *this;} /** *

The training data source.

*/ inline const TrainingDataSourceEnum& GetTrainingDataSource() const{ return m_trainingDataSource; } /** *

The training data source.

*/ inline void SetTrainingDataSource(const TrainingDataSourceEnum& value) { m_trainingDataSource = value; } /** *

The training data source.

*/ inline void SetTrainingDataSource(TrainingDataSourceEnum&& value) { m_trainingDataSource = std::move(value); } /** *

The training data source.

*/ inline GetModelVersionResult& WithTrainingDataSource(const TrainingDataSourceEnum& value) { SetTrainingDataSource(value); return *this;} /** *

The training data source.

*/ inline GetModelVersionResult& 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 void SetTrainingDataSchema(const TrainingDataSchema& value) { m_trainingDataSchema = value; } /** *

The training data schema.

*/ inline void SetTrainingDataSchema(TrainingDataSchema&& value) { m_trainingDataSchema = std::move(value); } /** *

The training data schema.

*/ inline GetModelVersionResult& WithTrainingDataSchema(const TrainingDataSchema& value) { SetTrainingDataSchema(value); return *this;} /** *

The training data schema.

*/ inline GetModelVersionResult& WithTrainingDataSchema(TrainingDataSchema&& value) { SetTrainingDataSchema(std::move(value)); return *this;} /** *

The details of the external events data used for training the model version. * This will be populated if the trainingDataSource is * EXTERNAL_EVENTS

*/ inline const ExternalEventsDetail& GetExternalEventsDetail() const{ return m_externalEventsDetail; } /** *

The details of the external events data used for training the model version. * This will be populated if the trainingDataSource is * EXTERNAL_EVENTS

*/ inline void SetExternalEventsDetail(const ExternalEventsDetail& value) { m_externalEventsDetail = value; } /** *

The details of the external events data used for training the model version. * This will be populated if the trainingDataSource is * EXTERNAL_EVENTS

*/ inline void SetExternalEventsDetail(ExternalEventsDetail&& value) { m_externalEventsDetail = std::move(value); } /** *

The details of the external events data used for training the model version. * This will be populated if the trainingDataSource is * EXTERNAL_EVENTS

*/ inline GetModelVersionResult& WithExternalEventsDetail(const ExternalEventsDetail& value) { SetExternalEventsDetail(value); return *this;} /** *

The details of the external events data used for training the model version. * This will be populated if the trainingDataSource is * EXTERNAL_EVENTS

*/ inline GetModelVersionResult& WithExternalEventsDetail(ExternalEventsDetail&& value) { SetExternalEventsDetail(std::move(value)); return *this;} /** *

The details of the ingested events data used for training the model version. * This will be populated if the trainingDataSource is * INGESTED_EVENTS.

*/ inline const IngestedEventsDetail& GetIngestedEventsDetail() const{ return m_ingestedEventsDetail; } /** *

The details of the ingested events data used for training the model version. * This will be populated if the trainingDataSource is * INGESTED_EVENTS.

*/ inline void SetIngestedEventsDetail(const IngestedEventsDetail& value) { m_ingestedEventsDetail = value; } /** *

The details of the ingested events data used for training the model version. * This will be populated if the trainingDataSource is * INGESTED_EVENTS.

*/ inline void SetIngestedEventsDetail(IngestedEventsDetail&& value) { m_ingestedEventsDetail = std::move(value); } /** *

The details of the ingested events data used for training the model version. * This will be populated if the trainingDataSource is * INGESTED_EVENTS.

*/ inline GetModelVersionResult& WithIngestedEventsDetail(const IngestedEventsDetail& value) { SetIngestedEventsDetail(value); return *this;} /** *

The details of the ingested events data used for training the model version. * This will be populated if the trainingDataSource is * INGESTED_EVENTS.

*/ inline GetModelVersionResult& WithIngestedEventsDetail(IngestedEventsDetail&& value) { SetIngestedEventsDetail(std::move(value)); return *this;} /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline const Aws::String& GetStatus() const{ return m_status; } /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline void SetStatus(const Aws::String& value) { m_status = value; } /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline void SetStatus(Aws::String&& value) { m_status = std::move(value); } /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline void SetStatus(const char* value) { m_status.assign(value); } /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline GetModelVersionResult& WithStatus(const Aws::String& value) { SetStatus(value); return *this;} /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline GetModelVersionResult& WithStatus(Aws::String&& value) { SetStatus(std::move(value)); return *this;} /** *

The model version status.

Possible values are:

  • * TRAINING_IN_PROGRESS

  • * TRAINING_COMPLETE

  • * ACTIVATE_REQUESTED

  • * ACTIVATE_IN_PROGRESS

  • ACTIVE

    *
  • INACTIVATE_REQUESTED

  • * INACTIVATE_IN_PROGRESS

  • INACTIVE *

  • ERROR

*/ inline GetModelVersionResult& WithStatus(const char* value) { SetStatus(value); return *this;} /** *

The model version ARN.

*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *

The model version ARN.

*/ inline void SetArn(const Aws::String& value) { m_arn = value; } /** *

The model version ARN.

*/ inline void SetArn(Aws::String&& value) { m_arn = std::move(value); } /** *

The model version ARN.

*/ inline void SetArn(const char* value) { m_arn.assign(value); } /** *

The model version ARN.

*/ inline GetModelVersionResult& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *

The model version ARN.

*/ inline GetModelVersionResult& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *

The model version ARN.

*/ inline GetModelVersionResult& WithArn(const char* value) { SetArn(value); return *this;} inline const Aws::String& GetRequestId() const{ return m_requestId; } inline void SetRequestId(const Aws::String& value) { m_requestId = value; } inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); } inline void SetRequestId(const char* value) { m_requestId.assign(value); } inline GetModelVersionResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetModelVersionResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetModelVersionResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_modelId; ModelTypeEnum m_modelType; Aws::String m_modelVersionNumber; TrainingDataSourceEnum m_trainingDataSource; TrainingDataSchema m_trainingDataSchema; ExternalEventsDetail m_externalEventsDetail; IngestedEventsDetail m_ingestedEventsDetail; Aws::String m_status; Aws::String m_arn; Aws::String m_requestId; }; } // namespace Model } // namespace FraudDetector } // namespace Aws