AWS SDK for C++

AWS SDK for C++ Version 1.11.752

Loading...
Searching...
No Matches
Record.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/EntityResolution_EXPORTS.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace EntityResolution {
21namespace Model {
22
28class Record {
29 public:
30 AWS_ENTITYRESOLUTION_API Record() = default;
31 AWS_ENTITYRESOLUTION_API Record(Aws::Utils::Json::JsonView jsonValue);
32 AWS_ENTITYRESOLUTION_API Record& operator=(Aws::Utils::Json::JsonView jsonValue);
33 AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const;
34
36
39 inline const Aws::String& GetInputSourceARN() const { return m_inputSourceARN; }
40 inline bool InputSourceARNHasBeenSet() const { return m_inputSourceARNHasBeenSet; }
41 template <typename InputSourceARNT = Aws::String>
42 void SetInputSourceARN(InputSourceARNT&& value) {
43 m_inputSourceARNHasBeenSet = true;
44 m_inputSourceARN = std::forward<InputSourceARNT>(value);
45 }
46 template <typename InputSourceARNT = Aws::String>
47 Record& WithInputSourceARN(InputSourceARNT&& value) {
48 SetInputSourceARN(std::forward<InputSourceARNT>(value));
49 return *this;
50 }
52
54
57 inline const Aws::String& GetUniqueId() const { return m_uniqueId; }
58 inline bool UniqueIdHasBeenSet() const { return m_uniqueIdHasBeenSet; }
59 template <typename UniqueIdT = Aws::String>
60 void SetUniqueId(UniqueIdT&& value) {
61 m_uniqueIdHasBeenSet = true;
62 m_uniqueId = std::forward<UniqueIdT>(value);
63 }
64 template <typename UniqueIdT = Aws::String>
65 Record& WithUniqueId(UniqueIdT&& value) {
66 SetUniqueId(std::forward<UniqueIdT>(value));
67 return *this;
68 }
70
72
75 inline const Aws::Map<Aws::String, Aws::String>& GetRecordAttributeMap() const { return m_recordAttributeMap; }
76 inline bool RecordAttributeMapHasBeenSet() const { return m_recordAttributeMapHasBeenSet; }
77 template <typename RecordAttributeMapT = Aws::Map<Aws::String, Aws::String>>
78 void SetRecordAttributeMap(RecordAttributeMapT&& value) {
79 m_recordAttributeMapHasBeenSet = true;
80 m_recordAttributeMap = std::forward<RecordAttributeMapT>(value);
81 }
82 template <typename RecordAttributeMapT = Aws::Map<Aws::String, Aws::String>>
83 Record& WithRecordAttributeMap(RecordAttributeMapT&& value) {
84 SetRecordAttributeMap(std::forward<RecordAttributeMapT>(value));
85 return *this;
86 }
87 template <typename RecordAttributeMapKeyT = Aws::String, typename RecordAttributeMapValueT = Aws::String>
88 Record& AddRecordAttributeMap(RecordAttributeMapKeyT&& key, RecordAttributeMapValueT&& value) {
89 m_recordAttributeMapHasBeenSet = true;
90 m_recordAttributeMap.emplace(std::forward<RecordAttributeMapKeyT>(key), std::forward<RecordAttributeMapValueT>(value));
91 return *this;
92 }
94 private:
95 Aws::String m_inputSourceARN;
96
97 Aws::String m_uniqueId;
98
99 Aws::Map<Aws::String, Aws::String> m_recordAttributeMap;
100 bool m_inputSourceARNHasBeenSet = false;
101 bool m_uniqueIdHasBeenSet = false;
102 bool m_recordAttributeMapHasBeenSet = false;
103};
104
105} // namespace Model
106} // namespace EntityResolution
107} // namespace Aws
Record & WithUniqueId(UniqueIdT &&value)
Definition Record.h:65
AWS_ENTITYRESOLUTION_API Record & operator=(Aws::Utils::Json::JsonView jsonValue)
bool RecordAttributeMapHasBeenSet() const
Definition Record.h:76
const Aws::String & GetInputSourceARN() const
Definition Record.h:39
void SetInputSourceARN(InputSourceARNT &&value)
Definition Record.h:42
AWS_ENTITYRESOLUTION_API Record(Aws::Utils::Json::JsonView jsonValue)
const Aws::Map< Aws::String, Aws::String > & GetRecordAttributeMap() const
Definition Record.h:75
AWS_ENTITYRESOLUTION_API Record()=default
AWS_ENTITYRESOLUTION_API Aws::Utils::Json::JsonValue Jsonize() const
const Aws::String & GetUniqueId() const
Definition Record.h:57
Record & AddRecordAttributeMap(RecordAttributeMapKeyT &&key, RecordAttributeMapValueT &&value)
Definition Record.h:88
void SetRecordAttributeMap(RecordAttributeMapT &&value)
Definition Record.h:78
Record & WithRecordAttributeMap(RecordAttributeMapT &&value)
Definition Record.h:83
void SetUniqueId(UniqueIdT &&value)
Definition Record.h:60
Record & WithInputSourceARN(InputSourceARNT &&value)
Definition Record.h:47
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
Aws::Utils::Json::JsonValue JsonValue