7#include <aws/frauddetector/FraudDetector_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/frauddetector/model/AsyncJobStatus.h>
22namespace FraudDetector
47 template<
typename JobIdT = Aws::String>
48 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet =
true; m_jobId = std::forward<JobIdT>(value); }
49 template<
typename JobIdT = Aws::String>
69 template<
typename FailureReasonT = Aws::String>
70 void SetFailureReason(FailureReasonT&& value) { m_failureReasonHasBeenSet =
true; m_failureReason = std::forward<FailureReasonT>(value); }
71 template<
typename FailureReasonT = Aws::String>
81 template<
typename StartTimeT = Aws::String>
82 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet =
true; m_startTime = std::forward<StartTimeT>(value); }
83 template<
typename StartTimeT = Aws::String>
93 template<
typename CompletionTimeT = Aws::String>
94 void SetCompletionTime(CompletionTimeT&& value) { m_completionTimeHasBeenSet =
true; m_completionTime = std::forward<CompletionTimeT>(value); }
95 template<
typename CompletionTimeT = Aws::String>
105 template<
typename InputPathT = Aws::String>
106 void SetInputPath(InputPathT&& value) { m_inputPathHasBeenSet =
true; m_inputPath = std::forward<InputPathT>(value); }
107 template<
typename InputPathT = Aws::String>
117 template<
typename OutputPathT = Aws::String>
118 void SetOutputPath(OutputPathT&& value) { m_outputPathHasBeenSet =
true; m_outputPath = std::forward<OutputPathT>(value); }
119 template<
typename OutputPathT = Aws::String>
129 template<
typename EventTypeNameT = Aws::String>
130 void SetEventTypeName(EventTypeNameT&& value) { m_eventTypeNameHasBeenSet =
true; m_eventTypeName = std::forward<EventTypeNameT>(value); }
131 template<
typename EventTypeNameT = Aws::String>
141 template<
typename IamRoleArnT = Aws::String>
142 void SetIamRoleArn(IamRoleArnT&& value) { m_iamRoleArnHasBeenSet =
true; m_iamRoleArn = std::forward<IamRoleArnT>(value); }
143 template<
typename IamRoleArnT = Aws::String>
153 template<
typename ArnT = Aws::String>
154 void SetArn(ArnT&& value) { m_arnHasBeenSet =
true; m_arn = std::forward<ArnT>(value); }
155 template<
typename ArnT = Aws::String>
175 inline void SetFailedRecordsCount(
int value) { m_failedRecordsCountHasBeenSet =
true; m_failedRecordsCount = value; }
185 inline void SetTotalRecordsCount(
int value) { m_totalRecordsCountHasBeenSet =
true; m_totalRecordsCount = value; }
191 bool m_jobIdHasBeenSet =
false;
194 bool m_statusHasBeenSet =
false;
197 bool m_failureReasonHasBeenSet =
false;
200 bool m_startTimeHasBeenSet =
false;
203 bool m_completionTimeHasBeenSet =
false;
206 bool m_inputPathHasBeenSet =
false;
209 bool m_outputPathHasBeenSet =
false;
212 bool m_eventTypeNameHasBeenSet =
false;
215 bool m_iamRoleArnHasBeenSet =
false;
218 bool m_arnHasBeenSet =
false;
220 int m_processedRecordsCount{0};
221 bool m_processedRecordsCountHasBeenSet =
false;
223 int m_failedRecordsCount{0};
224 bool m_failedRecordsCountHasBeenSet =
false;
226 int m_totalRecordsCount{0};
227 bool m_totalRecordsCountHasBeenSet =
false;
bool IamRoleArnHasBeenSet() const
void SetInputPath(InputPathT &&value)
bool CompletionTimeHasBeenSet() const
void SetTotalRecordsCount(int value)
void SetFailureReason(FailureReasonT &&value)
const Aws::String & GetJobId() const
void SetStartTime(StartTimeT &&value)
const Aws::String & GetInputPath() const
int GetProcessedRecordsCount() const
const Aws::String & GetFailureReason() const
int GetFailedRecordsCount() const
void SetOutputPath(OutputPathT &&value)
bool JobIdHasBeenSet() const
bool EventTypeNameHasBeenSet() const
int GetTotalRecordsCount() const
bool TotalRecordsCountHasBeenSet() const
const Aws::String & GetEventTypeName() const
BatchImport & WithOutputPath(OutputPathT &&value)
void SetProcessedRecordsCount(int value)
const Aws::String & GetCompletionTime() const
void SetIamRoleArn(IamRoleArnT &&value)
BatchImport & WithIamRoleArn(IamRoleArnT &&value)
AWS_FRAUDDETECTOR_API BatchImport & operator=(Aws::Utils::Json::JsonView jsonValue)
bool FailureReasonHasBeenSet() const
BatchImport & WithEventTypeName(EventTypeNameT &&value)
const Aws::String & GetIamRoleArn() const
bool ArnHasBeenSet() const
void SetCompletionTime(CompletionTimeT &&value)
AWS_FRAUDDETECTOR_API BatchImport(Aws::Utils::Json::JsonView jsonValue)
BatchImport & WithJobId(JobIdT &&value)
const Aws::String & GetArn() const
AsyncJobStatus GetStatus() const
bool ProcessedRecordsCountHasBeenSet() const
void SetArn(ArnT &&value)
void SetEventTypeName(EventTypeNameT &&value)
bool OutputPathHasBeenSet() const
BatchImport & WithArn(ArnT &&value)
AWS_FRAUDDETECTOR_API BatchImport()=default
BatchImport & WithTotalRecordsCount(int value)
BatchImport & WithFailedRecordsCount(int value)
const Aws::String & GetOutputPath() const
BatchImport & WithCompletionTime(CompletionTimeT &&value)
BatchImport & WithProcessedRecordsCount(int value)
bool StatusHasBeenSet() const
BatchImport & WithInputPath(InputPathT &&value)
void SetJobId(JobIdT &&value)
BatchImport & WithStartTime(StartTimeT &&value)
void SetStatus(AsyncJobStatus value)
AWS_FRAUDDETECTOR_API Aws::Utils::Json::JsonValue Jsonize() const
bool InputPathHasBeenSet() const
BatchImport & WithFailureReason(FailureReasonT &&value)
BatchImport & WithStatus(AsyncJobStatus value)
void SetFailedRecordsCount(int value)
bool StartTimeHasBeenSet() const
const Aws::String & GetStartTime() const
bool FailedRecordsCountHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue