AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/AWSMap.h>
10#include <aws/core/utils/memory/stl/AWSString.h>
11#include <utility>
12
13namespace Aws
14{
15namespace EntityResolution
16{
17namespace Model
18{
19
23 {
24 public:
25 AWS_ENTITYRESOLUTION_API GetMatchIdRequest();
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
44 inline bool GetApplyNormalization() const{ return m_applyNormalization; }
45 inline bool ApplyNormalizationHasBeenSet() const { return m_applyNormalizationHasBeenSet; }
46 inline void SetApplyNormalization(bool value) { m_applyNormalizationHasBeenSet = true; m_applyNormalization = value; }
47 inline GetMatchIdRequest& WithApplyNormalization(bool value) { SetApplyNormalization(value); return *this;}
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 inline void SetRecord(const Aws::Map<Aws::String, Aws::String>& value) { m_recordHasBeenSet = true; m_record = value; }
57 inline void SetRecord(Aws::Map<Aws::String, Aws::String>&& value) { m_recordHasBeenSet = true; m_record = std::move(value); }
58 inline GetMatchIdRequest& WithRecord(const Aws::Map<Aws::String, Aws::String>& value) { SetRecord(value); return *this;}
59 inline GetMatchIdRequest& WithRecord(Aws::Map<Aws::String, Aws::String>&& value) { SetRecord(std::move(value)); return *this;}
60 inline GetMatchIdRequest& AddRecord(const Aws::String& key, const Aws::String& value) { m_recordHasBeenSet = true; m_record.emplace(key, value); return *this; }
61 inline GetMatchIdRequest& AddRecord(Aws::String&& key, const Aws::String& value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), value); return *this; }
62 inline GetMatchIdRequest& AddRecord(const Aws::String& key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(key, std::move(value)); return *this; }
63 inline GetMatchIdRequest& AddRecord(Aws::String&& key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), std::move(value)); return *this; }
64 inline GetMatchIdRequest& AddRecord(const char* key, Aws::String&& value) { m_recordHasBeenSet = true; m_record.emplace(key, std::move(value)); return *this; }
65 inline GetMatchIdRequest& AddRecord(Aws::String&& key, const char* value) { m_recordHasBeenSet = true; m_record.emplace(std::move(key), value); return *this; }
66 inline GetMatchIdRequest& AddRecord(const char* key, const char* value) { m_recordHasBeenSet = true; m_record.emplace(key, value); return *this; }
68
70
73 inline const Aws::String& GetWorkflowName() const{ return m_workflowName; }
74 inline bool WorkflowNameHasBeenSet() const { return m_workflowNameHasBeenSet; }
75 inline void SetWorkflowName(const Aws::String& value) { m_workflowNameHasBeenSet = true; m_workflowName = value; }
76 inline void SetWorkflowName(Aws::String&& value) { m_workflowNameHasBeenSet = true; m_workflowName = std::move(value); }
77 inline void SetWorkflowName(const char* value) { m_workflowNameHasBeenSet = true; m_workflowName.assign(value); }
78 inline GetMatchIdRequest& WithWorkflowName(const Aws::String& value) { SetWorkflowName(value); return *this;}
79 inline GetMatchIdRequest& WithWorkflowName(Aws::String&& value) { SetWorkflowName(std::move(value)); return *this;}
80 inline GetMatchIdRequest& WithWorkflowName(const char* value) { SetWorkflowName(value); return *this;}
82 private:
83
84 bool m_applyNormalization;
85 bool m_applyNormalizationHasBeenSet = false;
86
88 bool m_recordHasBeenSet = false;
89
90 Aws::String m_workflowName;
91 bool m_workflowNameHasBeenSet = false;
92 };
93
94} // namespace Model
95} // namespace EntityResolution
96} // namespace Aws
GetMatchIdRequest & WithWorkflowName(const Aws::String &value)
AWS_ENTITYRESOLUTION_API Aws::String SerializePayload() const override
GetMatchIdRequest & WithRecord(Aws::Map< Aws::String, Aws::String > &&value)
const Aws::Map< Aws::String, Aws::String > & GetRecord() const
GetMatchIdRequest & AddRecord(const char *key, Aws::String &&value)
GetMatchIdRequest & AddRecord(Aws::String &&key, Aws::String &&value)
virtual const char * GetServiceRequestName() const override
GetMatchIdRequest & AddRecord(const Aws::String &key, const Aws::String &value)
GetMatchIdRequest & AddRecord(Aws::String &&key, const Aws::String &value)
GetMatchIdRequest & WithWorkflowName(const char *value)
void SetRecord(Aws::Map< Aws::String, Aws::String > &&value)
void SetRecord(const Aws::Map< Aws::String, Aws::String > &value)
GetMatchIdRequest & WithApplyNormalization(bool value)
GetMatchIdRequest & AddRecord(Aws::String &&key, const char *value)
GetMatchIdRequest & WithRecord(const Aws::Map< Aws::String, Aws::String > &value)
AWS_ENTITYRESOLUTION_API GetMatchIdRequest()
GetMatchIdRequest & AddRecord(const Aws::String &key, Aws::String &&value)
GetMatchIdRequest & WithWorkflowName(Aws::String &&value)
GetMatchIdRequest & AddRecord(const char *key, const char *value)
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