AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
MatchedRecord.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/entityresolution/EntityResolution_EXPORTS.h>
9
10#include <utility>
11
12namespace Aws {
13namespace Utils {
14namespace Json {
15class JsonValue;
16class JsonView;
17} // namespace Json
18} // namespace Utils
19namespace EntityResolution {
20namespace Model {
21
28 public:
29 AWS_ENTITYRESOLUTION_API MatchedRecord() = default;
30 AWS_ENTITYRESOLUTION_API MatchedRecord(Aws::Utils::Json::JsonView jsonValue);
31 AWS_ENTITYRESOLUTION_API MatchedRecord& operator=(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
33
35
38 inline const Aws::String& GetInputSourceARN() const { return m_inputSourceARN; }
39 inline bool InputSourceARNHasBeenSet() const { return m_inputSourceARNHasBeenSet; }
40 template <typename InputSourceARNT = Aws::String>
41 void SetInputSourceARN(InputSourceARNT&& value) {
42 m_inputSourceARNHasBeenSet = true;
43 m_inputSourceARN = std::forward<InputSourceARNT>(value);
44 }
45 template <typename InputSourceARNT = Aws::String>
46 MatchedRecord& WithInputSourceARN(InputSourceARNT&& value) {
47 SetInputSourceARN(std::forward<InputSourceARNT>(value));
48 return *this;
49 }
51
53
56 inline const Aws::String& GetRecordId() const { return m_recordId; }
57 inline bool RecordIdHasBeenSet() const { return m_recordIdHasBeenSet; }
58 template <typename RecordIdT = Aws::String>
59 void SetRecordId(RecordIdT&& value) {
60 m_recordIdHasBeenSet = true;
61 m_recordId = std::forward<RecordIdT>(value);
62 }
63 template <typename RecordIdT = Aws::String>
64 MatchedRecord& WithRecordId(RecordIdT&& value) {
65 SetRecordId(std::forward<RecordIdT>(value));
66 return *this;
67 }
69 private:
70 Aws::String m_inputSourceARN;
71
72 Aws::String m_recordId;
73 bool m_inputSourceARNHasBeenSet = false;
74 bool m_recordIdHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace EntityResolution
79} // namespace Aws
MatchedRecord & WithRecordId(RecordIdT &&value)
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetInputSourceARN() const
const Aws::String & GetRecordId() const
void SetInputSourceARN(InputSourceARNT &&value)
AWS_ENTITYRESOLUTION_API MatchedRecord()=default
AWS_ENTITYRESOLUTION_API MatchedRecord & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchedRecord & WithInputSourceARN(InputSourceARNT &&value)
AWS_ENTITYRESOLUTION_API MatchedRecord(Aws::Utils::Json::JsonView jsonValue)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue