AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
GenerateMatchIdRequest.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/ProcessingType.h>
12#include <aws/entityresolution/model/Record.h>
13
14#include <utility>
15
16namespace Aws {
17namespace EntityResolution {
18namespace Model {
19
23 public:
24 AWS_ENTITYRESOLUTION_API GenerateMatchIdRequest() = 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 "GenerateMatchId"; }
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>
46 GenerateMatchIdRequest& WithWorkflowName(WorkflowNameT&& value) {
47 SetWorkflowName(std::forward<WorkflowNameT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::Vector<Record>& GetRecords() const { return m_records; }
57 inline bool RecordsHasBeenSet() const { return m_recordsHasBeenSet; }
58 template <typename RecordsT = Aws::Vector<Record>>
59 void SetRecords(RecordsT&& value) {
60 m_recordsHasBeenSet = true;
61 m_records = std::forward<RecordsT>(value);
62 }
63 template <typename RecordsT = Aws::Vector<Record>>
65 SetRecords(std::forward<RecordsT>(value));
66 return *this;
67 }
68 template <typename RecordsT = Record>
70 m_recordsHasBeenSet = true;
71 m_records.emplace_back(std::forward<RecordsT>(value));
72 return *this;
73 }
75
77
93 inline ProcessingType GetProcessingType() const { return m_processingType; }
94 inline bool ProcessingTypeHasBeenSet() const { return m_processingTypeHasBeenSet; }
95 inline void SetProcessingType(ProcessingType value) {
96 m_processingTypeHasBeenSet = true;
97 m_processingType = value;
98 }
100 SetProcessingType(value);
101 return *this;
102 }
104 private:
105 Aws::String m_workflowName;
106
107 Aws::Vector<Record> m_records;
108
109 ProcessingType m_processingType{ProcessingType::NOT_SET};
110 bool m_workflowNameHasBeenSet = false;
111 bool m_recordsHasBeenSet = false;
112 bool m_processingTypeHasBeenSet = false;
113};
114
115} // namespace Model
116} // namespace EntityResolution
117} // namespace Aws
virtual const char * GetServiceRequestName() const override
GenerateMatchIdRequest & AddRecords(RecordsT &&value)
GenerateMatchIdRequest & WithWorkflowName(WorkflowNameT &&value)
GenerateMatchIdRequest & WithRecords(RecordsT &&value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
AWS_ENTITYRESOLUTION_API GenerateMatchIdRequest()=default
GenerateMatchIdRequest & WithProcessingType(ProcessingType value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector