AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GetMatchIdRequest.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/AWSMap.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EntityResolution
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ENTITYRESOLUTION_API GetMatchIdRequest() = default;
26
27 // Service request name is the Operation name which will send this request out,
28 // each operation should has unique request name, so that we can get operation's name from this request.
29 // Note: this is not true for response, multiple operations may have the same response name,
30 // so we can not get operation's name from response.
31 inline virtual const char* GetServiceRequestName() const override { return "GetMatchId"; }
32
33 AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override;
34
35
37
40 inline const Aws::String& GetWorkflowName() const { return m_workflowName; }
41 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
42 template<typename WorkflowNameT = Aws::String>
43 void SetWorkflowName(WorkflowNameT&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::forward<WorkflowNameT>(value); }
44 template<typename WorkflowNameT = Aws::String>
45 GetMatchIdRequest& WithWorkflowName(WorkflowNameT&& value) { SetWorkflowName(std::forward<WorkflowNameT>(value)); return *this;}
47
49
52 inline const Aws::Map<Aws::String, Aws::String>& GetRecord() const { return m_record; }
53 inline bool RecordHasBeenSet() const { return m_recordHasBeenSet; }
54 template<typename RecordT = Aws::Map<Aws::String, Aws::String>>
55 void SetRecord(RecordT&& value) { m_recordHasBeenSet = true; m_record = std::forward<RecordT>(value); }
56 template<typename RecordT = Aws::Map<Aws::String, Aws::String>>
57 GetMatchIdRequest& WithRecord(RecordT&& value) { SetRecord(std::forward<RecordT>(value)); return *this;}
58 template<typename RecordKeyT = Aws::String, typename RecordValueT = Aws::String>
59 GetMatchIdRequest& AddRecord(RecordKeyT&& key, RecordValueT&& value) {
60 m_recordHasBeenSet = true; m_record.emplace(std::forward<RecordKeyT>(key), std::forward<RecordValueT>(value)); return *this;
61 }
63
65
72 inline bool GetApplyNormalization() const { return m_applyNormalization; }
73 inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; }
74 inline void SetApplyNormalization(bool value) { m_applyNormalizationHasBeenSet = true; m_applyNormalization = value; }
75 inline GetMatchIdRequest& WithApplyNormalization(bool value) { SetApplyNormalization(value); return *this;}
77 private:
78
79 Aws::String m_workflowName;
80 bool m_workflowNameHasBeenSet = false;
81
83 bool m_recordHasBeenSet = false;
84
85 bool m_applyNormalization{false};
86 bool m_applyNormalizationHasBeenSet = false;
87 };
88
89} // namespace Model
90} // namespace EntityResolution
91} // 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