AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetIdMappingJobResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/model/JobStatus.h>
10#include <aws/core/utils/DateTime.h>
11#include <aws/entityresolution/model/IdMappingJobMetrics.h>
12#include <aws/entityresolution/model/ErrorDetails.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/entityresolution/model/IdMappingJobOutputSource.h>
15#include <utility>
16
17namespace Aws
18{
19template<typename RESULT_TYPE>
20class AmazonWebServiceResult;
21
22namespace Utils
23{
24namespace Json
25{
26 class JsonValue;
27} // namespace Json
28} // namespace Utils
29namespace EntityResolution
30{
31namespace Model
32{
34 {
35 public:
36 AWS_ENTITYRESOLUTION_API GetIdMappingJobResult() = default;
39
40
42
45 inline const Aws::String& GetJobId() const { return m_jobId; }
46 template<typename JobIdT = Aws::String>
47 void SetJobId(JobIdT&& value) { m_jobIdHasBeenSet = true; m_jobId = std::forward<JobIdT>(value); }
48 template<typename JobIdT = Aws::String>
49 GetIdMappingJobResult& WithJobId(JobIdT&& value) { SetJobId(std::forward<JobIdT>(value)); return *this;}
51
53
56 inline JobStatus GetStatus() const { return m_status; }
57 inline void SetStatus(JobStatus value) { m_statusHasBeenSet = true; m_status = value; }
58 inline GetIdMappingJobResult& WithStatus(JobStatus value) { SetStatus(value); return *this;}
60
62
65 inline const Aws::Utils::DateTime& GetStartTime() const { return m_startTime; }
66 template<typename StartTimeT = Aws::Utils::DateTime>
67 void SetStartTime(StartTimeT&& value) { m_startTimeHasBeenSet = true; m_startTime = std::forward<StartTimeT>(value); }
68 template<typename StartTimeT = Aws::Utils::DateTime>
69 GetIdMappingJobResult& WithStartTime(StartTimeT&& value) { SetStartTime(std::forward<StartTimeT>(value)); return *this;}
71
73
76 inline const Aws::Utils::DateTime& GetEndTime() const { return m_endTime; }
77 template<typename EndTimeT = Aws::Utils::DateTime>
78 void SetEndTime(EndTimeT&& value) { m_endTimeHasBeenSet = true; m_endTime = std::forward<EndTimeT>(value); }
79 template<typename EndTimeT = Aws::Utils::DateTime>
80 GetIdMappingJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
82
84
88 inline const IdMappingJobMetrics& GetMetrics() const { return m_metrics; }
89 template<typename MetricsT = IdMappingJobMetrics>
90 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
91 template<typename MetricsT = IdMappingJobMetrics>
92 GetIdMappingJobResult& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
94
96
97 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
98 template<typename ErrorDetailsT = ErrorDetails>
99 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
100 template<typename ErrorDetailsT = ErrorDetails>
101 GetIdMappingJobResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
103
105
108 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
109 template<typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
110 void SetOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig = std::forward<OutputSourceConfigT>(value); }
111 template<typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
112 GetIdMappingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) { SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value)); return *this;}
113 template<typename OutputSourceConfigT = IdMappingJobOutputSource>
114 GetIdMappingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value)); return *this; }
116
118
119 inline const Aws::String& GetRequestId() const { return m_requestId; }
120 template<typename RequestIdT = Aws::String>
121 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
122 template<typename RequestIdT = Aws::String>
123 GetIdMappingJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
125 private:
126
127 Aws::String m_jobId;
128 bool m_jobIdHasBeenSet = false;
129
131 bool m_statusHasBeenSet = false;
132
133 Aws::Utils::DateTime m_startTime{};
134 bool m_startTimeHasBeenSet = false;
135
136 Aws::Utils::DateTime m_endTime{};
137 bool m_endTimeHasBeenSet = false;
138
139 IdMappingJobMetrics m_metrics;
140 bool m_metricsHasBeenSet = false;
141
142 ErrorDetails m_errorDetails;
143 bool m_errorDetailsHasBeenSet = false;
144
145 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
146 bool m_outputSourceConfigHasBeenSet = false;
147
148 Aws::String m_requestId;
149 bool m_requestIdHasBeenSet = false;
150 };
151
152} // namespace Model
153} // namespace EntityResolution
154} // 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 & 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