AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetExportJobResult.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/ExportSourceType.h>
10#include <aws/sesv2/model/JobStatus.h>
11#include <aws/sesv2/model/ExportDestination.h>
12#include <aws/sesv2/model/ExportDataSource.h>
13#include <aws/core/utils/DateTime.h>
14#include <aws/sesv2/model/FailureInfo.h>
15#include <aws/sesv2/model/ExportStatistics.h>
16#include <utility>
17
18namespace Aws
19{
20template<typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils
24{
25namespace Json
26{
27 class JsonValue;
28} // namespace Json
29} // namespace Utils
30namespace SESV2
31{
32namespace Model
33{
41 {
42 public:
43 AWS_SESV2_API GetExportJobResult();
46
47
49
52 inline const Aws::String& GetJobId() const{ return m_jobId; }
53 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
54 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
55 inline void SetJobId(const char* value) { m_jobId.assign(value); }
56 inline GetExportJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
57 inline GetExportJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
58 inline GetExportJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
60
62
65 inline const ExportSourceType& GetExportSourceType() const{ return m_exportSourceType; }
66 inline void SetExportSourceType(const ExportSourceType& value) { m_exportSourceType = value; }
67 inline void SetExportSourceType(ExportSourceType&& value) { m_exportSourceType = std::move(value); }
68 inline GetExportJobResult& WithExportSourceType(const ExportSourceType& value) { SetExportSourceType(value); return *this;}
69 inline GetExportJobResult& WithExportSourceType(ExportSourceType&& value) { SetExportSourceType(std::move(value)); return *this;}
71
73
76 inline const JobStatus& GetJobStatus() const{ return m_jobStatus; }
77 inline void SetJobStatus(const JobStatus& value) { m_jobStatus = value; }
78 inline void SetJobStatus(JobStatus&& value) { m_jobStatus = std::move(value); }
79 inline GetExportJobResult& WithJobStatus(const JobStatus& value) { SetJobStatus(value); return *this;}
80 inline GetExportJobResult& WithJobStatus(JobStatus&& value) { SetJobStatus(std::move(value)); return *this;}
82
84
87 inline const ExportDestination& GetExportDestination() const{ return m_exportDestination; }
88 inline void SetExportDestination(const ExportDestination& value) { m_exportDestination = value; }
89 inline void SetExportDestination(ExportDestination&& value) { m_exportDestination = std::move(value); }
91 inline GetExportJobResult& WithExportDestination(ExportDestination&& value) { SetExportDestination(std::move(value)); return *this;}
93
95
98 inline const ExportDataSource& GetExportDataSource() const{ return m_exportDataSource; }
99 inline void SetExportDataSource(const ExportDataSource& value) { m_exportDataSource = value; }
100 inline void SetExportDataSource(ExportDataSource&& value) { m_exportDataSource = std::move(value); }
102 inline GetExportJobResult& WithExportDataSource(ExportDataSource&& value) { SetExportDataSource(std::move(value)); return *this;}
104
106
109 inline const Aws::Utils::DateTime& GetCreatedTimestamp() const{ return m_createdTimestamp; }
110 inline void SetCreatedTimestamp(const Aws::Utils::DateTime& value) { m_createdTimestamp = value; }
111 inline void SetCreatedTimestamp(Aws::Utils::DateTime&& value) { m_createdTimestamp = std::move(value); }
113 inline GetExportJobResult& WithCreatedTimestamp(Aws::Utils::DateTime&& value) { SetCreatedTimestamp(std::move(value)); return *this;}
115
117
120 inline const Aws::Utils::DateTime& GetCompletedTimestamp() const{ return m_completedTimestamp; }
121 inline void SetCompletedTimestamp(const Aws::Utils::DateTime& value) { m_completedTimestamp = value; }
122 inline void SetCompletedTimestamp(Aws::Utils::DateTime&& value) { m_completedTimestamp = std::move(value); }
124 inline GetExportJobResult& WithCompletedTimestamp(Aws::Utils::DateTime&& value) { SetCompletedTimestamp(std::move(value)); return *this;}
126
128
131 inline const FailureInfo& GetFailureInfo() const{ return m_failureInfo; }
132 inline void SetFailureInfo(const FailureInfo& value) { m_failureInfo = value; }
133 inline void SetFailureInfo(FailureInfo&& value) { m_failureInfo = std::move(value); }
134 inline GetExportJobResult& WithFailureInfo(const FailureInfo& value) { SetFailureInfo(value); return *this;}
135 inline GetExportJobResult& WithFailureInfo(FailureInfo&& value) { SetFailureInfo(std::move(value)); return *this;}
137
139
142 inline const ExportStatistics& GetStatistics() const{ return m_statistics; }
143 inline void SetStatistics(const ExportStatistics& value) { m_statistics = value; }
144 inline void SetStatistics(ExportStatistics&& value) { m_statistics = std::move(value); }
145 inline GetExportJobResult& WithStatistics(const ExportStatistics& value) { SetStatistics(value); return *this;}
146 inline GetExportJobResult& WithStatistics(ExportStatistics&& value) { SetStatistics(std::move(value)); return *this;}
148
150
151 inline const Aws::String& GetRequestId() const{ return m_requestId; }
152 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
153 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
154 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
155 inline GetExportJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
156 inline GetExportJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
157 inline GetExportJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
159 private:
160
161 Aws::String m_jobId;
162
163 ExportSourceType m_exportSourceType;
164
165 JobStatus m_jobStatus;
166
167 ExportDestination m_exportDestination;
168
169 ExportDataSource m_exportDataSource;
170
171 Aws::Utils::DateTime m_createdTimestamp;
172
173 Aws::Utils::DateTime m_completedTimestamp;
174
175 FailureInfo m_failureInfo;
176
177 ExportStatistics m_statistics;
178
179 Aws::String m_requestId;
180 };
181
182} // namespace Model
183} // namespace SESV2
184} // namespace Aws
GetExportJobResult & WithExportDestination(ExportDestination &&value)
void SetStatistics(ExportStatistics &&value)
const ExportDestination & GetExportDestination() const
GetExportJobResult & WithFailureInfo(FailureInfo &&value)
GetExportJobResult & WithStatistics(const ExportStatistics &value)
const ExportSourceType & GetExportSourceType() const
GetExportJobResult & WithCreatedTimestamp(const Aws::Utils::DateTime &value)
const Aws::Utils::DateTime & GetCompletedTimestamp() const
const Aws::String & GetRequestId() const
const ExportDataSource & GetExportDataSource() const
AWS_SESV2_API GetExportJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportJobResult & WithRequestId(const char *value)
void SetCompletedTimestamp(Aws::Utils::DateTime &&value)
GetExportJobResult & WithCompletedTimestamp(Aws::Utils::DateTime &&value)
void SetCompletedTimestamp(const Aws::Utils::DateTime &value)
GetExportJobResult & WithJobStatus(const JobStatus &value)
void SetExportDataSource(const ExportDataSource &value)
void SetExportSourceType(ExportSourceType &&value)
GetExportJobResult & WithRequestId(Aws::String &&value)
void SetExportDataSource(ExportDataSource &&value)
void SetStatistics(const ExportStatistics &value)
GetExportJobResult & WithCreatedTimestamp(Aws::Utils::DateTime &&value)
const Aws::Utils::DateTime & GetCreatedTimestamp() const
GetExportJobResult & WithRequestId(const Aws::String &value)
GetExportJobResult & WithStatistics(ExportStatistics &&value)
GetExportJobResult & WithExportDataSource(const ExportDataSource &value)
GetExportJobResult & WithJobId(Aws::String &&value)
const ExportStatistics & GetStatistics() const
void SetFailureInfo(const FailureInfo &value)
void SetRequestId(const Aws::String &value)
GetExportJobResult & WithExportDestination(const ExportDestination &value)
void SetExportDestination(ExportDestination &&value)
void SetJobId(const Aws::String &value)
GetExportJobResult & WithJobStatus(JobStatus &&value)
GetExportJobResult & WithExportSourceType(const ExportSourceType &value)
void SetJobStatus(const JobStatus &value)
void SetExportSourceType(const ExportSourceType &value)
AWS_SESV2_API GetExportJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetExportJobResult & WithJobId(const char *value)
GetExportJobResult & WithExportSourceType(ExportSourceType &&value)
void SetCreatedTimestamp(Aws::Utils::DateTime &&value)
GetExportJobResult & WithCompletedTimestamp(const Aws::Utils::DateTime &value)
GetExportJobResult & WithJobId(const Aws::String &value)
GetExportJobResult & WithFailureInfo(const FailureInfo &value)
GetExportJobResult & WithExportDataSource(ExportDataSource &&value)
const FailureInfo & GetFailureInfo() const
const Aws::String & GetJobId() const
void SetCreatedTimestamp(const Aws::Utils::DateTime &value)
void SetExportDestination(const ExportDestination &value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue