AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetImportJobResult.h
1
6#pragma once
7#include <aws/sesv2/SESV2_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/sesv2/model/ImportDestination.h>
10#include <aws/sesv2/model/ImportDataSource.h>
11#include <aws/sesv2/model/FailureInfo.h>
12#include <aws/sesv2/model/JobStatus.h>
13#include <aws/core/utils/DateTime.h>
14#include <utility>
15
16namespace Aws
17{
18template<typename RESULT_TYPE>
19class AmazonWebServiceResult;
20
21namespace Utils
22{
23namespace Json
24{
25 class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace SESV2
29{
30namespace Model
31{
39 {
40 public:
41 AWS_SESV2_API GetImportJobResult();
44
45
47
50 inline const Aws::String& GetJobId() const{ return m_jobId; }
51 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
52 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
53 inline void SetJobId(const char* value) { m_jobId.assign(value); }
54 inline GetImportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
55 inline GetImportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
56 inline GetImportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
58
60
63 inline const ImportDestination& GetImportDestination() const{ return m_importDestination; }
64 inline void SetImportDestination(const ImportDestination& value) { m_importDestination = value; }
65 inline void SetImportDestination(ImportDestination&& value) { m_importDestination = std::move(value); }
67 inline GetImportJobResult& WithImportDestination(ImportDestination&& value) { SetImportDestination(std::move(value)); return *this;}
69
71
74 inline const ImportDataSource& GetImportDataSource() const{ return m_importDataSource; }
75 inline void SetImportDataSource(const ImportDataSource& value) { m_importDataSource = value; }
76 inline void SetImportDataSource(ImportDataSource&& value) { m_importDataSource = std::move(value); }
77 inline GetImportJobResult& WithImportDataSource(const ImportDataSource& value) { SetImportDataSource(value); return *this;}
78 inline GetImportJobResult& WithImportDataSource(ImportDataSource&& value) { SetImportDataSource(std::move(value)); return *this;}
80
82
85 inline const FailureInfo& GetFailureInfo() const{ return m_failureInfo; }
86 inline void SetFailureInfo(const FailureInfo& value) { m_failureInfo = value; }
87 inline void SetFailureInfo(FailureInfo&& value) { m_failureInfo = std::move(value); }
88 inline GetImportJobResult& WithFailureInfo(const FailureInfo& value) { SetFailureInfo(value); return *this;}
89 inline GetImportJobResult& WithFailureInfo(FailureInfo&& value) { SetFailureInfo(std::move(value)); return *this;}
91
93
96 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
97 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
98 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
99 inline GetImportJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
100 inline GetImportJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
102
104
107 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
108 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
109 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
111 inline GetImportJobResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
113
115
118 inline const Aws::Utils::DateTime& GetCompletedTimestamp() const{ return m_completedTimestamp; }
119 inline void SetCompletedTimestamp(const Aws::Utils::DateTime& value) { m_completedTimestamp = value; }
120 inline void SetCompletedTimestamp(Aws::Utils::DateTime&& value) { m_completedTimestamp = std::move(value); }
122 inline GetImportJobResult& WithCompletedTimestamp(Aws::Utils::DateTime&& value) { SetCompletedTimestamp(std::move(value)); return *this;}
124
126
129 inline int GetProcessedRecordsCount() const{ return m_processedRecordsCount; }
130 inline void SetProcessedRecordsCount(int value) { m_processedRecordsCount = value; }
133
135
139 inline int GetFailedRecordsCount() const{ return m_failedRecordsCount; }
140 inline void SetFailedRecordsCount(int value) { m_failedRecordsCount = value; }
141 inline GetImportJobResult& WithFailedRecordsCount(int value) { SetFailedRecordsCount(value); return *this;}
143
145
146 inline const Aws::String& GetRequestId() const{ return m_requestId; }
147 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
148 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
149 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
150 inline GetImportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
151 inline GetImportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
152 inline GetImportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
154 private:
155
156 Aws::String m_jobId;
157
158 ImportDestination m_importDestination;
159
160 ImportDataSource m_importDataSource;
161
162 FailureInfo m_failureInfo;
163
164 JobStatus m_jobStatus;
165
166 Aws::Utils::DateTime m_createdTimestamp;
167
168 Aws::Utils::DateTime m_completedTimestamp;
169
170 int m_processedRecordsCount;
171
172 int m_failedRecordsCount;
173
174 Aws::String m_requestId;
175 };
176
177} // namespace Model
178} // namespace SESV2
179} // namespace Aws
void SetImportDataSource(ImportDataSource &&value)
GetImportJobResult & WithJobId(const char *value)
const ImportDataSource & GetImportDataSource() const
const ImportDestination & GetImportDestination() const
GetImportJobResult & WithFailedRecordsCount(int value)
GetImportJobResult & WithJobStatus(JobStatus &&value)
const FailureInfo & GetFailureInfo() const
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetJobStatus(const JobStatus &value)
const Aws::String & GetRequestId() const
void SetJobId(const Aws::String &value)
AWS_SESV2_API GetImportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportJobResult & WithRequestId(Aws::String &&value)
GetImportJobResult & WithCompletedTimestamp(const Aws::Utils::DateTime &value)
GetImportJobResult & WithJobStatus(const JobStatus &value)
void SetCompletedTimestamp(const Aws::Utils::DateTime &value)
GetImportJobResult & WithFailureInfo(const FailureInfo &value)
GetImportJobResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
GetImportJobResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
GetImportJobResult & WithRequestId(const char *value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetImportJobResult & WithCompletedTimestamp(Aws::Utils::DateTime &&value)
void SetRequestId(const Aws::String &value)
const Aws::String & GetJobId() const
void SetFailureInfo(FailureInfo &&value)
GetImportJobResult & WithJobId(Aws::String &&value)
GetImportJobResult & WithImportDestination(const ImportDestination &value)
GetImportJobResult & WithImportDataSource(const ImportDataSource &value)
GetImportJobResult & WithImportDestination(ImportDestination &&value)
GetImportJobResult & WithFailureInfo(FailureInfo &&value)
GetImportJobResult & WithRequestId(const Aws::String &value)
void SetImportDataSource(const ImportDataSource &value)
GetImportJobResult & WithImportDataSource(ImportDataSource &&value)
AWS_SESV2_API GetImportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetImportJobResult & WithJobId(const Aws::String &value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
void SetFailureInfo(const FailureInfo &value)
void SetImportDestination(ImportDestination &&value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
void SetImportDestination(const ImportDestination &value)
GetImportJobResult & WithProcessedRecordsCount(int value)
void SetCompletedTimestamp(Aws::Utils::DateTime &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue