AWS SDK for C++  1.9.153
AWS SDK for C++
GetImportJobResult.h
Go to the documentation of this file.
1 
6 #pragma once
14 #include <utility>
15 
16 namespace Aws
17 {
18 template<typename RESULT_TYPE>
19 class AmazonWebServiceResult;
20 
21 namespace Utils
22 {
23 namespace Json
24 {
25  class JsonValue;
26 } // namespace Json
27 } // namespace Utils
28 namespace SESV2
29 {
30 namespace Model
31 {
39  {
40  public:
44 
45 
49  inline const Aws::String& GetJobId() const{ return m_jobId; }
50 
54  inline void SetJobId(const Aws::String& value) { m_jobId = value; }
55 
59  inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
60 
64  inline void SetJobId(const char* value) { m_jobId.assign(value); }
65 
69  inline GetImportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
70 
74  inline GetImportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
75 
79  inline GetImportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
80 
81 
85  inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
86 
90  inline void SetImportDestination(const ImportDestination& value) { m_importDestination = value; }
91 
95  inline void SetImportDestination(ImportDestination&& value) { m_importDestination = std::move(value); }
96 
100  inline GetImportJobResult& WithImportDestination(const ImportDestination& value) { SetImportDestination(value); return *this;}
101 
105  inline GetImportJobResult& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
106 
107 
111  inline const ImportDataSource& GetImportDataSource() const{ return m_importDataSource; }
112 
116  inline void SetImportDataSource(const ImportDataSource& value) { m_importDataSource = value; }
117 
121  inline void SetImportDataSource(ImportDataSource&& value) { m_importDataSource = std::move(value); }
122 
126  inline GetImportJobResult& WithImportDataSource(const ImportDataSource& value) { SetImportDataSource(value); return *this;}
127 
131  inline GetImportJobResult& WithImportDataSource(ImportDataSource&& value) { SetImportDataSource(std::move(value)); return *this;}
132 
133 
137  inline const FailureInfo& GetFailureInfo() const{ return m_failureInfo; }
138 
142  inline void SetFailureInfo(const FailureInfo& value) { m_failureInfo = value; }
143 
147  inline void SetFailureInfo(FailureInfo&& value) { m_failureInfo = std::move(value); }
148 
152  inline GetImportJobResult& WithFailureInfo(const FailureInfo& value) { SetFailureInfo(value); return *this;}
153 
157  inline GetImportJobResult& WithFailureInfo(FailureInfo&& value) { SetFailureInfo(std::move(value)); return *this;}
158 
159 
163  inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
164 
168  inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
169 
173  inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
174 
178  inline GetImportJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
179 
183  inline GetImportJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
184 
185 
189  inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
190 
194  inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
195 
199  inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
200 
204  inline GetImportJobResult& WithCreatedTimestamp(const Aws::Utils::DateTime& value) { SetCreatedTimestamp(value); return *this;}
205 
209  inline GetImportJobResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
210 
211 
215  inline const Aws::Utils::DateTime& GetCompletedTimestamp() const{ return m_completedTimestamp; }
216 
220  inline void SetCompletedTimestamp(const Aws::Utils::DateTime& value) { m_completedTimestamp = value; }
221 
225  inline void SetCompletedTimestamp(Aws::Utils::DateTime&& value) { m_completedTimestamp = std::move(value); }
226 
230  inline GetImportJobResult& WithCompletedTimestamp(const Aws::Utils::DateTime& value) { SetCompletedTimestamp(value); return *this;}
231 
235  inline GetImportJobResult& WithCompletedTimestamp(Aws::Utils::DateTime&& value) { SetCompletedTimestamp(std::move(value)); return *this;}
236 
237 
241  inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; }
242 
246  inline void SetProcessedRecordsCount(int value) { m_processedRecordsCount = value; }
247 
251  inline GetImportJobResult& WithProcessedRecordsCount(int value) { SetProcessedRecordsCount(value); return *this;}
252 
253 
258  inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; }
259 
264  inline void SetFailedRecordsCount(int value) { m_failedRecordsCount = value; }
265 
270  inline GetImportJobResult& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;}
271 
272  private:
273 
274  Aws::String m_jobId;
275 
276  ImportDestination m_importDestination;
277 
278  ImportDataSource m_importDataSource;
279 
280  FailureInfo m_failureInfo;
281 
282  JobStatus m_jobStatus;
283 
284  Aws::Utils::DateTime m_createdTimestamp;
285 
286  Aws::Utils::DateTime m_completedTimestamp;
287 
288  int m_processedRecordsCount;
289 
290  int m_failedRecordsCount;
291  };
292 
293 } // namespace Model
294 } // namespace SESV2
295 } // namespace Aws
Aws::SESV2::Model::GetImportJobResult::SetCompletedTimestamp
void SetCompletedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetImportJobResult.h:220
Aws::Utils::DateTime
Definition: DateTime.h:55
Aws::SESV2::Model::ImportDestination
Definition: ImportDestination.h:34
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
AWS_SESV2_API
#define AWS_SESV2_API
Definition: SESV2_EXPORTS.h:28
Aws::SESV2::Model::GetImportJobResult::SetFailureInfo
void SetFailureInfo(const FailureInfo &value)
Definition: GetImportJobResult.h:142
JobStatus.h
ImportDestination.h
Aws::SESV2::Model::GetImportJobResult::GetJobId
const Aws::String & GetJobId() const
Definition: GetImportJobResult.h:49
Aws::SESV2::Model::GetImportJobResult::GetFailedRecordsCount
int GetFailedRecordsCount() const
Definition: GetImportJobResult.h:258
FailureInfo.h
Aws::SESV2::Model::GetImportJobResult::GetImportDataSource
const ImportDataSource & GetImportDataSource() const
Definition: GetImportJobResult.h:111
ImportDataSource.h
Aws::SESV2::Model::GetImportJobResult::SetImportDestination
void SetImportDestination(const ImportDestination &value)
Definition: GetImportJobResult.h:90
Aws::SESV2::Model::GetImportJobResult::GetImportJobResult
GetImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetImportJobResult::WithProcessedRecordsCount
GetImportJobResult & WithProcessedRecordsCount(int value)
Definition: GetImportJobResult.h:251
DateTime.h
Aws::SESV2::Model::GetImportJobResult::SetJobStatus
void SetJobStatus(JobStatus &&value)
Definition: GetImportJobResult.h:173
Aws::SESV2::Model::GetImportJobResult::WithCompletedTimestamp
GetImportJobResult & WithCompletedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetImportJobResult.h:230
Aws::SESV2::Model::GetImportJobResult::WithFailureInfo
GetImportJobResult & WithFailureInfo(FailureInfo &&value)
Definition: GetImportJobResult.h:157
Aws::SESV2::Model::GetImportJobResult::WithImportDestination
GetImportJobResult & WithImportDestination(const ImportDestination &value)
Definition: GetImportJobResult.h:100
Aws::SESV2::Model::GetImportJobResult::GetCreatedTimestamp
const Aws::Utils::DateTime & GetCreatedTimestamp() const
Definition: GetImportJobResult.h:189
Aws::SESV2::Model::GetImportJobResult::SetJobStatus
void SetJobStatus(const JobStatus &value)
Definition: GetImportJobResult.h:168
Aws::SESV2::Model::GetImportJobResult::SetImportDataSource
void SetImportDataSource(const ImportDataSource &value)
Definition: GetImportJobResult.h:116
Aws::SESV2::Model::GetImportJobResult::SetFailedRecordsCount
void SetFailedRecordsCount(int value)
Definition: GetImportJobResult.h:264
Aws::SESV2::Model::GetImportJobResult::SetCreatedTimestamp
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetImportJobResult.h:194
Aws::SESV2::Model::GetImportJobResult::SetJobId
void SetJobId(const char *value)
Definition: GetImportJobResult.h:64
Aws::SESV2::Model::GetImportJobResult::WithJobId
GetImportJobResult & WithJobId(const Aws::String &value)
Definition: GetImportJobResult.h:69
Aws::SESV2::Model::GetImportJobResult::SetFailureInfo
void SetFailureInfo(FailureInfo &&value)
Definition: GetImportJobResult.h:147
Aws::SESV2::Model::GetImportJobResult
Definition: GetImportJobResult.h:39
Aws::SESV2::Model::GetImportJobResult::WithJobStatus
GetImportJobResult & WithJobStatus(const JobStatus &value)
Definition: GetImportJobResult.h:178
Aws::SESV2::Model::GetImportJobResult::WithJobId
GetImportJobResult & WithJobId(Aws::String &&value)
Definition: GetImportJobResult.h:74
Aws::SESV2::Model::GetImportJobResult::WithCompletedTimestamp
GetImportJobResult & WithCompletedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetImportJobResult.h:235
Aws::SESV2::Model::GetImportJobResult::SetJobId
void SetJobId(const Aws::String &value)
Definition: GetImportJobResult.h:54
Aws::SESV2::Model::GetImportJobResult::GetImportDestination
const ImportDestination & GetImportDestination() const
Definition: GetImportJobResult.h:85
Aws::SESV2::Model::GetImportJobResult::SetImportDataSource
void SetImportDataSource(ImportDataSource &&value)
Definition: GetImportJobResult.h:121
Aws::SESV2::Model::GetImportJobResult::GetImportJobResult
GetImportJobResult()
Aws::SESV2::Model::GetImportJobResult::WithCreatedTimestamp
GetImportJobResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
Definition: GetImportJobResult.h:204
AWSString.h
Aws::SESV2::Model::GetImportJobResult::WithFailureInfo
GetImportJobResult & WithFailureInfo(const FailureInfo &value)
Definition: GetImportJobResult.h:152
Aws::SESV2::Model::JobStatus
JobStatus
Definition: JobStatus.h:17
Aws::SESV2::Model::GetImportJobResult::GetJobStatus
const JobStatus & GetJobStatus() const
Definition: GetImportJobResult.h:163
Aws::SESV2::Model::GetImportJobResult::SetCompletedTimestamp
void SetCompletedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetImportJobResult.h:225
Aws::SESV2::Model::GetImportJobResult::SetCreatedTimestamp
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetImportJobResult.h:199
SESV2_EXPORTS.h
Aws::SESV2::Model::GetImportJobResult::WithFailedRecordsCount
GetImportJobResult & WithFailedRecordsCount(int value)
Definition: GetImportJobResult.h:270
Aws::SESV2::Model::GetImportJobResult::operator=
GetImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::SESV2::Model::GetImportJobResult::GetFailureInfo
const FailureInfo & GetFailureInfo() const
Definition: GetImportJobResult.h:137
Aws::SESV2::Model::GetImportJobResult::SetProcessedRecordsCount
void SetProcessedRecordsCount(int value)
Definition: GetImportJobResult.h:246
Aws::SESV2::Model::GetImportJobResult::GetCompletedTimestamp
const Aws::Utils::DateTime & GetCompletedTimestamp() const
Definition: GetImportJobResult.h:215
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
Aws
Definition: AccessManagementClient.h:15
Aws::SESV2::Model::ImportDataSource
Definition: ImportDataSource.h:34
Aws::SESV2::Model::GetImportJobResult::WithImportDestination
GetImportJobResult & WithImportDestination(ImportDestination &&value)
Definition: GetImportJobResult.h:105
Aws::SESV2::Model::GetImportJobResult::SetJobId
void SetJobId(Aws::String &&value)
Definition: GetImportJobResult.h:59
Aws::SESV2::Model::GetImportJobResult::WithCreatedTimestamp
GetImportJobResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
Definition: GetImportJobResult.h:209
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::SESV2::Model::GetImportJobResult::WithJobId
GetImportJobResult & WithJobId(const char *value)
Definition: GetImportJobResult.h:79
Aws::SESV2::Model::GetImportJobResult::WithImportDataSource
GetImportJobResult & WithImportDataSource(ImportDataSource &&value)
Definition: GetImportJobResult.h:131
Aws::SESV2::Model::GetImportJobResult::GetProcessedRecordsCount
int GetProcessedRecordsCount() const
Definition: GetImportJobResult.h:241
Aws::SESV2::Model::GetImportJobResult::SetImportDestination
void SetImportDestination(ImportDestination &&value)
Definition: GetImportJobResult.h:95
Aws::SESV2::Model::GetImportJobResult::WithJobStatus
GetImportJobResult & WithJobStatus(JobStatus &&value)
Definition: GetImportJobResult.h:183
Aws::SESV2::Model::FailureInfo
Definition: FailureInfo.h:33
Aws::SESV2::Model::GetImportJobResult::WithImportDataSource
GetImportJobResult & WithImportDataSource(const ImportDataSource &value)
Definition: GetImportJobResult.h:126