AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
GenerateMatchIdRequest.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/ProcessingType.h>
12#include <aws/entityresolution/model/Record.h>
13#include <utility>
14
15namespace Aws
16{
17namespace EntityResolution
18{
19namespace Model
20{
21
25 {
26 public:
27 AWS_ENTITYRESOLUTION_API GenerateMatchIdRequest() = 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 "GenerateMatchId"; }
34
35 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
36
37
39
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) { m_workflowNameHasBeenSet = true; m_workflowName = std::forward<WorkflowNameT>(value); }
46 template<typename WorkflowNameT = Aws::String>
47 GenerateMatchIdRequest& WithWorkflowName(WorkflowNameT&& value) { SetWorkflowName(std::forward<WorkflowNameT>(value)); return *this;}
49
51
54 inline const Aws::Vector<Record>& GetRecords() const { return m_records; }
55 inline bool RecordsHasBeenSet() const { return m_recordsHasBeenSet; }
56 template<typename RecordsT = Aws::Vector<Record>>
57 void SetRecords(RecordsT&& value) { m_recordsHasBeenSet = true; m_records = std::forward<RecordsT>(value); }
58 template<typename RecordsT = Aws::Vector<Record>>
59 GenerateMatchIdRequest& WithRecords(RecordsT&& value) { SetRecords(std::forward<RecordsT>(value)); return *this;}
60 template<typename RecordsT = Record>
61 GenerateMatchIdRequest& AddRecords(RecordsT&& value) { m_recordsHasBeenSet = true; m_records.emplace_back(std::forward<RecordsT>(value)); return *this; }
63
65
81 inline ProcessingType GetProcessingType() const { return m_processingType; }
82 inline bool ProcessingTypeHasBeenSet() const { return m_processingTypeHasBeenSet; }
83 inline void SetProcessingType(ProcessingType value) { m_processingTypeHasBeenSet = true; m_processingType = value; }
86 private:
87
88 Aws::String m_workflowName;
89 bool m_workflowNameHasBeenSet = false;
90
91 Aws::Vector<Record> m_records;
92 bool m_recordsHasBeenSet = false;
93
95 bool m_processingTypeHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace EntityResolution
100} // 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