7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/sesv2/SESV2_EXPORTS.h>
11#include <aws/sesv2/model/FailureInfo.h>
12#include <aws/sesv2/model/ImportDataSource.h>
13#include <aws/sesv2/model/ImportDestination.h>
14#include <aws/sesv2/model/JobStatus.h>
19template <
typename RESULT_TYPE>
20class AmazonWebServiceResult;
46 template <
typename JobIdT = Aws::String>
48 m_jobIdHasBeenSet =
true;
49 m_jobId = std::forward<JobIdT>(value);
51 template <
typename JobIdT = Aws::String>
53 SetJobId(std::forward<JobIdT>(value));
63 template <
typename ImportDestinationT = ImportDestination>
65 m_importDestinationHasBeenSet =
true;
66 m_importDestination = std::forward<ImportDestinationT>(value);
68 template <
typename ImportDestinationT = ImportDestination>
80 template <
typename ImportDataSourceT = ImportDataSource>
82 m_importDataSourceHasBeenSet =
true;
83 m_importDataSource = std::forward<ImportDataSourceT>(value);
85 template <
typename ImportDataSourceT = ImportDataSource>
97 template <
typename FailureInfoT = FailureInfo>
99 m_failureInfoHasBeenSet =
true;
100 m_failureInfo = std::forward<FailureInfoT>(value);
102 template <
typename FailureInfoT = FailureInfo>
115 m_jobStatusHasBeenSet =
true;
129 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
131 m_createdTimestampHasBeenSet =
true;
132 m_createdTimestamp = std::forward<CreatedTimestampT>(value);
134 template <
typename CreatedTimestampT = Aws::Utils::DateTime>
146 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
148 m_completedTimestampHasBeenSet =
true;
149 m_completedTimestamp = std::forward<CompletedTimestampT>(value);
151 template <
typename CompletedTimestampT = Aws::Utils::DateTime>
164 m_processedRecordsCountHasBeenSet =
true;
165 m_processedRecordsCount = value;
180 m_failedRecordsCountHasBeenSet =
true;
181 m_failedRecordsCount = value;
192 template <
typename RequestIdT = Aws::String>
194 m_requestIdHasBeenSet =
true;
195 m_requestId = std::forward<RequestIdT>(value);
197 template <
typename RequestIdT = Aws::String>
220 int m_processedRecordsCount{0};
222 int m_failedRecordsCount{0};
226 bool m_jobIdHasBeenSet =
false;
227 bool m_importDestinationHasBeenSet =
false;
228 bool m_importDataSourceHasBeenSet =
false;
229 bool m_failureInfoHasBeenSet =
false;
230 bool m_jobStatusHasBeenSet =
false;
231 bool m_createdTimestampHasBeenSet =
false;
232 bool m_completedTimestampHasBeenSet =
false;
233 bool m_processedRecordsCountHasBeenSet =
false;
234 bool m_failedRecordsCountHasBeenSet =
false;
235 bool m_requestIdHasBeenSet =
false;
void SetProcessedRecordsCount(int value)
const ImportDataSource & GetImportDataSource() const
const ImportDestination & GetImportDestination() const
GetImportJobResult & WithFailedRecordsCount(int value)
void SetFailureInfo(FailureInfoT &&value)
const FailureInfo & GetFailureInfo() const
void SetImportDestination(ImportDestinationT &&value)
const Aws::String & GetRequestId() const
AWS_SESV2_API GetImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetCompletedTimestamp(CompletedTimestampT &&value)
void SetJobStatus(JobStatus value)
void SetFailedRecordsCount(int value)
GetImportJobResult & WithJobId(JobIdT &&value)
void SetJobId(JobIdT &&value)
GetImportJobResult & WithCompletedTimestamp(CompletedTimestampT &&value)
AWS_SESV2_API GetImportJobResult()=default
int GetProcessedRecordsCount() const
const Aws::String & GetJobId() const
GetImportJobResult & WithImportDataSource(ImportDataSourceT &&value)
JobStatus GetJobStatus() const
GetImportJobResult & WithFailureInfo(FailureInfoT &&value)
GetImportJobResult & WithJobStatus(JobStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
void SetRequestId(RequestIdT &&value)
AWS_SESV2_API GetImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportJobResult & WithRequestId(RequestIdT &&value)
GetImportJobResult & WithImportDestination(ImportDestinationT &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetImportJobResult & WithCreatedTimestamp(CreatedTimestampT &&value)
void SetCreatedTimestamp(CreatedTimestampT &&value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
void SetImportDataSource(ImportDataSourceT &&value)
int GetFailedRecordsCount() const
GetImportJobResult & WithProcessedRecordsCount(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue