/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include The batch import job details.See Also:
AWS
* API Reference
The ID of the batch import job.
*/ inline const Aws::String& GetJobId() const{ return m_jobId; } /** *The ID of the batch import job.
*/ inline bool JobIdHasBeenSet() const { return m_jobIdHasBeenSet; } /** *The ID of the batch import job.
*/ inline void SetJobId(const Aws::String& value) { m_jobIdHasBeenSet = true; m_jobId = value; } /** *The ID of the batch import job.
*/ inline void SetJobId(Aws::String&& value) { m_jobIdHasBeenSet = true; m_jobId = std::move(value); } /** *The ID of the batch import job.
*/ inline void SetJobId(const char* value) { m_jobIdHasBeenSet = true; m_jobId.assign(value); } /** *The ID of the batch import job.
*/ inline BatchImport& WithJobId(const Aws::String& value) { SetJobId(value); return *this;} /** *The ID of the batch import job.
*/ inline BatchImport& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;} /** *The ID of the batch import job.
*/ inline BatchImport& WithJobId(const char* value) { SetJobId(value); return *this;} /** *The status of the batch import job.
*/ inline const AsyncJobStatus& GetStatus() const{ return m_status; } /** *The status of the batch import job.
*/ inline bool StatusHasBeenSet() const { return m_statusHasBeenSet; } /** *The status of the batch import job.
*/ inline void SetStatus(const AsyncJobStatus& value) { m_statusHasBeenSet = true; m_status = value; } /** *The status of the batch import job.
*/ inline void SetStatus(AsyncJobStatus&& value) { m_statusHasBeenSet = true; m_status = std::move(value); } /** *The status of the batch import job.
*/ inline BatchImport& WithStatus(const AsyncJobStatus& value) { SetStatus(value); return *this;} /** *The status of the batch import job.
*/ inline BatchImport& WithStatus(AsyncJobStatus&& value) { SetStatus(std::move(value)); return *this;} /** *The reason batch import job failed.
*/ inline const Aws::String& GetFailureReason() const{ return m_failureReason; } /** *The reason batch import job failed.
*/ inline bool FailureReasonHasBeenSet() const { return m_failureReasonHasBeenSet; } /** *The reason batch import job failed.
*/ inline void SetFailureReason(const Aws::String& value) { m_failureReasonHasBeenSet = true; m_failureReason = value; } /** *The reason batch import job failed.
*/ inline void SetFailureReason(Aws::String&& value) { m_failureReasonHasBeenSet = true; m_failureReason = std::move(value); } /** *The reason batch import job failed.
*/ inline void SetFailureReason(const char* value) { m_failureReasonHasBeenSet = true; m_failureReason.assign(value); } /** *The reason batch import job failed.
*/ inline BatchImport& WithFailureReason(const Aws::String& value) { SetFailureReason(value); return *this;} /** *The reason batch import job failed.
*/ inline BatchImport& WithFailureReason(Aws::String&& value) { SetFailureReason(std::move(value)); return *this;} /** *The reason batch import job failed.
*/ inline BatchImport& WithFailureReason(const char* value) { SetFailureReason(value); return *this;} /** *Timestamp of when the batch import job started.
*/ inline const Aws::String& GetStartTime() const{ return m_startTime; } /** *Timestamp of when the batch import job started.
*/ inline bool StartTimeHasBeenSet() const { return m_startTimeHasBeenSet; } /** *Timestamp of when the batch import job started.
*/ inline void SetStartTime(const Aws::String& value) { m_startTimeHasBeenSet = true; m_startTime = value; } /** *Timestamp of when the batch import job started.
*/ inline void SetStartTime(Aws::String&& value) { m_startTimeHasBeenSet = true; m_startTime = std::move(value); } /** *Timestamp of when the batch import job started.
*/ inline void SetStartTime(const char* value) { m_startTimeHasBeenSet = true; m_startTime.assign(value); } /** *Timestamp of when the batch import job started.
*/ inline BatchImport& WithStartTime(const Aws::String& value) { SetStartTime(value); return *this;} /** *Timestamp of when the batch import job started.
*/ inline BatchImport& WithStartTime(Aws::String&& value) { SetStartTime(std::move(value)); return *this;} /** *Timestamp of when the batch import job started.
*/ inline BatchImport& WithStartTime(const char* value) { SetStartTime(value); return *this;} /** *Timestamp of when batch import job completed.
*/ inline const Aws::String& GetCompletionTime() const{ return m_completionTime; } /** *Timestamp of when batch import job completed.
*/ inline bool CompletionTimeHasBeenSet() const { return m_completionTimeHasBeenSet; } /** *Timestamp of when batch import job completed.
*/ inline void SetCompletionTime(const Aws::String& value) { m_completionTimeHasBeenSet = true; m_completionTime = value; } /** *Timestamp of when batch import job completed.
*/ inline void SetCompletionTime(Aws::String&& value) { m_completionTimeHasBeenSet = true; m_completionTime = std::move(value); } /** *Timestamp of when batch import job completed.
*/ inline void SetCompletionTime(const char* value) { m_completionTimeHasBeenSet = true; m_completionTime.assign(value); } /** *Timestamp of when batch import job completed.
*/ inline BatchImport& WithCompletionTime(const Aws::String& value) { SetCompletionTime(value); return *this;} /** *Timestamp of when batch import job completed.
*/ inline BatchImport& WithCompletionTime(Aws::String&& value) { SetCompletionTime(std::move(value)); return *this;} /** *Timestamp of when batch import job completed.
*/ inline BatchImport& WithCompletionTime(const char* value) { SetCompletionTime(value); return *this;} /** *The Amazon S3 location of your data file for batch import.
*/ inline const Aws::String& GetInputPath() const{ return m_inputPath; } /** *The Amazon S3 location of your data file for batch import.
*/ inline bool InputPathHasBeenSet() const { return m_inputPathHasBeenSet; } /** *The Amazon S3 location of your data file for batch import.
*/ inline void SetInputPath(const Aws::String& value) { m_inputPathHasBeenSet = true; m_inputPath = value; } /** *The Amazon S3 location of your data file for batch import.
*/ inline void SetInputPath(Aws::String&& value) { m_inputPathHasBeenSet = true; m_inputPath = std::move(value); } /** *The Amazon S3 location of your data file for batch import.
*/ inline void SetInputPath(const char* value) { m_inputPathHasBeenSet = true; m_inputPath.assign(value); } /** *The Amazon S3 location of your data file for batch import.
*/ inline BatchImport& WithInputPath(const Aws::String& value) { SetInputPath(value); return *this;} /** *The Amazon S3 location of your data file for batch import.
*/ inline BatchImport& WithInputPath(Aws::String&& value) { SetInputPath(std::move(value)); return *this;} /** *The Amazon S3 location of your data file for batch import.
*/ inline BatchImport& 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 BatchImport& WithOutputPath(const Aws::String& value) { SetOutputPath(value); return *this;} /** *The Amazon S3 location of your output file.
*/ inline BatchImport& WithOutputPath(Aws::String&& value) { SetOutputPath(std::move(value)); return *this;} /** *The Amazon S3 location of your output file.
*/ inline BatchImport& 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 BatchImport& WithEventTypeName(const Aws::String& value) { SetEventTypeName(value); return *this;} /** *The name of the event type.
*/ inline BatchImport& WithEventTypeName(Aws::String&& value) { SetEventTypeName(std::move(value)); return *this;} /** *The name of the event type.
*/ inline BatchImport& WithEventTypeName(const char* value) { SetEventTypeName(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 BatchImport& WithIamRoleArn(const Aws::String& value) { SetIamRoleArn(value); return *this;} /** *The ARN of the IAM role to use for this job request.
*/ inline BatchImport& WithIamRoleArn(Aws::String&& value) { SetIamRoleArn(std::move(value)); return *this;} /** *The ARN of the IAM role to use for this job request.
*/ inline BatchImport& WithIamRoleArn(const char* value) { SetIamRoleArn(value); return *this;} /** *The ARN of the batch import job.
*/ inline const Aws::String& GetArn() const{ return m_arn; } /** *The ARN of the batch import job.
*/ inline bool ArnHasBeenSet() const { return m_arnHasBeenSet; } /** *The ARN of the batch import job.
*/ inline void SetArn(const Aws::String& value) { m_arnHasBeenSet = true; m_arn = value; } /** *The ARN of the batch import job.
*/ inline void SetArn(Aws::String&& value) { m_arnHasBeenSet = true; m_arn = std::move(value); } /** *The ARN of the batch import job.
*/ inline void SetArn(const char* value) { m_arnHasBeenSet = true; m_arn.assign(value); } /** *The ARN of the batch import job.
*/ inline BatchImport& WithArn(const Aws::String& value) { SetArn(value); return *this;} /** *The ARN of the batch import job.
*/ inline BatchImport& WithArn(Aws::String&& value) { SetArn(std::move(value)); return *this;} /** *The ARN of the batch import job.
*/ inline BatchImport& WithArn(const char* value) { SetArn(value); return *this;} /** *The number of records processed by batch import job.
*/ inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; } /** *The number of records processed by batch import job.
*/ inline bool ProcessedRecordsCountHasBeenSet() const { return m_processedRecordsCountHasBeenSet; } /** *The number of records processed by batch import job.
*/ inline void SetProcessedRecordsCount(int value) { m_processedRecordsCountHasBeenSet = true; m_processedRecordsCount = value; } /** *The number of records processed by batch import job.
*/ inline BatchImport& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;} /** *The number of records that failed to import.
*/ inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; } /** *The number of records that failed to import.
*/ inline bool FailedRecordsCountHasBeenSet() const { return m_failedRecordsCountHasBeenSet; } /** *The number of records that failed to import.
*/ inline void SetFailedRecordsCount(int value) { m_failedRecordsCountHasBeenSet = true; m_failedRecordsCount = value; } /** *The number of records that failed to import.
*/ inline BatchImport& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;} /** *The total number of records in the batch import job.
*/ inline int GetTotalRecordsCount() const{ return m_totalRecordsCount; } /** *The total number of records in the batch import job.
*/ inline bool TotalRecordsCountHasBeenSet() const { return m_totalRecordsCountHasBeenSet; } /** *The total number of records in the batch import job.
*/ inline void SetTotalRecordsCount(int value) { m_totalRecordsCountHasBeenSet = true; m_totalRecordsCount = value; } /** *The total number of records in the batch import job.
*/ inline BatchImport& 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_inputPath; bool m_inputPathHasBeenSet = false; Aws::String m_outputPath; bool m_outputPathHasBeenSet = false; Aws::String m_eventTypeName; bool m_eventTypeNameHasBeenSet = 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_failedRecordsCount; bool m_failedRecordsCountHasBeenSet = false; int m_totalRecordsCount; bool m_totalRecordsCountHasBeenSet = false; }; } // namespace Model } // namespace FraudDetector } // namespace Aws