AWS SDK for C++

AWS SDK for C++ Version 1.11.787

Loading...
Searching...
No Matches
GetIdMappingJobResult.h
1
6#pragma once
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/core/utils/memory/stl/AWSVector.h>
11#include <aws/entityresolution/EntityResolution_EXPORTS.h>
12#include <aws/entityresolution/model/ErrorDetails.h>
13#include <aws/entityresolution/model/IdMappingJobMetrics.h>
14#include <aws/entityresolution/model/IdMappingJobOutputSource.h>
15#include <aws/entityresolution/model/JobStatus.h>
16#include <aws/entityresolution/model/JobType.h>
17
18#include <utility>
19
20namespace Aws {
21template <typename RESULT_TYPE>
22class AmazonWebServiceResult;
23
24namespace Utils {
25namespace Json {
26class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace EntityResolution {
30namespace Model {
32 public:
33 AWS_ENTITYRESOLUTION_API GetIdMappingJobResult() = default;
36
38
41 inline const Aws::String& GetJobId() const { return m_jobId; }
42 template <typename JobIdT = Aws::String>
43 void SetJobId(JobIdT&& value) {
44 m_jobIdHasBeenSet = true;
45 m_jobId = std::forward<JobIdT>(value);
46 }
47 template <typename JobIdT = Aws::String>
49 SetJobId(std::forward<JobIdT>(value));
50 return *this;
51 }
53
55
58 inline JobStatus GetStatus() const { return m_status; }
59 inline void SetStatus(JobStatus value) {
60 m_statusHasBeenSet = true;
61 m_status = value;
62 }
64 SetStatus(value);
65 return *this;
66 }
68
70
73 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
74 template <typename StartTimeT = Aws::Utils::DateTime>
75 void SetStartTime(StartTimeT&& value) {
76 m_startTimeHasBeenSet = true;
77 m_startTime = std::forward<StartTimeT>(value);
78 }
79 template <typename StartTimeT = Aws::Utils::DateTime>
80 GetIdMappingJobResult& WithStartTime(StartTimeT&& value) {
81 SetStartTime(std::forward<StartTimeT>(value));
82 return *this;
83 }
85
87
90 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
91 template <typename EndTimeT = Aws::Utils::DateTime>
92 void SetEndTime(EndTimeT&& value) {
93 m_endTimeHasBeenSet = true;
94 m_endTime = std::forward<EndTimeT>(value);
95 }
96 template <typename EndTimeT = Aws::Utils::DateTime>
98 SetEndTime(std::forward<EndTimeT>(value));
99 return *this;
100 }
102
104
108 inline const IdMappingJobMetrics& GetMetrics() const { return m_metrics; }
109 template <typename MetricsT = IdMappingJobMetrics>
110 void SetMetrics(MetricsT&& value) {
111 m_metricsHasBeenSet = true;
112 m_metrics = std::forward<MetricsT>(value);
113 }
114 template <typename MetricsT = IdMappingJobMetrics>
116 SetMetrics(std::forward<MetricsT>(value));
117 return *this;
118 }
120
122
123 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
124 template <typename ErrorDetailsT = ErrorDetails>
125 void SetErrorDetails(ErrorDetailsT&& value) {
126 m_errorDetailsHasBeenSet = true;
127 m_errorDetails = std::forward<ErrorDetailsT>(value);
128 }
129 template <typename ErrorDetailsT = ErrorDetails>
130 GetIdMappingJobResult& WithErrorDetails(ErrorDetailsT&& value) {
131 SetErrorDetails(std::forward<ErrorDetailsT>(value));
132 return *this;
133 }
135
137
140 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
141 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
142 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
143 m_outputSourceConfigHasBeenSet = true;
144 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
145 }
146 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
147 GetIdMappingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) {
148 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
149 return *this;
150 }
151 template <typename OutputSourceConfigT = IdMappingJobOutputSource>
152 GetIdMappingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) {
153 m_outputSourceConfigHasBeenSet = true;
154 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
155 return *this;
156 }
158
160
171 inline JobType GetJobType() const { return m_jobType; }
172 inline void SetJobType(JobType value) {
173 m_jobTypeHasBeenSet = true;
174 m_jobType = value;
175 }
177 SetJobType(value);
178 return *this;
179 }
181
183
184 inline const Aws::String& GetRequestId() const { return m_requestId; }
185 template <typename RequestIdT = Aws::String>
186 void SetRequestId(RequestIdT&& value) {
187 m_requestIdHasBeenSet = true;
188 m_requestId = std::forward<RequestIdT>(value);
189 }
190 template <typename RequestIdT = Aws::String>
192 SetRequestId(std::forward<RequestIdT>(value));
193 return *this;
194 }
196 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
197
198 private:
199 Aws::String m_jobId;
200
202
203 Aws::Utils::DateTime m_startTime{};
204
205 Aws::Utils::DateTime m_endTime{};
206
207 IdMappingJobMetrics m_metrics;
208
209 ErrorDetails m_errorDetails;
210
211 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
212
213 JobType m_jobType{JobType::NOT_SET};
214
215 Aws::String m_requestId;
216 Aws::Http::HttpResponseCode m_HttpResponseCode;
217 bool m_jobIdHasBeenSet = false;
218 bool m_statusHasBeenSet = false;
219 bool m_startTimeHasBeenSet = false;
220 bool m_endTimeHasBeenSet = false;
221 bool m_metricsHasBeenSet = false;
222 bool m_errorDetailsHasBeenSet = false;
223 bool m_outputSourceConfigHasBeenSet = false;
224 bool m_jobTypeHasBeenSet = false;
225 bool m_requestIdHasBeenSet = false;
226};
227
228} // namespace Model
229} // namespace EntityResolution
230} // namespace Aws
GetIdMappingJobResult & WithRequestId(RequestIdT &&value)
GetIdMappingJobResult & WithEndTime(EndTimeT &&value)
AWS_ENTITYRESOLUTION_API GetIdMappingJobResult()=default
GetIdMappingJobResult & WithJobId(JobIdT &&value)
GetIdMappingJobResult & WithStartTime(StartTimeT &&value)
GetIdMappingJobResult & WithMetrics(MetricsT &&value)
const Aws::Vector< IdMappingJobOutputSource > & GetOutputSourceConfig() const
GetIdMappingJobResult & WithJobType(JobType value)
GetIdMappingJobResult & WithOutputSourceConfig(OutputSourceConfigT &&value)
GetIdMappingJobResult & WithErrorDetails(ErrorDetailsT &&value)
GetIdMappingJobResult & AddOutputSourceConfig(OutputSourceConfigT &&value)
AWS_ENTITYRESOLUTION_API GetIdMappingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API GetIdMappingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetIdMappingJobResult & WithStatus(JobStatus value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue