/** * 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 #include namespace Aws { template class AmazonWebServiceResult; namespace Utils { namespace Json { class JsonValue; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { class GetEventPredictionMetadataResult { public: AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult(); AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult(const Aws::AmazonWebServiceResult& result); AWS_FRAUDDETECTOR_API GetEventPredictionMetadataResult& operator=(const Aws::AmazonWebServiceResult& result); /** *

The event ID.

*/ inline const Aws::String& GetEventId() const{ return m_eventId; } /** *

The event ID.

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

The event ID.

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

The event ID.

*/ inline void SetEventId(const char* value) { m_eventId.assign(value); } /** *

The event ID.

*/ inline GetEventPredictionMetadataResult& WithEventId(const Aws::String& value) { SetEventId(value); return *this;} /** *

The event ID.

*/ inline GetEventPredictionMetadataResult& WithEventId(Aws::String&& value) { SetEventId(std::move(value)); return *this;} /** *

The event ID.

*/ inline GetEventPredictionMetadataResult& WithEventId(const char* value) { SetEventId(value); return *this;} /** *

The event type associated with the detector specified for this prediction. *

*/ inline const Aws::String& GetEventTypeName() const{ return m_eventTypeName; } /** *

The event type associated with the detector specified for this prediction. *

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

The event type associated with the detector specified for this prediction. *

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

The event type associated with the detector specified for this prediction. *

*/ inline void SetEventTypeName(const char* value) { m_eventTypeName.assign(value); } /** *

The event type associated with the detector specified for this prediction. *

*/ inline GetEventPredictionMetadataResult& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *

The event type associated with the detector specified for this prediction. *

*/ inline GetEventPredictionMetadataResult& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *

The event type associated with the detector specified for this prediction. *

*/ inline GetEventPredictionMetadataResult& WithEventTypeName(const char* value) { SetEventTypeName(value); return *this;} /** *

The entity ID.

*/ inline const Aws::String& GetEntityId() const{ return m_entityId; } /** *

The entity ID.

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

The entity ID.

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

The entity ID.

*/ inline void SetEntityId(const char* value) { m_entityId.assign(value); } /** *

The entity ID.

*/ inline GetEventPredictionMetadataResult& WithEntityId(const Aws::String& value) { SetEntityId(value); return *this;} /** *

The entity ID.

*/ inline GetEventPredictionMetadataResult& WithEntityId(Aws::String&& value) { SetEntityId(std::move(value)); return *this;} /** *

The entity ID.

*/ inline GetEventPredictionMetadataResult& WithEntityId(const char* value) { SetEntityId(value); return *this;} /** *

The entity type.

*/ inline const Aws::String& GetEntityType() const{ return m_entityType; } /** *

The entity type.

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

The entity type.

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

The entity type.

*/ inline void SetEntityType(const char* value) { m_entityType.assign(value); } /** *

The entity type.

*/ inline GetEventPredictionMetadataResult& WithEntityType(const Aws::String& value) { SetEntityType(value); return *this;} /** *

The entity type.

*/ inline GetEventPredictionMetadataResult& WithEntityType(Aws::String&& value) { SetEntityType(std::move(value)); return *this;} /** *

The entity type.

*/ inline GetEventPredictionMetadataResult& WithEntityType(const char* value) { SetEntityType(value); return *this;} /** *

The timestamp for when the prediction was generated for the associated event * ID.

*/ inline const Aws::String& GetEventTimestamp() const{ return m_eventTimestamp; } /** *

The timestamp for when the prediction was generated for the associated event * ID.

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

The timestamp for when the prediction was generated for the associated event * ID.

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

The timestamp for when the prediction was generated for the associated event * ID.

*/ inline void SetEventTimestamp(const char* value) { m_eventTimestamp.assign(value); } /** *

The timestamp for when the prediction was generated for the associated event * ID.

*/ inline GetEventPredictionMetadataResult& WithEventTimestamp(const Aws::String& value) { SetEventTimestamp(value); return *this;} /** *

The timestamp for when the prediction was generated for the associated event * ID.

*/ inline GetEventPredictionMetadataResult& WithEventTimestamp(Aws::String&& value) { SetEventTimestamp(std::move(value)); return *this;} /** *

The timestamp for when the prediction was generated for the associated event * ID.

*/ inline GetEventPredictionMetadataResult& WithEventTimestamp(const char* value) { SetEventTimestamp(value); return *this;} /** *

The detector ID.

*/ inline const Aws::String& GetDetectorId() const{ return m_detectorId; } /** *

The detector ID.

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

The detector ID.

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

The detector ID.

*/ inline void SetDetectorId(const char* value) { m_detectorId.assign(value); } /** *

The detector ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorId(const Aws::String& value) { SetDetectorId(value); return *this;} /** *

The detector ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorId(Aws::String&& value) { SetDetectorId(std::move(value)); return *this;} /** *

The detector ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorId(const char* value) { SetDetectorId(value); return *this;} /** *

The detector version ID.

*/ inline const Aws::String& GetDetectorVersionId() const{ return m_detectorVersionId; } /** *

The detector version ID.

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

The detector version ID.

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

The detector version ID.

*/ inline void SetDetectorVersionId(const char* value) { m_detectorVersionId.assign(value); } /** *

The detector version ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionId(const Aws::String& value) { SetDetectorVersionId(value); return *this;} /** *

The detector version ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionId(Aws::String&& value) { SetDetectorVersionId(std::move(value)); return *this;} /** *

The detector version ID.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionId(const char* value) { SetDetectorVersionId(value); return *this;} /** *

The status of the detector version.

*/ inline const Aws::String& GetDetectorVersionStatus() const{ return m_detectorVersionStatus; } /** *

The status of the detector version.

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

The status of the detector version.

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

The status of the detector version.

*/ inline void SetDetectorVersionStatus(const char* value) { m_detectorVersionStatus.assign(value); } /** *

The status of the detector version.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionStatus(const Aws::String& value) { SetDetectorVersionStatus(value); return *this;} /** *

The status of the detector version.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionStatus(Aws::String&& value) { SetDetectorVersionStatus(std::move(value)); return *this;} /** *

The status of the detector version.

*/ inline GetEventPredictionMetadataResult& WithDetectorVersionStatus(const char* value) { SetDetectorVersionStatus(value); return *this;} /** *

A list of event variables that influenced the prediction scores.

*/ inline const Aws::Vector& GetEventVariables() const{ return m_eventVariables; } /** *

A list of event variables that influenced the prediction scores.

*/ inline void SetEventVariables(const Aws::Vector& value) { m_eventVariables = value; } /** *

A list of event variables that influenced the prediction scores.

*/ inline void SetEventVariables(Aws::Vector&& value) { m_eventVariables = std::move(value); } /** *

A list of event variables that influenced the prediction scores.

*/ inline GetEventPredictionMetadataResult& WithEventVariables(const Aws::Vector& value) { SetEventVariables(value); return *this;} /** *

A list of event variables that influenced the prediction scores.

*/ inline GetEventPredictionMetadataResult& WithEventVariables(Aws::Vector&& value) { SetEventVariables(std::move(value)); return *this;} /** *

A list of event variables that influenced the prediction scores.

*/ inline GetEventPredictionMetadataResult& AddEventVariables(const EventVariableSummary& value) { m_eventVariables.push_back(value); return *this; } /** *

A list of event variables that influenced the prediction scores.

*/ inline GetEventPredictionMetadataResult& AddEventVariables(EventVariableSummary&& value) { m_eventVariables.push_back(std::move(value)); return *this; } /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline const Aws::Vector& GetRules() const{ return m_rules; } /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline void SetRules(const Aws::Vector& value) { m_rules = value; } /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline void SetRules(Aws::Vector&& value) { m_rules = std::move(value); } /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline GetEventPredictionMetadataResult& WithRules(const Aws::Vector& value) { SetRules(value); return *this;} /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline GetEventPredictionMetadataResult& WithRules(Aws::Vector&& value) { SetRules(std::move(value)); return *this;} /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline GetEventPredictionMetadataResult& AddRules(const EvaluatedRule& value) { m_rules.push_back(value); return *this; } /** *

List of rules associated with the detector version that were used for * evaluating variable values.

*/ inline GetEventPredictionMetadataResult& AddRules(EvaluatedRule&& value) { m_rules.push_back(std::move(value)); return *this; } /** *

The execution mode of the rule used for evaluating variable values.

*/ inline const RuleExecutionMode& GetRuleExecutionMode() const{ return m_ruleExecutionMode; } /** *

The execution mode of the rule used for evaluating variable values.

*/ inline void SetRuleExecutionMode(const RuleExecutionMode& value) { m_ruleExecutionMode = value; } /** *

The execution mode of the rule used for evaluating variable values.

*/ inline void SetRuleExecutionMode(RuleExecutionMode&& value) { m_ruleExecutionMode = std::move(value); } /** *

The execution mode of the rule used for evaluating variable values.

*/ inline GetEventPredictionMetadataResult& WithRuleExecutionMode(const RuleExecutionMode& value) { SetRuleExecutionMode(value); return *this;} /** *

The execution mode of the rule used for evaluating variable values.

*/ inline GetEventPredictionMetadataResult& WithRuleExecutionMode(RuleExecutionMode&& value) { SetRuleExecutionMode(std::move(value)); return *this;} /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline const Aws::Vector& GetOutcomes() const{ return m_outcomes; } /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline void SetOutcomes(const Aws::Vector& value) { m_outcomes = value; } /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline void SetOutcomes(Aws::Vector&& value) { m_outcomes = std::move(value); } /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline GetEventPredictionMetadataResult& WithOutcomes(const Aws::Vector& value) { SetOutcomes(value); return *this;} /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline GetEventPredictionMetadataResult& WithOutcomes(Aws::Vector&& value) { SetOutcomes(std::move(value)); return *this;} /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline GetEventPredictionMetadataResult& AddOutcomes(const Aws::String& value) { m_outcomes.push_back(value); return *this; } /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline GetEventPredictionMetadataResult& AddOutcomes(Aws::String&& value) { m_outcomes.push_back(std::move(value)); return *this; } /** *

The outcomes of the matched rule, based on the rule execution mode.

*/ inline GetEventPredictionMetadataResult& AddOutcomes(const char* value) { m_outcomes.push_back(value); return *this; } /** *

Model versions that were evaluated for generating predictions.

*/ inline const Aws::Vector& GetEvaluatedModelVersions() const{ return m_evaluatedModelVersions; } /** *

Model versions that were evaluated for generating predictions.

*/ inline void SetEvaluatedModelVersions(const Aws::Vector& value) { m_evaluatedModelVersions = value; } /** *

Model versions that were evaluated for generating predictions.

*/ inline void SetEvaluatedModelVersions(Aws::Vector&& value) { m_evaluatedModelVersions = std::move(value); } /** *

Model versions that were evaluated for generating predictions.

*/ inline GetEventPredictionMetadataResult& WithEvaluatedModelVersions(const Aws::Vector& value) { SetEvaluatedModelVersions(value); return *this;} /** *

Model versions that were evaluated for generating predictions.

*/ inline GetEventPredictionMetadataResult& WithEvaluatedModelVersions(Aws::Vector&& value) { SetEvaluatedModelVersions(std::move(value)); return *this;} /** *

Model versions that were evaluated for generating predictions.

*/ inline GetEventPredictionMetadataResult& AddEvaluatedModelVersions(const EvaluatedModelVersion& value) { m_evaluatedModelVersions.push_back(value); return *this; } /** *

Model versions that were evaluated for generating predictions.

*/ inline GetEventPredictionMetadataResult& AddEvaluatedModelVersions(EvaluatedModelVersion&& value) { m_evaluatedModelVersions.push_back(std::move(value)); return *this; } /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline const Aws::Vector& GetEvaluatedExternalModels() const{ return m_evaluatedExternalModels; } /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline void SetEvaluatedExternalModels(const Aws::Vector& value) { m_evaluatedExternalModels = value; } /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline void SetEvaluatedExternalModels(Aws::Vector&& value) { m_evaluatedExternalModels = std::move(value); } /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline GetEventPredictionMetadataResult& WithEvaluatedExternalModels(const Aws::Vector& value) { SetEvaluatedExternalModels(value); return *this;} /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline GetEventPredictionMetadataResult& WithEvaluatedExternalModels(Aws::Vector&& value) { SetEvaluatedExternalModels(std::move(value)); return *this;} /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline GetEventPredictionMetadataResult& AddEvaluatedExternalModels(const EvaluatedExternalModel& value) { m_evaluatedExternalModels.push_back(value); return *this; } /** *

External (Amazon SageMaker) models that were evaluated for generating * predictions.

*/ inline GetEventPredictionMetadataResult& AddEvaluatedExternalModels(EvaluatedExternalModel&& value) { m_evaluatedExternalModels.push_back(std::move(value)); return *this; } /** *

The timestamp that defines when the prediction was generated.

*/ inline const Aws::String& GetPredictionTimestamp() const{ return m_predictionTimestamp; } /** *

The timestamp that defines when the prediction was generated.

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

The timestamp that defines when the prediction was generated.

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

The timestamp that defines when the prediction was generated.

*/ inline void SetPredictionTimestamp(const char* value) { m_predictionTimestamp.assign(value); } /** *

The timestamp that defines when the prediction was generated.

*/ inline GetEventPredictionMetadataResult& WithPredictionTimestamp(const Aws::String& value) { SetPredictionTimestamp(value); return *this;} /** *

The timestamp that defines when the prediction was generated.

*/ inline GetEventPredictionMetadataResult& WithPredictionTimestamp(Aws::String&& value) { SetPredictionTimestamp(std::move(value)); return *this;} /** *

The timestamp that defines when the prediction was generated.

*/ inline GetEventPredictionMetadataResult& WithPredictionTimestamp(const char* value) { SetPredictionTimestamp(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 GetEventPredictionMetadataResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;} inline GetEventPredictionMetadataResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;} inline GetEventPredictionMetadataResult& WithRequestId(const char* value) { SetRequestId(value); return *this;} private: Aws::String m_eventId; Aws::String m_eventTypeName; Aws::String m_entityId; Aws::String m_entityType; Aws::String m_eventTimestamp; Aws::String m_detectorId; Aws::String m_detectorVersionId; Aws::String m_detectorVersionStatus; Aws::Vector m_eventVariables; Aws::Vector m_rules; RuleExecutionMode m_ruleExecutionMode; Aws::Vector m_outcomes; Aws::Vector m_evaluatedModelVersions; Aws::Vector m_evaluatedExternalModels; Aws::String m_predictionTimestamp; Aws::String m_requestId; }; } // namespace Model } // namespace FraudDetector } // namespace Aws