AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetMatchingJobResult.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/JobMetrics.h>
12#include <aws/entityresolution/model/ErrorDetails.h>
13#include <aws/core/utils/memory/stl/AWSVector.h>
14#include <aws/entityresolution/model/JobOutputSource.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 GetMatchingJobResult() = 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 GetMatchingJobResult& 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 GetMatchingJobResult& 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 GetMatchingJobResult& 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 GetMatchingJobResult& WithEndTime(EndTimeT&& value) { SetEndTime(std::forward<EndTimeT>(value)); return *this;}
82
84
88 inline const JobMetrics& GetMetrics() const { return m_metrics; }
89 template<typename MetricsT = JobMetrics>
90 void SetMetrics(MetricsT&& value) { m_metricsHasBeenSet = true; m_metrics = std::forward<MetricsT>(value); }
91 template<typename MetricsT = JobMetrics>
92 GetMatchingJobResult& WithMetrics(MetricsT&& value) { SetMetrics(std::forward<MetricsT>(value)); return *this;}
94
96
99 inline const ErrorDetails& GetErrorDetails() const { return m_errorDetails; }
100 template<typename ErrorDetailsT = ErrorDetails>
101 void SetErrorDetails(ErrorDetailsT&& value) { m_errorDetailsHasBeenSet = true; m_errorDetails = std::forward<ErrorDetailsT>(value); }
102 template<typename ErrorDetailsT = ErrorDetails>
103 GetMatchingJobResult& WithErrorDetails(ErrorDetailsT&& value) { SetErrorDetails(std::forward<ErrorDetailsT>(value)); return *this;}
105
107
110 inline const Aws::Vector<JobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
111 template<typename OutputSourceConfigT = Aws::Vector<JobOutputSource>>
112 void SetOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig = std::forward<OutputSourceConfigT>(value); }
113 template<typename OutputSourceConfigT = Aws::Vector<JobOutputSource>>
114 GetMatchingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) { SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value)); return *this;}
115 template<typename OutputSourceConfigT = JobOutputSource>
116 GetMatchingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value)); return *this; }
118
120
121 inline const Aws::String& GetRequestId() const { return m_requestId; }
122 template<typename RequestIdT = Aws::String>
123 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
124 template<typename RequestIdT = Aws::String>
125 GetMatchingJobResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
127 private:
128
129 Aws::String m_jobId;
130 bool m_jobIdHasBeenSet = false;
131
133 bool m_statusHasBeenSet = false;
134
135 Aws::Utils::DateTime m_startTime{};
136 bool m_startTimeHasBeenSet = false;
137
138 Aws::Utils::DateTime m_endTime{};
139 bool m_endTimeHasBeenSet = false;
140
141 JobMetrics m_metrics;
142 bool m_metricsHasBeenSet = false;
143
144 ErrorDetails m_errorDetails;
145 bool m_errorDetailsHasBeenSet = false;
146
147 Aws::Vector<JobOutputSource> m_outputSourceConfig;
148 bool m_outputSourceConfigHasBeenSet = false;
149
150 Aws::String m_requestId;
151 bool m_requestIdHasBeenSet = false;
152 };
153
154} // namespace Model
155} // namespace EntityResolution
156} // namespace Aws
const Aws::Vector< JobOutputSource > & GetOutputSourceConfig() const
const Aws::Utils::DateTime & GetStartTime() const
GetMatchingJobResult & WithOutputSourceConfig(OutputSourceConfigT &&value)
GetMatchingJobResult & WithStartTime(StartTimeT &&value)
GetMatchingJobResult & WithStatus(JobStatus value)
GetMatchingJobResult & WithRequestId(RequestIdT &&value)
GetMatchingJobResult & AddOutputSourceConfig(OutputSourceConfigT &&value)
AWS_ENTITYRESOLUTION_API GetMatchingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMatchingJobResult & WithEndTime(EndTimeT &&value)
GetMatchingJobResult & WithErrorDetails(ErrorDetailsT &&value)
void SetOutputSourceConfig(OutputSourceConfigT &&value)
GetMatchingJobResult & WithMetrics(MetricsT &&value)
const Aws::Utils::DateTime & GetEndTime() const
AWS_ENTITYRESOLUTION_API GetMatchingJobResult()=default
GetMatchingJobResult & WithJobId(JobIdT &&value)
AWS_ENTITYRESOLUTION_API GetMatchingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue