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>
16template<
typename RESULT_TYPE>
17class AmazonWebServiceResult;
26namespace CustomerProfiles
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>
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>
66 inline void SetPotentialMatches(
int value) { m_potentialMatchesHasBeenSet =
true; m_potentialMatches = value; }
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>>
79 template<
typename MatchesT = MatchItem>
80 GetMatchesResult&
AddMatches(MatchesT&& value) { m_matchesHasBeenSet =
true; m_matches.emplace_back(std::forward<MatchesT>(value));
return *
this; }
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>
94 bool m_nextTokenHasBeenSet =
false;
97 bool m_matchGenerationDateHasBeenSet =
false;
99 int m_potentialMatches{0};
100 bool m_potentialMatchesHasBeenSet =
false;
103 bool m_matchesHasBeenSet =
false;
106 bool m_requestIdHasBeenSet =
false;
int GetPotentialMatches() const
const Aws::String & GetRequestId() const
void SetMatchGenerationDate(MatchGenerationDateT &&value)
void SetPotentialMatches(int value)
GetMatchesResult & AddMatches(MatchesT &&value)
const Aws::Vector< MatchItem > & GetMatches() const
GetMatchesResult & WithPotentialMatches(int value)
void SetRequestId(RequestIdT &&value)
GetMatchesResult & WithNextToken(NextTokenT &&value)
GetMatchesResult & WithMatches(MatchesT &&value)
AWS_CUSTOMERPROFILES_API GetMatchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
void SetNextToken(NextTokenT &&value)
GetMatchesResult & WithMatchGenerationDate(MatchGenerationDateT &&value)
void SetMatches(MatchesT &&value)
GetMatchesResult & WithRequestId(RequestIdT &&value)
AWS_CUSTOMERPROFILES_API GetMatchesResult()=default
const Aws::Utils::DateTime & GetMatchGenerationDate() const
const Aws::String & GetNextToken() 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