AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetMatchingJobResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/DateTime.h>
9#include <aws/entityresolution/model/ErrorDetails.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <aws/entityresolution/model/JobMetrics.h>
12#include <aws/core/utils/memory/stl/AWSVector.h>
13#include <aws/entityresolution/model/JobStatus.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();
39
40
42
45 inline const Aws::Utils::DateTime& GetEndTime() const{ return m_endTime; }
46 inline void SetEndTime(const Aws::Utils::DateTime& value) { m_endTime = value; }
47 inline void SetEndTime(Aws::Utils::DateTime&& value) { m_endTime = std::move(value); }
48 inline GetMatchingJobResult& WithEndTime(const Aws::Utils::DateTime& value) { SetEndTime(value); return *this;}
49 inline GetMatchingJobResult& WithEndTime(Aws::Utils::DateTime&& value) { SetEndTime(std::move(value)); return *this;}
51
53
56 inline const ErrorDetails& GetErrorDetails() const{ return m_errorDetails; }
57 inline void SetErrorDetails(const ErrorDetails& value) { m_errorDetails = value; }
58 inline void SetErrorDetails(ErrorDetails&& value) { m_errorDetails = std::move(value); }
59 inline GetMatchingJobResult& WithErrorDetails(const ErrorDetails& value) { SetErrorDetails(value); return *this;}
60 inline GetMatchingJobResult& WithErrorDetails(ErrorDetails&& value) { SetErrorDetails(std::move(value)); return *this;}
62
64
67 inline const Aws::String& GetJobId() const{ return m_jobId; }
68 inline void SetJobId(const Aws::String& value) { m_jobId = value; }
69 inline void SetJobId(Aws::String&& value) { m_jobId = std::move(value); }
70 inline void SetJobId(const char* value) { m_jobId.assign(value); }
71 inline GetMatchingJobResult& WithJobId(const Aws::String& value) { SetJobId(value); return *this;}
72 inline GetMatchingJobResult& WithJobId(Aws::String&& value) { SetJobId(std::move(value)); return *this;}
73 inline GetMatchingJobResult& WithJobId(const char* value) { SetJobId(value); return *this;}
75
77
81 inline const JobMetrics& GetMetrics() const{ return m_metrics; }
82 inline void SetMetrics(const JobMetrics& value) { m_metrics = value; }
83 inline void SetMetrics(JobMetrics&& value) { m_metrics = std::move(value); }
84 inline GetMatchingJobResult& WithMetrics(const JobMetrics& value) { SetMetrics(value); return *this;}
85 inline GetMatchingJobResult& WithMetrics(JobMetrics&& value) { SetMetrics(std::move(value)); return *this;}
87
89
92 inline const Aws::Vector<JobOutputSource>& GetOutputSourceConfig() const{ return m_outputSourceConfig; }
93 inline void SetOutputSourceConfig(const Aws::Vector<JobOutputSource>& value) { m_outputSourceConfig = value; }
94 inline void SetOutputSourceConfig(Aws::Vector<JobOutputSource>&& value) { m_outputSourceConfig = std::move(value); }
97 inline GetMatchingJobResult& AddOutputSourceConfig(const JobOutputSource& value) { m_outputSourceConfig.push_back(value); return *this; }
98 inline GetMatchingJobResult& AddOutputSourceConfig(JobOutputSource&& value) { m_outputSourceConfig.push_back(std::move(value)); return *this; }
100
102
105 inline const Aws::Utils::DateTime& GetStartTime() const{ return m_startTime; }
106 inline void SetStartTime(const Aws::Utils::DateTime& value) { m_startTime = value; }
107 inline void SetStartTime(Aws::Utils::DateTime&& value) { m_startTime = std::move(value); }
108 inline GetMatchingJobResult& WithStartTime(const Aws::Utils::DateTime& value) { SetStartTime(value); return *this;}
109 inline GetMatchingJobResult& WithStartTime(Aws::Utils::DateTime&& value) { SetStartTime(std::move(value)); return *this;}
111
113
116 inline const JobStatus& GetStatus() const{ return m_status; }
117 inline void SetStatus(const JobStatus& value) { m_status = value; }
118 inline void SetStatus(JobStatus&& value) { m_status = std::move(value); }
119 inline GetMatchingJobResult& WithStatus(const JobStatus& value) { SetStatus(value); return *this;}
120 inline GetMatchingJobResult& WithStatus(JobStatus&& value) { SetStatus(std::move(value)); return *this;}
122
124
125 inline const Aws::String& GetRequestId() const{ return m_requestId; }
126 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
127 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
128 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
129 inline GetMatchingJobResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
130 inline GetMatchingJobResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
131 inline GetMatchingJobResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
133 private:
134
135 Aws::Utils::DateTime m_endTime;
136
137 ErrorDetails m_errorDetails;
138
139 Aws::String m_jobId;
140
141 JobMetrics m_metrics;
142
143 Aws::Vector<JobOutputSource> m_outputSourceConfig;
144
145 Aws::Utils::DateTime m_startTime;
146
147 JobStatus m_status;
148
149 Aws::String m_requestId;
150 };
151
152} // namespace Model
153} // namespace EntityResolution
154} // namespace Aws
GetMatchingJobResult & WithRequestId(const Aws::String &value)
GetMatchingJobResult & WithJobId(const char *value)
const Aws::Vector< JobOutputSource > & GetOutputSourceConfig() const
const Aws::Utils::DateTime & GetStartTime() const
void SetEndTime(const Aws::Utils::DateTime &value)
GetMatchingJobResult & WithOutputSourceConfig(Aws::Vector< JobOutputSource > &&value)
GetMatchingJobResult & WithMetrics(const JobMetrics &value)
GetMatchingJobResult & WithOutputSourceConfig(const Aws::Vector< JobOutputSource > &value)
AWS_ENTITYRESOLUTION_API GetMatchingJobResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetStartTime(const Aws::Utils::DateTime &value)
GetMatchingJobResult & WithStatus(JobStatus &&value)
GetMatchingJobResult & WithMetrics(JobMetrics &&value)
const Aws::Utils::DateTime & GetEndTime() const
void SetOutputSourceConfig(const Aws::Vector< JobOutputSource > &value)
GetMatchingJobResult & WithEndTime(const Aws::Utils::DateTime &value)
GetMatchingJobResult & WithRequestId(Aws::String &&value)
GetMatchingJobResult & WithEndTime(Aws::Utils::DateTime &&value)
GetMatchingJobResult & AddOutputSourceConfig(JobOutputSource &&value)
GetMatchingJobResult & WithJobId(Aws::String &&value)
GetMatchingJobResult & WithStartTime(Aws::Utils::DateTime &&value)
GetMatchingJobResult & WithJobId(const Aws::String &value)
GetMatchingJobResult & WithErrorDetails(const ErrorDetails &value)
GetMatchingJobResult & WithRequestId(const char *value)
void SetOutputSourceConfig(Aws::Vector< JobOutputSource > &&value)
GetMatchingJobResult & WithErrorDetails(ErrorDetails &&value)
GetMatchingJobResult & WithStatus(const JobStatus &value)
GetMatchingJobResult & WithStartTime(const Aws::Utils::DateTime &value)
GetMatchingJobResult & AddOutputSourceConfig(const JobOutputSource &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