AWS SDK for C++

AWS SDK for C++ Version 1.11.754

Loading...
Searching...
No Matches
GetMatchIdRequest.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSMap.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/entityresolution/EntityResolutionRequest.h>
10#include <aws/entityresolution/EntityResolution_EXPORTS.h>
11
12#include <utility>
13
14namespace Aws {
15namespace EntityResolution {
16namespace Model {
17
21 public:
22 AWS_ENTITYRESOLUTION_API GetMatchIdRequest() = default;
23
24 // Service request name is the Operation name which will send this request out,
25 // each operation should has unique request name, so that we can get operation's name from this request.
26 // Note: this is not true for response, multiple operations may have the same response name,
27 // so we can not get operation's name from response.
28 inline virtual const char* GetServiceRequestName() const override { return "GetMatchId"; }
29
30 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
31
33
36 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
37 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
38 template <typename WorkflowNameT = Aws::String>
39 void SetWorkflowName(WorkflowNameT&& value) {
40 m_workflowNameHasBeenSet = true;
41 m_workflowName = std::forward<WorkflowNameT>(value);
42 }
43 template <typename WorkflowNameT = Aws::String>
44 GetMatchIdRequest& WithWorkflowName(WorkflowNameT&& value) {
45 SetWorkflowName(std::forward<WorkflowNameT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::Map<Aws::String, Aws::String>& GetRecord() const { return m_record; }
55 inline bool RecordHasBeenSet() const { return m_recordHasBeenSet; }
56 template <typename RecordT = Aws::Map<Aws::String, Aws::String>>
57 void SetRecord(RecordT&& value) {
58 m_recordHasBeenSet = true;
59 m_record = std::forward<RecordT>(value);
60 }
61 template <typename RecordT = Aws::Map<Aws::String, Aws::String>>
62 GetMatchIdRequest& WithRecord(RecordT&& value) {
63 SetRecord(std::forward<RecordT>(value));
64 return *this;
65 }
66 template <typename RecordKeyT = Aws::String, typename RecordValueT = Aws::String>
67 GetMatchIdRequest& AddRecord(RecordKeyT&& key, RecordValueT&& value) {
68 m_recordHasBeenSet = true;
69 m_record.emplace(std::forward<RecordKeyT>(key), std::forward<RecordValueT>(value));
70 return *this;
71 }
73
75
82 inline bool GetApplyNormalization() const { return m_applyNormalization; }
83 inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; }
84 inline void SetApplyNormalization(bool value) {
85 m_applyNormalizationHasBeenSet = true;
86 m_applyNormalization = value;
87 }
90 return *this;
91 }
93 private:
94 Aws::String m_workflowName;
95
97
98 bool m_applyNormalization{false};
99 bool m_workflowNameHasBeenSet = false;
100 bool m_recordHasBeenSet = false;
101 bool m_applyNormalizationHasBeenSet = false;
102};
103
104} // namespace Model
105} // namespace EntityResolution
106} // namespace Aws
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
const Aws::Map< Aws::String, Aws::String > & GetRecord() const
GetMatchIdRequest & WithRecord(RecordT &&value)
GetMatchIdRequest & AddRecord(RecordKeyT &&key, RecordValueT &&value)
GetMatchIdRequest & WithWorkflowName(WorkflowNameT &&value)
virtual const char * GetServiceRequestName() const override
GetMatchIdRequest & WithApplyNormalization(bool value)
AWS_ENTITYRESOLUTION_API GetMatchIdRequest()=default
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