/** * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * SPDX-License-Identifier: Apache-2.0. */ #pragma once #include #include #include #include namespace Aws { namespace Utils { namespace Json { class JsonValue; class JsonView; } // namespace Json } // namespace Utils namespace FraudDetector { namespace Model { /** *

The batch prediction details.

See Also:

AWS * API Reference

*/ class BatchPrediction { public: AWS_FRAUDDETECTOR_API BatchPrediction(); AWS_FRAUDDETECTOR_API BatchPrediction(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API BatchPrediction& operator=(Aws::Utils::Json::JsonView jsonValue); AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const; /** *

The job ID for the batch prediction.

*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *

The job ID for the batch prediction.

*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *

The job ID for the batch prediction.

*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *

The job ID for the batch prediction.

*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *

The job ID for the batch prediction.

*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *

The job ID for the batch prediction.

*/ inline BatchPrediction& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *

The job ID for the batch prediction.

*/ inline BatchPrediction& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *

The job ID for the batch prediction.

*/ inline BatchPrediction& WithJobId(const char* value) { SetJobId(value); return *this;} /** *

The batch prediction status.

*/ inline const AsyncJobStatus& GetStatus() const{ return m_status; } /** *

The batch prediction status.

*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *

The batch prediction status.

*/ inline void SetStatus(const AsyncJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *

The batch prediction status.

*/ inline void SetStatus(AsyncJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *

The batch prediction status.

*/ inline BatchPrediction& WithStatus(const AsyncJobStatus& value) { SetStatus(value); return *this;} /** *

The batch prediction status.

*/ inline BatchPrediction& WithStatus(AsyncJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *

The reason a batch prediction job failed.

*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *

The reason a batch prediction job failed.

*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *

The reason a batch prediction job failed.

*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *

The reason a batch prediction job failed.

*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *

The reason a batch prediction job failed.

*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *

The reason a batch prediction job failed.

*/ inline BatchPrediction& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *

The reason a batch prediction job failed.

*/ inline BatchPrediction& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *

The reason a batch prediction job failed.

*/ inline BatchPrediction& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *

Timestamp of when the batch prediction job started.

*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *

Timestamp of when the batch prediction job started.

*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *

Timestamp of when the batch prediction job started.

*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *

Timestamp of when the batch prediction job started.

*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *

Timestamp of when the batch prediction job started.

*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *

Timestamp of when the batch prediction job started.

*/ inline BatchPrediction& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *

Timestamp of when the batch prediction job started.

*/ inline BatchPrediction& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *

Timestamp of when the batch prediction job started.

*/ inline BatchPrediction& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *

Timestamp of when the batch prediction job completed.

*/ inline const Aws::String& GetCompletionTime() const{ return m_completionTime; } /** *

Timestamp of when the batch prediction job completed.

*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *

Timestamp of when the batch prediction job completed.

*/ inline void SetCompletionTime(const Aws::String& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *

Timestamp of when the batch prediction job completed.

*/ inline void SetCompletionTime(Aws::String&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *

Timestamp of when the batch prediction job completed.

*/ inline void SetCompletionTime(const char* value) { m_completionTimeHasBeenSet = true; m_completionTime.assign(value); } /** *

Timestamp of when the batch prediction job completed.

*/ inline BatchPrediction& WithCompletionTime(const Aws::String& value) { SetCompletionTime(value); return *this;} /** *

Timestamp of when the batch prediction job completed.

*/ inline BatchPrediction& WithCompletionTime(Aws::String&& value) { SetCompletionTime(std::move(value)); return *this;} /** *

Timestamp of when the batch prediction job completed.

*/ inline BatchPrediction& WithCompletionTime(const char* value) { SetCompletionTime(value); return *this;} /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline const Aws::String& GetLastHeartbeatTime() const{ return m_lastHeartbeatTime; } /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline bool LastHeartbeatTimeHasBeenSet() const { return m_lastHeartbeatTimeHasBeenSet; } /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline void SetLastHeartbeatTime(const Aws::String& value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime = value; } /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline void SetLastHeartbeatTime(Aws::String&& value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime = std::move(value); } /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline void SetLastHeartbeatTime(const char* value) { m_lastHeartbeatTimeHasBeenSet = true; m_lastHeartbeatTime.assign(value); } /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline BatchPrediction& WithLastHeartbeatTime(const Aws::String& value) { SetLastHeartbeatTime(value); return *this;} /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline BatchPrediction& WithLastHeartbeatTime(Aws::String&& value) { SetLastHeartbeatTime(std::move(value)); return *this;} /** *

Timestamp of most recent heartbeat indicating the batch prediction job was * making progress.

*/ inline BatchPrediction& WithLastHeartbeatTime(const char* value) { SetLastHeartbeatTime(value); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline const Aws::String& GetInputPath() const{ return m_inputPath; } /** *

The Amazon S3 location of your training file.

*/ inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); } /** *

The Amazon S3 location of your training file.

*/ inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); } /** *

The Amazon S3 location of your training file.

*/ inline BatchPrediction& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline BatchPrediction& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;} /** *

The Amazon S3 location of your training file.

*/ inline BatchPrediction& WithInputPath(const char* value) { SetInputPath(value); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline const Aws::String& GetOutputPath() const{ return m_outputPath; } /** *

The Amazon S3 location of your output file.

*/ inline bool OutputPathHasBeenSet() const { return m_outputPathHasBeenSet; } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(const Aws::String& value) { m_outputPathHasBeenSet = true; m_outputPath = value; } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(Aws::String&& value) { m_outputPathHasBeenSet = true; m_outputPath = std::move(value); } /** *

The Amazon S3 location of your output file.

*/ inline void SetOutputPath(const char* value) { m_outputPathHasBeenSet = true; m_outputPath.assign(value); } /** *

The Amazon S3 location of your output file.

*/ inline BatchPrediction& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline BatchPrediction& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;} /** *

The Amazon S3 location of your output file.

*/ inline BatchPrediction& WithOutputPath(const char* value) { SetOutputPath(value); return *this;} /** *

The name of the event type.

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

The name of the event type.

*/ inline bool EventTypeNameHasBeenSet() const { return m_eventTypeNameHasBeenSet; } /** *

The name of the event type.

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

The name of the event type.

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

The name of the event type.

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

The name of the event type.

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

The name of the event type.

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

The name of the event type.

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

The name of the detector.

*/ inline const Aws::String& GetDetectorName() const{ return m_detectorName; } /** *

The name of the detector.

*/ inline bool DetectorNameHasBeenSet() const { return m_detectorNameHasBeenSet; } /** *

The name of the detector.

*/ inline void SetDetectorName(const Aws::String& value) { m_detectorNameHasBeenSet = true; m_detectorName = value; } /** *

The name of the detector.

*/ inline void SetDetectorName(Aws::String&& value) { m_detectorNameHasBeenSet = true; m_detectorName = std::move(value); } /** *

The name of the detector.

*/ inline void SetDetectorName(const char* value) { m_detectorNameHasBeenSet = true; m_detectorName.assign(value); } /** *

The name of the detector.

*/ inline BatchPrediction& WithDetectorName(const Aws::String& value) { SetDetectorName(value); return *this;} /** *

The name of the detector.

*/ inline BatchPrediction& WithDetectorName(Aws::String&& value) { SetDetectorName(std::move(value)); return *this;} /** *

The name of the detector.

*/ inline BatchPrediction& WithDetectorName(const char* value) { SetDetectorName(value); return *this;} /** *

The detector version.

*/ inline const Aws::String& GetDetectorVersion() const{ return m_detectorVersion; } /** *

The detector version.

*/ inline bool DetectorVersionHasBeenSet() const { return m_detectorVersionHasBeenSet; } /** *

The detector version.

*/ inline void SetDetectorVersion(const Aws::String& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = value; } /** *

The detector version.

*/ inline void SetDetectorVersion(Aws::String&& value) { m_detectorVersionHasBeenSet = true; m_detectorVersion = std::move(value); } /** *

The detector version.

*/ inline void SetDetectorVersion(const char* value) { m_detectorVersionHasBeenSet = true; m_detectorVersion.assign(value); } /** *

The detector version.

*/ inline BatchPrediction& WithDetectorVersion(const Aws::String& value) { SetDetectorVersion(value); return *this;} /** *

The detector version.

*/ inline BatchPrediction& WithDetectorVersion(Aws::String&& value) { SetDetectorVersion(std::move(value)); return *this;} /** *

The detector version.

*/ inline BatchPrediction& WithDetectorVersion(const char* value) { SetDetectorVersion(value); return *this;} /** *

The ARN of the IAM role to use for this job request.

*/ inline const Aws::String& GetIamRoleArn() const{ return m_iamRoleArn; } /** *

The ARN of the IAM role to use for this job request.

*/ inline bool IamRoleArnHasBeenSet() const { return m_iamRoleArnHasBeenSet; } /** *

The ARN of the IAM role to use for this job request.

*/ inline void SetIamRoleArn(const Aws::String& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = value; } /** *

The ARN of the IAM role to use for this job request.

*/ inline void SetIamRoleArn(Aws::String&& value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn = std::move(value); } /** *

The ARN of the IAM role to use for this job request.

*/ inline void SetIamRoleArn(const char* value) { m_iamRoleArnHasBeenSet = true; m_iamRoleArn.assign(value); } /** *

The ARN of the IAM role to use for this job request.

*/ inline BatchPrediction& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *

The ARN of the IAM role to use for this job request.

*/ inline BatchPrediction& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *

The ARN of the IAM role to use for this job request.

*/ inline BatchPrediction& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *

The ARN of batch prediction job.

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

The ARN of batch prediction job.

*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *

The ARN of batch prediction job.

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

The ARN of batch prediction job.

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

The ARN of batch prediction job.

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

The ARN of batch prediction job.

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

The ARN of batch prediction job.

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

The ARN of batch prediction job.

*/ inline BatchPrediction& WithArn(const char* value) { SetArn(value); return *this;} /** *

The number of records processed by the batch prediction job.

*/ inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; } /** *

The number of records processed by the batch prediction job.

*/ inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; } /** *

The number of records processed by the batch prediction job.

*/ inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; } /** *

The number of records processed by the batch prediction job.

*/ inline BatchPrediction& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;} /** *

The total number of records in the batch prediction job.

*/ inline int GetTotalRecordsCount() const{ return m_totalRecordsCount; } /** *

The total number of records in the batch prediction job.

*/ inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; } /** *

The total number of records in the batch prediction job.

*/ inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; } /** *

The total number of records in the batch prediction job.

*/ inline BatchPrediction& WithTotalRecordsCount(int value) { SetTotalRecordsCount(value); return *this;} private: Aws::String m_jobId; bool m_jobIdHasBeenSet = false; AsyncJobStatus m_status; bool m_statusHasBeenSet = false; Aws::String m_failureReason; bool m_failureReasonHasBeenSet = false; Aws::String m_startTime; bool m_startTimeHasBeenSet = false; Aws::String m_completionTime; bool m_completionTimeHasBeenSet = false; Aws::String m_lastHeartbeatTime; bool m_lastHeartbeatTimeHasBeenSet = false; Aws::String m_inputPath; bool m_inputPathHasBeenSet = false; Aws::String m_outputPath; bool m_outputPathHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = false; Aws::String m_detectorName; bool m_detectorNameHasBeenSet = false; Aws::String m_detectorVersion; bool m_detectorVersionHasBeenSet = false; Aws::String m_iamRoleArn; bool m_iamRoleArnHasBeenSet = false; Aws::String m_arn; bool m_arnHasBeenSet = false; int m_processedRecordsCount; bool m_processedRecordsCountHasBeenSet = false; int m_totalRecordsCount; bool m_totalRecordsCountHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws