AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GetIdMappingJobResult.h
1
6#pragma once
7#include <aws/core/utils/DateTime.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11#include <aws/entityresolution/model/ErrorDetails.h>
12#include <aws/entityresolution/model/IdMappingJobMetrics.h>
13#include <aws/entityresolution/model/IdMappingJobOutputSource.h>
14#include <aws/entityresolution/model/JobStatus.h>
15#include <aws/entityresolution/model/JobType.h>
16
17#include <utility>
18
19namespace Aws {
20template <typename RESULT_TYPE>
21class AmazonWebServiceResult;
22
23namespace Utils {
24namespace Json {
25class JsonValue;
26} // namespace Json
27} // namespace Utils
28namespace EntityResolution {
29namespace Model {
31 public:
32 AWS_ENTITYRESOLUTION_API GetIdMappingJobResult() = default;
35
37
40 inline const Aws::String& GetJobId() const { return m_jobId; }
41 template <typename JobIdT = Aws::String>
42 void SetJobId(JobIdT&& value) {
43 m_jobIdHasBeenSet = true;
44 m_jobId = std::forward<JobIdT>(value);
45 }
46 template <typename JobIdT = Aws::String>
48 SetJobId(std::forward<JobIdT>(value));
49 return *this;
50 }
52
54
57 inline JobStatus GetStatus() const { return m_status; }
58 inline void SetStatus(JobStatus value) {
59 m_statusHasBeenSet = true;
60 m_status = value;
61 }
63 SetStatus(value);
64 return *this;
65 }
67
69
72 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
73 template <typename StartTimeT = Aws::Utils::DateTime>
74 void SetStartTime(StartTimeT&& value) {
75 m_startTimeHasBeenSet = true;
76 m_startTime = std::forward<StartTimeT>(value);
77 }
78 template <typename StartTimeT = Aws::Utils::DateTime>
79 GetIdMappingJobResult& WithStartTime(StartTimeT&& value) {
80 SetStartTime(std::forward<StartTimeT>(value));
81 return *this;
82 }
84
86
89 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
90 template <typename EndTimeT = Aws::Utils::DateTime>
91 void SetEndTime(EndTimeT&& value) {
92 m_endTimeHasBeenSet = true;
93 m_endTime = std::forward<EndTimeT>(value);
94 }
95 template <typename EndTimeT = Aws::Utils::DateTime>
97 SetEndTime(std::forward<EndTimeT>(value));
98 return *this;
99 }
101
103
107 inline const IdMappingJobMetrics& GetMetrics() const { return m_metrics; }
108 template <typename MetricsT = IdMappingJobMetrics>
109 void SetMetrics(MetricsT&& value) {
110 m_metricsHasBeenSet = true;
111 m_metrics = std::forward<MetricsT>(value);
112 }
113 template <typename MetricsT = IdMappingJobMetrics>
115 SetMetrics(std::forward<MetricsT>(value));
116 return *this;
117 }
119
121
122 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
123 template <typename ErrorDetailsT = ErrorDetails>
124 void SetErrorDetails(ErrorDetailsT&& value) {
125 m_errorDetailsHasBeenSet = true;
126 m_errorDetails = std::forward<ErrorDetailsT>(value);
127 }
128 template <typename ErrorDetailsT = ErrorDetails>
129 GetIdMappingJobResult& WithErrorDetails(ErrorDetailsT&& value) {
130 SetErrorDetails(std::forward<ErrorDetailsT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
140 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
141 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
142 m_outputSourceConfigHasBeenSet = true;
143 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
144 }
145 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
146 GetIdMappingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) {
147 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
148 return *this;
149 }
150 template <typename OutputSourceConfigT = IdMappingJobOutputSource>
151 GetIdMappingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) {
152 m_outputSourceConfigHasBeenSet = true;
153 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
154 return *this;
155 }
157
159
170 inline JobType GetJobType() const { return m_jobType; }
171 inline void SetJobType(JobType value) {
172 m_jobTypeHasBeenSet = true;
173 m_jobType = value;
174 }
176 SetJobType(value);
177 return *this;
178 }
180
182
183 inline const Aws::String& GetRequestId() const { return m_requestId; }
184 template <typename RequestIdT = Aws::String>
185 void SetRequestId(RequestIdT&& value) {
186 m_requestIdHasBeenSet = true;
187 m_requestId = std::forward<RequestIdT>(value);
188 }
189 template <typename RequestIdT = Aws::String>
191 SetRequestId(std::forward<RequestIdT>(value));
192 return *this;
193 }
195 private:
196 Aws::String m_jobId;
197
199
200 Aws::Utils::DateTime m_startTime{};
201
202 Aws::Utils::DateTime m_endTime{};
203
204 IdMappingJobMetrics m_metrics;
205
206 ErrorDetails m_errorDetails;
207
208 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
209
210 JobType m_jobType{JobType::NOT_SET};
211
212 Aws::String m_requestId;
213 bool m_jobIdHasBeenSet = false;
214 bool m_statusHasBeenSet = false;
215 bool m_startTimeHasBeenSet = false;
216 bool m_endTimeHasBeenSet = false;
217 bool m_metricsHasBeenSet = false;
218 bool m_errorDetailsHasBeenSet = false;
219 bool m_outputSourceConfigHasBeenSet = false;
220 bool m_jobTypeHasBeenSet = false;
221 bool m_requestIdHasBeenSet = false;
222};
223
224} // namespace Model
225} // namespace EntityResolution
226} // 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)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue