AWS SDK for C++

AWS SDK for C++ Version 1.11.751

Loading...
Searching...
No Matches
GenerateMatchIdResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/entityresolution/EntityResolution_EXPORTS.h>
10#include <aws/entityresolution/model/FailedRecord.h>
11#include <aws/entityresolution/model/MatchGroup.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace EntityResolution {
25namespace Model {
27 public:
28 AWS_ENTITYRESOLUTION_API GenerateMatchIdResult() = default;
31
33
36 inline const Aws::Vector<MatchGroup>& GetMatchGroups() const { return m_matchGroups; }
37 template <typename MatchGroupsT = Aws::Vector<MatchGroup>>
38 void SetMatchGroups(MatchGroupsT&& value) {
39 m_matchGroupsHasBeenSet = true;
40 m_matchGroups = std::forward<MatchGroupsT>(value);
41 }
42 template <typename MatchGroupsT = Aws::Vector<MatchGroup>>
43 GenerateMatchIdResult& WithMatchGroups(MatchGroupsT&& value) {
44 SetMatchGroups(std::forward<MatchGroupsT>(value));
45 return *this;
46 }
47 template <typename MatchGroupsT = MatchGroup>
48 GenerateMatchIdResult& AddMatchGroups(MatchGroupsT&& value) {
49 m_matchGroupsHasBeenSet = true;
50 m_matchGroups.emplace_back(std::forward<MatchGroupsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::Vector<FailedRecord>& GetFailedRecords() const { return m_failedRecords; }
60 template <typename FailedRecordsT = Aws::Vector<FailedRecord>>
61 void SetFailedRecords(FailedRecordsT&& value) {
62 m_failedRecordsHasBeenSet = true;
63 m_failedRecords = std::forward<FailedRecordsT>(value);
64 }
65 template <typename FailedRecordsT = Aws::Vector<FailedRecord>>
66 GenerateMatchIdResult& WithFailedRecords(FailedRecordsT&& value) {
67 SetFailedRecords(std::forward<FailedRecordsT>(value));
68 return *this;
69 }
70 template <typename FailedRecordsT = FailedRecord>
71 GenerateMatchIdResult& AddFailedRecords(FailedRecordsT&& value) {
72 m_failedRecordsHasBeenSet = true;
73 m_failedRecords.emplace_back(std::forward<FailedRecordsT>(value));
74 return *this;
75 }
77
79
80 inline const Aws::String& GetRequestId() const { return m_requestId; }
81 template <typename RequestIdT = Aws::String>
82 void SetRequestId(RequestIdT&& value) {
83 m_requestIdHasBeenSet = true;
84 m_requestId = std::forward<RequestIdT>(value);
85 }
86 template <typename RequestIdT = Aws::String>
87 GenerateMatchIdResult& WithRequestId(RequestIdT&& value) {
88 SetRequestId(std::forward<RequestIdT>(value));
89 return *this;
90 }
92 private:
93 Aws::Vector<MatchGroup> m_matchGroups;
94
95 Aws::Vector<FailedRecord> m_failedRecords;
96
97 Aws::String m_requestId;
98 bool m_matchGroupsHasBeenSet = false;
99 bool m_failedRecordsHasBeenSet = false;
100 bool m_requestIdHasBeenSet = false;
101};
102
103} // namespace Model
104} // namespace EntityResolution
105} // namespace Aws
const Aws::Vector< FailedRecord > & GetFailedRecords() const
AWS_ENTITYRESOLUTION_API GenerateMatchIdResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_ENTITYRESOLUTION_API GenerateMatchIdResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::Vector< MatchGroup > & GetMatchGroups() const
GenerateMatchIdResult & AddFailedRecords(FailedRecordsT &&value)
GenerateMatchIdResult & WithFailedRecords(FailedRecordsT &&value)
GenerateMatchIdResult & WithMatchGroups(MatchGroupsT &&value)
AWS_ENTITYRESOLUTION_API GenerateMatchIdResult()=default
GenerateMatchIdResult & AddMatchGroups(MatchGroupsT &&value)
GenerateMatchIdResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue