AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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();
36
37
39
43 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
44 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
45 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
46 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
47 inline GetMatchesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
48 inline GetMatchesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
49 inline GetMatchesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
51
53
56 inline const Aws::Utils::DateTime& GetMatchGenerationDate() const{ return m_matchGenerationDate; }
57 inline void SetMatchGenerationDate(const Aws::Utils::DateTime& value) { m_matchGenerationDate = value; }
58 inline void SetMatchGenerationDate(Aws::Utils::DateTime&& value) { m_matchGenerationDate = std::move(value); }
60 inline GetMatchesResult& WithMatchGenerationDate(Aws::Utils::DateTime&& value) { SetMatchGenerationDate(std::move(value)); return *this;}
62
64
67 inline int GetPotentialMatches() const{ return m_potentialMatches; }
68 inline void SetPotentialMatches(int value) { m_potentialMatches = value; }
69 inline GetMatchesResult& WithPotentialMatches(int value) { SetPotentialMatches(value); return *this;}
71
73
76 inline const Aws::Vector<MatchItem>& GetMatches() const{ return m_matches; }
77 inline void SetMatches(const Aws::Vector<MatchItem>& value) { m_matches = value; }
78 inline void SetMatches(Aws::Vector<MatchItem>&& value) { m_matches = std::move(value); }
79 inline GetMatchesResult& WithMatches(const Aws::Vector<MatchItem>& value) { SetMatches(value); return *this;}
80 inline GetMatchesResult& WithMatches(Aws::Vector<MatchItem>&& value) { SetMatches(std::move(value)); return *this;}
81 inline GetMatchesResult& AddMatches(const MatchItem& value) { m_matches.push_back(value); return *this; }
82 inline GetMatchesResult& AddMatches(MatchItem&& value) { m_matches.push_back(std::move(value)); return *this; }
84
86
87 inline const Aws::String& GetRequestId() const{ return m_requestId; }
88 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
89 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
90 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
91 inline GetMatchesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
92 inline GetMatchesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
93 inline GetMatchesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
95 private:
96
97 Aws::String m_nextToken;
98
99 Aws::Utils::DateTime m_matchGenerationDate;
100
101 int m_potentialMatches;
102
103 Aws::Vector<MatchItem> m_matches;
104
105 Aws::String m_requestId;
106 };
107
108} // namespace Model
109} // namespace CustomerProfiles
110} // namespace Aws
void SetMatches(const Aws::Vector< MatchItem > &value)
GetMatchesResult & WithNextToken(Aws::String &&value)
void SetMatchGenerationDate(Aws::Utils::DateTime &&value)
GetMatchesResult & AddMatches(const MatchItem &value)
void SetMatches(Aws::Vector< MatchItem > &&value)
GetMatchesResult & WithNextToken(const Aws::String &value)
GetMatchesResult & WithMatches(const Aws::Vector< MatchItem > &value)
AWS_CUSTOMERPROFILES_API GetMatchesResult()
const Aws::Vector< MatchItem > & GetMatches() const
GetMatchesResult & WithPotentialMatches(int value)
GetMatchesResult & WithMatchGenerationDate(Aws::Utils::DateTime &&value)
GetMatchesResult & WithRequestId(const Aws::String &value)
void SetMatchGenerationDate(const Aws::Utils::DateTime &value)
AWS_CUSTOMERPROFILES_API GetMatchesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMatchesResult & WithMatchGenerationDate(const Aws::Utils::DateTime &value)
GetMatchesResult & AddMatches(MatchItem &&value)
void SetRequestId(const Aws::String &value)
void SetNextToken(const Aws::String &value)
const Aws::Utils::DateTime & GetMatchGenerationDate() const
GetMatchesResult & WithMatches(Aws::Vector< MatchItem > &&value)
GetMatchesResult & WithRequestId(const char *value)
AWS_CUSTOMERPROFILES_API GetMatchesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetMatchesResult & WithNextToken(const char *value)
GetMatchesResult & WithRequestId(Aws::String &&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