AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
StartIdMappingJobRequest.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/EntityResolutionRequest.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 {
17namespace EntityResolution {
18namespace Model {
19
23 public:
24 AWS_ENTITYRESOLUTION_API StartIdMappingJobRequest() = default;
25
26 // Service request name is the Operation name which will send this request out,
27 // each operation should has unique request name, so that we can get operation's name from this request.
28 // Note: this is not true for response, multiple operations may have the same response name,
29 // so we can not get operation's name from response.
30 inline virtual const char* GetServiceRequestName() const override { return "StartIdMappingJob"; }
31
32 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
33
35
38 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
39 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
40 template <typename WorkflowNameT = Aws::String>
41 void SetWorkflowName(WorkflowNameT&& value) {
42 m_workflowNameHasBeenSet = true;
43 m_workflowName = std::forward<WorkflowNameT>(value);
44 }
45 template <typename WorkflowNameT = Aws::String>
47 SetWorkflowName(std::forward<WorkflowNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<IdMappingJobOutputSource>& GetOutputSourceConfig() const { return m_outputSourceConfig; }
57 inline bool OutputSourceConfigHasBeenSet() const { return m_outputSourceConfigHasBeenSet; }
58 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
59 void SetOutputSourceConfig(OutputSourceConfigT&& value) {
60 m_outputSourceConfigHasBeenSet = true;
61 m_outputSourceConfig = std::forward<OutputSourceConfigT>(value);
62 }
63 template <typename OutputSourceConfigT = Aws::Vector<IdMappingJobOutputSource>>
64 StartIdMappingJobRequest& WithOutputSourceConfig(OutputSourceConfigT&& value) {
65 SetOutputSourceConfig(std::forward<OutputSourceConfigT>(value));
66 return *this;
67 }
68 template <typename OutputSourceConfigT = IdMappingJobOutputSource>
69 StartIdMappingJobRequest& AddOutputSourceConfig(OutputSourceConfigT&& value) {
70 m_outputSourceConfigHasBeenSet = true;
71 m_outputSourceConfig.emplace_back(std::forward<OutputSourceConfigT>(value));
72 return *this;
73 }
75
77
90 inline JobType GetJobType() const { return m_jobType; }
91 inline bool JobTypeHasBeenSet() const { return m_jobTypeHasBeenSet; }
92 inline void SetJobType(JobType value) {
93 m_jobTypeHasBeenSet = true;
94 m_jobType = value;
95 }
97 SetJobType(value);
98 return *this;
99 }
101 private:
102 Aws::String m_workflowName;
103
104 Aws::Vector<IdMappingJobOutputSource> m_outputSourceConfig;
105
106 JobType m_jobType{JobType::NOT_SET};
107 bool m_workflowNameHasBeenSet = false;
108 bool m_outputSourceConfigHasBeenSet = false;
109 bool m_jobTypeHasBeenSet = false;
110};
111
112} // namespace Model
113} // namespace EntityResolution
114} // namespace Aws
StartIdMappingJobRequest & AddOutputSourceConfig(OutputSourceConfigT &&value)
StartIdMappingJobRequest & WithJobType(JobType value)
StartIdMappingJobRequest & WithOutputSourceConfig(OutputSourceConfigT &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
const Aws::Vector< IdMappingJobOutputSource > & GetOutputSourceConfig() const
AWS_ENTITYRESOLUTION_API StartIdMappingJobRequest()=default
StartIdMappingJobRequest & WithWorkflowName(WorkflowNameT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector