AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
StartIdMappingJobResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/IdMappingJobOutputSource.h>
11#include <aws/entityresolution/model/JobType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EntityResolution {
25namespace Model {
27 public:
28 AWS_ENTITYRESOLUTION_API StartIdMappingJobResult() = default;
31
33
36 inline const Aws::String& GetJobId() const { return m_jobId; }
37 template <typename JobIdT = Aws::String>
38 void SetJobId(JobIdT&& value) {
39 m_jobIdHasBeenSet = true;
40 m_jobId = std::forward<JobIdT>(value);
41 }
42 template <typename JobIdT = Aws::String>
44 SetJobId(std::forward<JobIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
54 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
55 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
56 m_outputSourceConfigHasBeenSet = true;
57 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
58 }
59 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
60 StartIdMappingJobResult& WithOutputSourceConfig(OutputSourceConfigT&& value) {
61 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
62 return *this;
63 }
64 template <typename OutputSourceConfigT = IdMappingJobOutputSource>
65 StartIdMappingJobResult& AddOutputSourceConfig(OutputSourceConfigT&& value) {
66 m_outputSourceConfigHasBeenSet = true;
67 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
68 return *this;
69 }
71
73
84 inline JobType GetJobType() const { return m_jobType; }
85 inline void SetJobType(JobType value) {
86 m_jobTypeHasBeenSet = true;
87 m_jobType = value;
88 }
90 SetJobType(value);
91 return *this;
92 }
94
96
97 inline const Aws::String& GetRequestId() const { return m_requestId; }
98 template <typename RequestIdT = Aws::String>
99 void SetRequestId(RequestIdT&& value) {
100 m_requestIdHasBeenSet = true;
101 m_requestId = std::forward<RequestIdT>(value);
102 }
103 template <typename RequestIdT = Aws::String>
105 SetRequestId(std::forward<RequestIdT>(value));
106 return *this;
107 }
109 private:
110 Aws::String m_jobId;
111
112 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
113
114 JobType m_jobType{JobType::NOT_SET};
115
116 Aws::String m_requestId;
117 bool m_jobIdHasBeenSet = false;
118 bool m_outputSourceConfigHasBeenSet = false;
119 bool m_jobTypeHasBeenSet = false;
120 bool m_requestIdHasBeenSet = false;
121};
122
123} // namespace Model
124} // namespace EntityResolution
125} // 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