AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
CreateMatchingWorkflowRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/entityresolution/EntityResolutionRequest.h>
11#include <aws/entityresolution/EntityResolution_EXPORTS.h>
12#include <aws/entityresolution/model/IncrementalRunConfig.h>
13#include <aws/entityresolution/model/InputSource.h>
14#include <aws/entityresolution/model/OutputSource.h>
15#include <aws/entityresolution/model/ResolutionTechniques.h>
16
17#include <utility>
18
19namespace Aws {
20namespace EntityResolution {
21namespace Model {
22
26 public:
27 AWS_ENTITYRESOLUTION_API CreateMatchingWorkflowRequest() = default;
28
29 // Service request name is the Operation name which will send this request out,
30 // each operation should has unique request name, so that we can get operation's name from this request.
31 // Note: this is not true for response, multiple operations may have the same response name,
32 // so we can not get operation's name from response.
33 inline virtual const char* GetServiceRequestName() const override { return "CreateMatchingWorkflow"; }
34
35 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
36
38
42 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
43 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
44 template <typename WorkflowNameT = Aws::String>
45 void SetWorkflowName(WorkflowNameT&& value) {
46 m_workflowNameHasBeenSet = true;
47 m_workflowName = std::forward<WorkflowNameT>(value);
48 }
49 template <typename WorkflowNameT = Aws::String>
51 SetWorkflowName(std::forward<WorkflowNameT>(value));
52 return *this;
53 }
55
57
60 inline const Aws::String& GetDescription() const { return m_description; }
61 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
62 template <typename DescriptionT = Aws::String>
63 void SetDescription(DescriptionT&& value) {
64 m_descriptionHasBeenSet = true;
65 m_description = std::forward<DescriptionT>(value);
66 }
67 template <typename DescriptionT = Aws::String>
69 SetDescription(std::forward<DescriptionT>(value));
70 return *this;
71 }
73
75
79 inline const Aws::Vector<InputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
80 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
81 template <typename InputSourceConfigT = Aws::Vector<InputSource>>
82 void SetInputSourceConfig(InputSourceConfigT&& value) {
83 m_inputSourceConfigHasBeenSet = true;
84 m_inputSourceConfig = std::forward<InputSourceConfigT>(value);
85 }
86 template <typename InputSourceConfigT = Aws::Vector<InputSource>>
88 SetInputSourceConfig(std::forward<InputSourceConfigT>(value));
89 return *this;
90 }
91 template <typename InputSourceConfigT = InputSource>
93 m_inputSourceConfigHasBeenSet = true;
94 m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value));
95 return *this;
96 }
98
100
105 inline const Aws::Vector<OutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
106 inline bool OutputSourceConfigHasBeenSet() const { return m_outputSourceConfigHasBeenSet; }
107 template <typename OutputSourceConfigT = Aws::Vector<OutputSource>>
108 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
109 m_outputSourceConfigHasBeenSet = true;
110 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
111 }
112 template <typename OutputSourceConfigT = Aws::Vector<OutputSource>>
114 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
115 return *this;
116 }
117 template <typename OutputSourceConfigT = OutputSource>
119 m_outputSourceConfigHasBeenSet = true;
120 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
121 return *this;
122 }
124
126
130 inline const ResolutionTechniques& GetResolutionTechniques() const { return m_resolutionTechniques; }
131 inline bool ResolutionTechniquesHasBeenSet() const { return m_resolutionTechniquesHasBeenSet; }
132 template <typename ResolutionTechniquesT = ResolutionTechniques>
133 void SetResolutionTechniques(ResolutionTechniquesT&& value) {
134 m_resolutionTechniquesHasBeenSet = true;
135 m_resolutionTechniques = std::forward<ResolutionTechniquesT>(value);
136 }
137 template <typename ResolutionTechniquesT = ResolutionTechniques>
139 SetResolutionTechniques(std::forward<ResolutionTechniquesT>(value));
140 return *this;
141 }
143
145
153 inline const IncrementalRunConfig& GetIncrementalRunConfig() const { return m_incrementalRunConfig; }
154 inline bool IncrementalRunConfigHasBeenSet() const { return m_incrementalRunConfigHasBeenSet; }
155 template <typename IncrementalRunConfigT = IncrementalRunConfig>
156 void SetIncrementalRunConfig(IncrementalRunConfigT&& value) {
157 m_incrementalRunConfigHasBeenSet = true;
158 m_incrementalRunConfig = std::forward<IncrementalRunConfigT>(value);
159 }
160 template <typename IncrementalRunConfigT = IncrementalRunConfig>
162 SetIncrementalRunConfig(std::forward<IncrementalRunConfigT>(value));
163 return *this;
164 }
166
168
172 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
173 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
174 template <typename RoleArnT = Aws::String>
175 void SetRoleArn(RoleArnT&& value) {
176 m_roleArnHasBeenSet = true;
177 m_roleArn = std::forward<RoleArnT>(value);
178 }
179 template <typename RoleArnT = Aws::String>
181 SetRoleArn(std::forward<RoleArnT>(value));
182 return *this;
183 }
185
187
190 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
191 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
192 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
193 void SetTags(TagsT&& value) {
194 m_tagsHasBeenSet = true;
195 m_tags = std::forward<TagsT>(value);
196 }
197 template <typename TagsT = Aws::Map<Aws::String, Aws::String>>
199 SetTags(std::forward<TagsT>(value));
200 return *this;
201 }
202 template <typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
203 CreateMatchingWorkflowRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
204 m_tagsHasBeenSet = true;
205 m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value));
206 return *this;
207 }
209 private:
210 Aws::String m_workflowName;
211
212 Aws::String m_description;
213
214 Aws::Vector<InputSource> m_inputSourceConfig;
215
216 Aws::Vector<OutputSource> m_outputSourceConfig;
217
218 ResolutionTechniques m_resolutionTechniques;
219
220 IncrementalRunConfig m_incrementalRunConfig;
221
222 Aws::String m_roleArn;
223
225 bool m_workflowNameHasBeenSet = false;
226 bool m_descriptionHasBeenSet = false;
227 bool m_inputSourceConfigHasBeenSet = false;
228 bool m_outputSourceConfigHasBeenSet = false;
229 bool m_resolutionTechniquesHasBeenSet = false;
230 bool m_incrementalRunConfigHasBeenSet = false;
231 bool m_roleArnHasBeenSet = false;
232 bool m_tagsHasBeenSet = false;
233};
234
235} // namespace Model
236} // namespace EntityResolution
237} // namespace Aws
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateMatchingWorkflowRequest & WithWorkflowName(WorkflowNameT &&value)
CreateMatchingWorkflowRequest & WithResolutionTechniques(ResolutionTechniquesT &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
AWS_ENTITYRESOLUTION_API CreateMatchingWorkflowRequest()=default
CreateMatchingWorkflowRequest & WithOutputSourceConfig(OutputSourceConfigT &&value)
CreateMatchingWorkflowRequest & WithRoleArn(RoleArnT &&value)
CreateMatchingWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateMatchingWorkflowRequest & AddInputSourceConfig(InputSourceConfigT &&value)
CreateMatchingWorkflowRequest & WithDescription(DescriptionT &&value)
CreateMatchingWorkflowRequest & WithInputSourceConfig(InputSourceConfigT &&value)
CreateMatchingWorkflowRequest & AddOutputSourceConfig(OutputSourceConfigT &&value)
CreateMatchingWorkflowRequest & WithIncrementalRunConfig(IncrementalRunConfigT &&value)
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector