AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
CreateIdMappingWorkflowRequest.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/IdMappingTechniques.h>
12#include <aws/core/utils/memory/stl/AWSMap.h>
13#include <aws/entityresolution/model/IdMappingWorkflowInputSource.h>
14#include <aws/entityresolution/model/IdMappingWorkflowOutputSource.h>
15#include <utility>
16
17namespace Aws
18{
19namespace EntityResolution
20{
21namespace Model
22{
23
27 {
28 public:
29 AWS_ENTITYRESOLUTION_API CreateIdMappingWorkflowRequest() = default;
30
31 // Service request name is the Operation name which will send this request out,
32 // each operation should has unique request name, so that we can get operation's name from this request.
33 // Note: this is not true for response, multiple operations may have the same response name,
34 // so we can not get operation's name from response.
35 inline virtual const char* GetServiceRequestName() const override { return "CreateIdMappingWorkflow"; }
36
37 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
38
39
41
45 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
46 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
47 template<typename WorkflowNameT = Aws::String>
48 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::forward<WorkflowNameT>(value); }
49 template<typename WorkflowNameT = Aws::String>
50 CreateIdMappingWorkflowRequest& WithWorkflowName(WorkflowNameT&& value) { SetWorkflowName(std::forward<WorkflowNameT>(value)); return *this;}
52
54
57 inline const Aws::String& GetDescription() const { return m_description; }
58 inline bool DescriptionHasBeenSet() const { return m_descriptionHasBeenSet; }
59 template<typename DescriptionT = Aws::String>
60 void SetDescription(DescriptionT&& value) { m_descriptionHasBeenSet = true; m_description = std::forward<DescriptionT>(value); }
61 template<typename DescriptionT = Aws::String>
62 CreateIdMappingWorkflowRequest& WithDescription(DescriptionT&& value) { SetDescription(std::forward<DescriptionT>(value)); return *this;}
64
66
70 inline const Aws::Vector<IdMappingWorkflowInputSource>& GetInputSourceConfig() const { return m_inputSourceConfig; }
71 inline bool InputSourceConfigHasBeenSet() const { return m_inputSourceConfigHasBeenSet; }
72 template<typename InputSourceConfigT = Aws::Vector<IdMappingWorkflowInputSource>>
73 void SetInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig = std::forward<InputSourceConfigT>(value); }
74 template<typename InputSourceConfigT = Aws::Vector<IdMappingWorkflowInputSource>>
75 CreateIdMappingWorkflowRequest& WithInputSourceConfig(InputSourceConfigT&& value) { SetInputSourceConfig(std::forward<InputSourceConfigT>(value)); return *this;}
76 template<typename InputSourceConfigT = IdMappingWorkflowInputSource>
77 CreateIdMappingWorkflowRequest& AddInputSourceConfig(InputSourceConfigT&& value) { m_inputSourceConfigHasBeenSet = true; m_inputSourceConfig.emplace_back(std::forward<InputSourceConfigT>(value)); return *this; }
79
81
85 inline const Aws::Vector<IdMappingWorkflowOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
86 inline bool OutputSourceConfigHasBeenSet() const { return m_outputSourceConfigHasBeenSet; }
87 template<typename OutputSourceConfigT = Aws::Vector<IdMappingWorkflowOutputSource>>
88 void SetOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig = std::forward<OutputSourceConfigT>(value); }
89 template<typename OutputSourceConfigT = Aws::Vector<IdMappingWorkflowOutputSource>>
90 CreateIdMappingWorkflowRequest& WithOutputSourceConfig(OutputSourceConfigT&& value) { SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value)); return *this;}
91 template<typename OutputSourceConfigT = IdMappingWorkflowOutputSource>
92 CreateIdMappingWorkflowRequest& AddOutputSourceConfig(OutputSourceConfigT&& value) { m_outputSourceConfigHasBeenSet = true; m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value)); return *this; }
94
96
100 inline const IdMappingTechniques& GetIdMappingTechniques() const { return m_idMappingTechniques; }
101 inline bool IdMappingTechniquesHasBeenSet() const { return m_idMappingTechniquesHasBeenSet; }
102 template<typename IdMappingTechniquesT = IdMappingTechniques>
103 void SetIdMappingTechniques(IdMappingTechniquesT&& value) { m_idMappingTechniquesHasBeenSet = true; m_idMappingTechniques = std::forward<IdMappingTechniquesT>(value); }
104 template<typename IdMappingTechniquesT = IdMappingTechniques>
105 CreateIdMappingWorkflowRequest& WithIdMappingTechniques(IdMappingTechniquesT&& value) { SetIdMappingTechniques(std::forward<IdMappingTechniquesT>(value)); return *this;}
107
109
113 inline const Aws::String& GetRoleArn() const { return m_roleArn; }
114 inline bool RoleArnHasBeenSet() const { return m_roleArnHasBeenSet; }
115 template<typename RoleArnT = Aws::String>
116 void SetRoleArn(RoleArnT&& value) { m_roleArnHasBeenSet = true; m_roleArn = std::forward<RoleArnT>(value); }
117 template<typename RoleArnT = Aws::String>
118 CreateIdMappingWorkflowRequest& WithRoleArn(RoleArnT&& value) { SetRoleArn(std::forward<RoleArnT>(value)); return *this;}
120
122
125 inline const Aws::Map<Aws::String, Aws::String>& GetTags() const { return m_tags; }
126 inline bool TagsHasBeenSet() const { return m_tagsHasBeenSet; }
127 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
128 void SetTags(TagsT&& value) { m_tagsHasBeenSet = true; m_tags = std::forward<TagsT>(value); }
129 template<typename TagsT = Aws::Map<Aws::String, Aws::String>>
130 CreateIdMappingWorkflowRequest& WithTags(TagsT&& value) { SetTags(std::forward<TagsT>(value)); return *this;}
131 template<typename TagsKeyT = Aws::String, typename TagsValueT = Aws::String>
132 CreateIdMappingWorkflowRequest& AddTags(TagsKeyT&& key, TagsValueT&& value) {
133 m_tagsHasBeenSet = true; m_tags.emplace(std::forward<TagsKeyT>(key), std::forward<TagsValueT>(value)); return *this;
134 }
136 private:
137
138 Aws::String m_workflowName;
139 bool m_workflowNameHasBeenSet = false;
140
141 Aws::String m_description;
142 bool m_descriptionHasBeenSet = false;
143
145 bool m_inputSourceConfigHasBeenSet = false;
146
148 bool m_outputSourceConfigHasBeenSet = false;
149
150 IdMappingTechniques m_idMappingTechniques;
151 bool m_idMappingTechniquesHasBeenSet = false;
152
153 Aws::String m_roleArn;
154 bool m_roleArnHasBeenSet = false;
155
157 bool m_tagsHasBeenSet = false;
158 };
159
160} // namespace Model
161} // namespace EntityResolution
162} // namespace Aws
CreateIdMappingWorkflowRequest & AddTags(TagsKeyT &&key, TagsValueT &&value)
CreateIdMappingWorkflowRequest & WithIdMappingTechniques(IdMappingTechniquesT &&value)
const Aws::Map< Aws::String, Aws::String > & GetTags() const
CreateIdMappingWorkflowRequest & AddOutputSourceConfig(OutputSourceConfigT &&value)
CreateIdMappingWorkflowRequest & WithInputSourceConfig(InputSourceConfigT &&value)
AWS_ENTITYRESOLUTION_API CreateIdMappingWorkflowRequest()=default
const Aws::Vector< IdMappingWorkflowOutputSource > & GetOutputSourceConfig() const
const Aws::Vector< IdMappingWorkflowInputSource > & GetInputSourceConfig() const
CreateIdMappingWorkflowRequest & WithRoleArn(RoleArnT &&value)
CreateIdMappingWorkflowRequest & AddInputSourceConfig(InputSourceConfigT &&value)
CreateIdMappingWorkflowRequest & WithOutputSourceConfig(OutputSourceConfigT &&value)
CreateIdMappingWorkflowRequest & WithWorkflowName(WorkflowNameT &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
CreateIdMappingWorkflowRequest & WithDescription(DescriptionT &&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