AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
StartIdMappingJobResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.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/IdMappingJobOutputSource.h>
12#include <aws/entityresolution/model/JobType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace EntityResolution {
26namespace Model {
28 public:
29 AWS_ENTITYRESOLUTION_API StartIdMappingJobResult() = default;
32
34
37 inline const Aws::String& GetJobId() const { return m_jobId; }
38 template <typename JobIdT = Aws::String>
39 void SetJobId(JobIdT&& value) {
40 m_jobIdHasBeenSet = true;
41 m_jobId = std::forward<JobIdT>(value);
42 }
43 template <typename JobIdT = Aws::String>
45 SetJobId(std::forward<JobIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
55 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
56 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
57 m_outputSourceConfigHasBeenSet = true;
58 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
59 }
60 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
61 StartIdMappingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) {
62 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
63 return *this;
64 }
65 template <typename OutputSourceConfigT = IdMappingJobOutputSource>
66 StartIdMappingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) {
67 m_outputSourceConfigHasBeenSet = true;
68 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
69 return *this;
70 }
72
74
85 inline JobType GetJobType() const { return m_jobType; }
86 inline void SetJobType(JobType value) {
87 m_jobTypeHasBeenSet = true;
88 m_jobType = value;
89 }
91 SetJobType(value);
92 return *this;
93 }
95
97
98 inline const Aws::String& GetRequestId() const { return m_requestId; }
99 template <typename RequestIdT = Aws::String>
100 void SetRequestId(RequestIdT&& value) {
101 m_requestIdHasBeenSet = true;
102 m_requestId = std::forward<RequestIdT>(value);
103 }
104 template <typename RequestIdT = Aws::String>
106 SetRequestId(std::forward<RequestIdT>(value));
107 return *this;
108 }
110 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
111
112 private:
113 Aws::String m_jobId;
114
115 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
116
117 JobType m_jobType{JobType::NOT_SET};
118
119 Aws::String m_requestId;
120 Aws::Http::HttpResponseCode m_HttpResponseCode;
121 bool m_jobIdHasBeenSet = false;
122 bool m_outputSourceConfigHasBeenSet = false;
123 bool m_jobTypeHasBeenSet = false;
124 bool m_requestIdHasBeenSet = false;
125};
126
127} // namespace Model
128} // namespace EntityResolution
129} // namespace Aws
const Aws::Vector< IdMappingJobOutputSource > & GetOutputSourceConfig() const
AWS_ENTITYRESOLUTION_API StartIdMappingJobResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
StartIdMappingJobResult & WithRequestId(RequestIdT &&value)
StartIdMappingJobResult & AddOutputSourceConfig(OutputSourceConfigT &&value)
StartIdMappingJobResult & WithJobType(JobType value)
AWS_ENTITYRESOLUTION_API StartIdMappingJobResult()=default
StartIdMappingJobResult & WithOutputSourceConfig(OutputSourceConfigT &&value)
StartIdMappingJobResult & WithJobId(JobIdT &&value)
AWS_ENTITYRESOLUTION_API StartIdMappingJobResult & operator=(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