AWS SDK for C++

AWS SDK for C++ Version 1.11.612

Loading...
Searching...
No Matches
GenerateMatchIdResult.h
1
6#pragma once
7#include <aws/entityresolution/EntityResolution_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/entityresolution/model/MatchGroup.h>
11#include <aws/entityresolution/model/FailedRecord.h>
12#include <utility>
13
14namespace Aws
15{
16template<typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils
20{
21namespace Json
22{
23 class JsonValue;
24} // namespace Json
25} // namespace Utils
26namespace EntityResolution
27{
28namespace Model
29{
31 {
32 public:
33 AWS_ENTITYRESOLUTION_API GenerateMatchIdResult() = default;
36
37
39
42 inline const Aws::Vector<MatchGroup>& GetMatchGroups() const { return m_matchGroups; }
43 template<typename MatchGroupsT = Aws::Vector<MatchGroup>>
44 void SetMatchGroups(MatchGroupsT&& value) { m_matchGroupsHasBeenSet = true; m_matchGroups = std::forward<MatchGroupsT>(value); }
45 template<typename MatchGroupsT = Aws::Vector<MatchGroup>>
46 GenerateMatchIdResult& WithMatchGroups(MatchGroupsT&& value) { SetMatchGroups(std::forward<MatchGroupsT>(value)); return *this;}
47 template<typename MatchGroupsT = MatchGroup>
48 GenerateMatchIdResult& AddMatchGroups(MatchGroupsT&& value) { m_matchGroupsHasBeenSet = true; m_matchGroups.emplace_back(std::forward<MatchGroupsT>(value)); return *this; }
50
52
55 inline const Aws::Vector<FailedRecord>& GetFailedRecords() const { return m_failedRecords; }
56 template<typename FailedRecordsT = Aws::Vector<FailedRecord>>
57 void SetFailedRecords(FailedRecordsT&& value) { m_failedRecordsHasBeenSet = true; m_failedRecords = std::forward<FailedRecordsT>(value); }
58 template<typename FailedRecordsT = Aws::Vector<FailedRecord>>
59 GenerateMatchIdResult& WithFailedRecords(FailedRecordsT&& value) { SetFailedRecords(std::forward<FailedRecordsT>(value)); return *this;}
60 template<typename FailedRecordsT = FailedRecord>
61 GenerateMatchIdResult& AddFailedRecords(FailedRecordsT&& value) { m_failedRecordsHasBeenSet = true; m_failedRecords.emplace_back(std::forward<FailedRecordsT>(value)); return *this; }
63
65
66 inline const Aws::String& GetRequestId() const { return m_requestId; }
67 template<typename RequestIdT = Aws::String>
68 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
69 template<typename RequestIdT = Aws::String>
70 GenerateMatchIdResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
72 private:
73
74 Aws::Vector<MatchGroup> m_matchGroups;
75 bool m_matchGroupsHasBeenSet = false;
76
77 Aws::Vector<FailedRecord> m_failedRecords;
78 bool m_failedRecordsHasBeenSet = false;
79
80 Aws::String m_requestId;
81 bool m_requestIdHasBeenSet = false;
82 };
83
84} // namespace Model
85} // namespace EntityResolution
86} // 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