AWS SDK for C++

AWS SDK for C++ Version 1.11.608

Loading...
Searching...
No Matches
GetMatchesResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/DateTime.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/customer-profiles/model/MatchItem.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 CustomerProfiles
27{
28namespace Model
29{
31 {
32 public:
33 AWS_CUSTOMERPROFILES_API GetMatchesResult() = default;
36
37
39
43 inline const Aws::String& GetNextToken() const { return m_nextToken; }
44 template<typename NextTokenT = Aws::String>
45 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
46 template<typename NextTokenT = Aws::String>
47 GetMatchesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
49
51
54 inline const Aws::Utils::DateTime& GetMatchGenerationDate() const { return m_matchGenerationDate; }
55 template<typename MatchGenerationDateT = Aws::Utils::DateTime>
56 void SetMatchGenerationDate(MatchGenerationDateT&& value) { m_matchGenerationDateHasBeenSet = true; m_matchGenerationDate = std::forward<MatchGenerationDateT>(value); }
57 template<typename MatchGenerationDateT = Aws::Utils::DateTime>
58 GetMatchesResult& WithMatchGenerationDate(MatchGenerationDateT&& value) { SetMatchGenerationDate(std::forward<MatchGenerationDateT>(value)); return *this;}
60
62
65 inline int GetPotentialMatches() const { return m_potentialMatches; }
66 inline void SetPotentialMatches(int value) { m_potentialMatchesHasBeenSet = true; m_potentialMatches = value; }
67 inline GetMatchesResult& WithPotentialMatches(int value) { SetPotentialMatches(value); return *this;}
69
71
74 inline const Aws::Vector<MatchItem>& GetMatches() const { return m_matches; }
75 template<typename MatchesT = Aws::Vector<MatchItem>>
76 void SetMatches(MatchesT&& value) { m_matchesHasBeenSet = true; m_matches = std::forward<MatchesT>(value); }
77 template<typename MatchesT = Aws::Vector<MatchItem>>
78 GetMatchesResult& WithMatches(MatchesT&& value) { SetMatches(std::forward<MatchesT>(value)); return *this;}
79 template<typename MatchesT = MatchItem>
80 GetMatchesResult& AddMatches(MatchesT&& value) { m_matchesHasBeenSet = true; m_matches.emplace_back(std::forward<MatchesT>(value)); return *this; }
82
84
85 inline const Aws::String& GetRequestId() const { return m_requestId; }
86 template<typename RequestIdT = Aws::String>
87 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
88 template<typename RequestIdT = Aws::String>
89 GetMatchesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
91 private:
92
93 Aws::String m_nextToken;
94 bool m_nextTokenHasBeenSet = false;
95
96 Aws::Utils::DateTime m_matchGenerationDate{};
97 bool m_matchGenerationDateHasBeenSet = false;
98
99 int m_potentialMatches{0};
100 bool m_potentialMatchesHasBeenSet = false;
101
102 Aws::Vector<MatchItem> m_matches;
103 bool m_matchesHasBeenSet = false;
104
105 Aws::String m_requestId;
106 bool m_requestIdHasBeenSet = false;
107 };
108
109} // namespace Model
110} // namespace CustomerProfiles
111} // namespace Aws
void SetMatchGenerationDate(MatchGenerationDateT &&value)
GetMatchesResult & AddMatches(MatchesT &&value)
const Aws::Vector< MatchItem > & GetMatches() const
GetMatchesResult & WithPotentialMatches(int value)
GetMatchesResult & WithNextToken(NextTokenT &&value)
GetMatchesResult & WithMatches(MatchesT &&value)
AWS_CUSTOMERPROFILES_API GetMatchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMatchesResult & WithMatchGenerationDate(MatchGenerationDateT &&value)
GetMatchesResult & WithRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetMatchesResult()=default
const Aws::Utils::DateTime & GetMatchGenerationDate() const
AWS_CUSTOMERPROFILES_API GetMatchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue