AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetSimilarProfilesResult.h
1
6#pragma once
7#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/customer-profiles/model/MatchType.h>
11#include <utility>
12
13namespace Aws
14{
15template<typename RESULT_TYPE>
16class AmazonWebServiceResult;
17
18namespace Utils
19{
20namespace Json
21{
22 class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace CustomerProfiles
26{
27namespace Model
28{
30 {
31 public:
32 AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult();
35
36
38
41 inline const Aws::Vector<Aws::String>& GetProfileIds() const{ return m_profileIds; }
42 inline void SetProfileIds(const Aws::Vector<Aws::String>& value) { m_profileIds = value; }
43 inline void SetProfileIds(Aws::Vector<Aws::String>&& value) { m_profileIds = std::move(value); }
45 inline GetSimilarProfilesResult& WithProfileIds(Aws::Vector<Aws::String>&& value) { SetProfileIds(std::move(value)); return *this;}
46 inline GetSimilarProfilesResult& AddProfileIds(const Aws::String& value) { m_profileIds.push_back(value); return *this; }
47 inline GetSimilarProfilesResult& AddProfileIds(Aws::String&& value) { m_profileIds.push_back(std::move(value)); return *this; }
48 inline GetSimilarProfilesResult& AddProfileIds(const char* value) { m_profileIds.push_back(value); return *this; }
50
52
55 inline const Aws::String& GetMatchId() const{ return m_matchId; }
56 inline void SetMatchId(const Aws::String& value) { m_matchId = value; }
57 inline void SetMatchId(Aws::String&& value) { m_matchId = std::move(value); }
58 inline void SetMatchId(const char* value) { m_matchId.assign(value); }
59 inline GetSimilarProfilesResult& WithMatchId(const Aws::String& value) { SetMatchId(value); return *this;}
60 inline GetSimilarProfilesResult& WithMatchId(Aws::String&& value) { SetMatchId(std::move(value)); return *this;}
61 inline GetSimilarProfilesResult& WithMatchId(const char* value) { SetMatchId(value); return *this;}
63
65
68 inline const MatchType& GetMatchType() const{ return m_matchType; }
69 inline void SetMatchType(const MatchType& value) { m_matchType = value; }
70 inline void SetMatchType(MatchType&& value) { m_matchType = std::move(value); }
71 inline GetSimilarProfilesResult& WithMatchType(const MatchType& value) { SetMatchType(value); return *this;}
72 inline GetSimilarProfilesResult& WithMatchType(MatchType&& value) { SetMatchType(std::move(value)); return *this;}
74
76
79 inline int GetRuleLevel() const{ return m_ruleLevel; }
80 inline void SetRuleLevel(int value) { m_ruleLevel = value; }
81 inline GetSimilarProfilesResult& WithRuleLevel(int value) { SetRuleLevel(value); return *this;}
83
85
96 inline double GetConfidenceScore() const{ return m_confidenceScore; }
97 inline void SetConfidenceScore(double value) { m_confidenceScore = value; }
98 inline GetSimilarProfilesResult& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;}
100
102
106 inline const Aws::String& GetNextToken() const{ return m_nextToken; }
107 inline void SetNextToken(const Aws::String& value) { m_nextToken = value; }
108 inline void SetNextToken(Aws::String&& value) { m_nextToken = std::move(value); }
109 inline void SetNextToken(const char* value) { m_nextToken.assign(value); }
110 inline GetSimilarProfilesResult& WithNextToken(const Aws::String& value) { SetNextToken(value); return *this;}
111 inline GetSimilarProfilesResult& WithNextToken(Aws::String&& value) { SetNextToken(std::move(value)); return *this;}
112 inline GetSimilarProfilesResult& WithNextToken(const char* value) { SetNextToken(value); return *this;}
114
116
117 inline const Aws::String& GetRequestId() const{ return m_requestId; }
118 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
119 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
120 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
121 inline GetSimilarProfilesResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
122 inline GetSimilarProfilesResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
123 inline GetSimilarProfilesResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
125 private:
126
127 Aws::Vector<Aws::String> m_profileIds;
128
129 Aws::String m_matchId;
130
131 MatchType m_matchType;
132
133 int m_ruleLevel;
134
135 double m_confidenceScore;
136
137 Aws::String m_nextToken;
138
139 Aws::String m_requestId;
140 };
141
142} // namespace Model
143} // namespace CustomerProfiles
144} // namespace Aws
const Aws::Vector< Aws::String > & GetProfileIds() const
GetSimilarProfilesResult & AddProfileIds(const Aws::String &value)
GetSimilarProfilesResult & WithNextToken(const char *value)
GetSimilarProfilesResult & WithRequestId(Aws::String &&value)
GetSimilarProfilesResult & AddProfileIds(const char *value)
GetSimilarProfilesResult & WithConfidenceScore(double value)
void SetProfileIds(const Aws::Vector< Aws::String > &value)
GetSimilarProfilesResult & WithProfileIds(Aws::Vector< Aws::String > &&value)
GetSimilarProfilesResult & WithMatchId(Aws::String &&value)
GetSimilarProfilesResult & WithNextToken(const Aws::String &value)
AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSimilarProfilesResult & WithProfileIds(const Aws::Vector< Aws::String > &value)
GetSimilarProfilesResult & WithRequestId(const char *value)
GetSimilarProfilesResult & WithRequestId(const Aws::String &value)
AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSimilarProfilesResult & WithNextToken(Aws::String &&value)
GetSimilarProfilesResult & WithMatchId(const Aws::String &value)
GetSimilarProfilesResult & AddProfileIds(Aws::String &&value)
GetSimilarProfilesResult & WithMatchType(MatchType &&value)
GetSimilarProfilesResult & WithMatchId(const char *value)
GetSimilarProfilesResult & WithMatchType(const MatchType &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