AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateMatchingWorkflowRequest.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/entityresolution/EntityResolutionRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/entityresolution/model/ResolutionTechniques.h>
12#include <aws/entityresolution/model/IncrementalRunConfig.h>
13#include <aws/core/utils/memory/stl/AWSMap.h>
14#include <aws/entityresolution/model/InputSource.h>
15#include <aws/entityresolution/model/OutputSource.h>
16#include <utility>
17
18namespace Aws
19{
20namespace EntityResolution
21{
22namespace Model
23{
24
28 {
29 public:
30 AWS_ENTITYRESOLUTION_API CreateMatchingWorkflowRequest() = default;
31
32 // Service request name is the Operation name which will send this request out,
33 // each operation should has unique request name, so that we can get operation's name from this request.
34 // Note: this is not true for response, multiple operations may have the same response name,
35 // so we can not get operation's name from response.
36 inline virtual const char* GetServiceRequestName() const override { return "CreateMatchingWorkflow"; }
37
38 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
39
40
42
46 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
47 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
48 template<typename WorkflowNameT = Aws::String>
49 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::forward<WorkflowNameT>(value); }
50 template<typename WorkflowNameT = Aws::String>
51 CreateMatchingWorkflowRequest& WithWorkflowName(WorkflowNameT&& value) { SetWorkflowName(std::forward<WorkflowNameT>(value)); return *this;}
53
55
58 inline const Aws::String& GetDescription() const { return m_description; }
59 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
60 template<typename DescriptionT = Aws::String>
61 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
62 template<typename DescriptionT = Aws::String>
63 CreateMatchingWorkflowRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
65
67
71 inline const Aws::Vector<InputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
72 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
73 template<typename InputSourceConfigT = Aws::Vector<InputSource>>
74 void SetInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::forward<InputSourceConfigT>(value); }
75 template<typename InputSourceConfigT = Aws::Vector<InputSource>>
76 CreateMatchingWorkflowRequest& WithInputSourceConfig(InputSourceConfigT&& value) { SetInputSourceConfig(std::forward<InputSourceConfigT>(value)); return *this;}
77 template<typename InputSourceConfigT = InputSource>
78 CreateMatchingWorkflowRequest& AddInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value)); return *this; }
80
82
87 inline const Aws::Vector<OutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
88 inline bool OutputSourceConfigHasBeenSet() const { return m_outputSourceConfigHasBeenSet; }
89 template<typename OutputSourceConfigT = Aws::Vector<OutputSource>>
90 void SetOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig = std::forward<OutputSourceConfigT>(value); }
91 template<typename OutputSourceConfigT = Aws::Vector<OutputSource>>
92 CreateMatchingWorkflowRequest& WithOutputSourceConfig(OutputSourceConfigT&& value) { SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value)); return *this;}
93 template<typename OutputSourceConfigT = OutputSource>
94 CreateMatchingWorkflowRequest& AddOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value)); return *this; }
96
98
102 inline const ResolutionTechniques& GetResolutionTechniques() const { return m_resolutionTechniques; }
103 inline bool ResolutionTechniquesHasBeenSet() const { return m_resolutionTechniquesHasBeenSet; }
104 template<typename ResolutionTechniquesT = ResolutionTechniques>
105 void SetResolutionTechniques(ResolutionTechniquesT&& value) { m_resolutionTechniquesHasBeenSet = true; m_resolutionTechniques = std::forward<ResolutionTechniquesT>(value); }
106 template<typename ResolutionTechniquesT = ResolutionTechniques>
107 CreateMatchingWorkflowRequest& WithResolutionTechniques(ResolutionTechniquesT&& value) { SetResolutionTechniques(std::forward<ResolutionTechniquesT>(value)); return *this;}
109
111
115 inline const IncrementalRunConfig& GetIncrementalRunConfig() const { return m_incrementalRunConfig; }
116 inline bool IncrementalRunConfigHasBeenSet() const { return m_incrementalRunConfigHasBeenSet; }
117 template<typename IncrementalRunConfigT = IncrementalRunConfig>
118 void SetIncrementalRunConfig(IncrementalRunConfigT&& value) { m_incrementalRunConfigHasBeenSet = true; m_incrementalRunConfig = std::forward<IncrementalRunConfigT>(value); }
119 template<typename IncrementalRunConfigT = IncrementalRunConfig>
120 CreateMatchingWorkflowRequest& WithIncrementalRunConfig(IncrementalRunConfigT&& value) { SetIncrementalRunConfig(std::forward<IncrementalRunConfigT>(value)); return *this;}
122
124
128 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
129 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
130 template<typename RoleArnT = Aws::String>
131 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
132 template<typename RoleArnT = Aws::String>
133 CreateMatchingWorkflowRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
135
137
140 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
141 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
142 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
143 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
144 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
145 CreateMatchingWorkflowRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
146 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
147 CreateMatchingWorkflowRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
148 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
149 }
151 private:
152
153 Aws::String m_workflowName;
154 bool m_workflowNameHasBeenSet = false;
155
156 Aws::String m_description;
157 bool m_descriptionHasBeenSet = false;
158
159 Aws::Vector<InputSource> m_inputSourceConfig;
160 bool m_inputSourceConfigHasBeenSet = false;
161
162 Aws::Vector<OutputSource> m_outputSourceConfig;
163 bool m_outputSourceConfigHasBeenSet = false;
164
165 ResolutionTechniques m_resolutionTechniques;
166 bool m_resolutionTechniquesHasBeenSet = false;
167
168 IncrementalRunConfig m_incrementalRunConfig;
169 bool m_incrementalRunConfigHasBeenSet = false;
170
171 Aws::String m_roleArn;
172 bool m_roleArnHasBeenSet = false;
173
175 bool m_tagsHasBeenSet = false;
176 };
177
178} // namespace Model
179} // namespace EntityResolution
180} // 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