AWS SDK for C++

AWS SDK for C++ Version 1.11.763

Loading...
Searching...
No Matches
GetSimilarProfilesResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/customer-profiles/CustomerProfiles_EXPORTS.h>
11#include <aws/customer-profiles/model/MatchType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CustomerProfiles {
25namespace Model {
27 public:
28 AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult() = default;
31
33
36 inline const Aws::Vector<Aws::String>& GetProfileIds() const { return m_profileIds; }
37 template <typename ProfileIdsT = Aws::Vector<Aws::String>>
38 void SetProfileIds(ProfileIdsT&& value) {
39 m_profileIdsHasBeenSet = true;
40 m_profileIds = std::forward<ProfileIdsT>(value);
41 }
42 template <typename ProfileIdsT = Aws::Vector<Aws::String>>
44 SetProfileIds(std::forward<ProfileIdsT>(value));
45 return *this;
46 }
47 template <typename ProfileIdsT = Aws::String>
49 m_profileIdsHasBeenSet = true;
50 m_profileIds.emplace_back(std::forward<ProfileIdsT>(value));
51 return *this;
52 }
54
56
59 inline const Aws::String& GetMatchId() const { return m_matchId; }
60 template <typename MatchIdT = Aws::String>
61 void SetMatchId(MatchIdT&& value) {
62 m_matchIdHasBeenSet = true;
63 m_matchId = std::forward<MatchIdT>(value);
64 }
65 template <typename MatchIdT = Aws::String>
67 SetMatchId(std::forward<MatchIdT>(value));
68 return *this;
69 }
71
73
76 inline MatchType GetMatchType() const { return m_matchType; }
77 inline void SetMatchType(MatchType value) {
78 m_matchTypeHasBeenSet = true;
79 m_matchType = value;
80 }
82 SetMatchType(value);
83 return *this;
84 }
86
88
91 inline int GetRuleLevel() const { return m_ruleLevel; }
92 inline void SetRuleLevel(int value) {
93 m_ruleLevelHasBeenSet = true;
94 m_ruleLevel = value;
95 }
97 SetRuleLevel(value);
98 return *this;
99 }
101
103
114 inline double GetConfidenceScore() const { return m_confidenceScore; }
115 inline void SetConfidenceScore(double value) {
116 m_confidenceScoreHasBeenSet = true;
117 m_confidenceScore = value;
118 }
120 SetConfidenceScore(value);
121 return *this;
122 }
124
126
130 inline const Aws::String& GetNextToken() const { return m_nextToken; }
131 template <typename NextTokenT = Aws::String>
132 void SetNextToken(NextTokenT&& value) {
133 m_nextTokenHasBeenSet = true;
134 m_nextToken = std::forward<NextTokenT>(value);
135 }
136 template <typename NextTokenT = Aws::String>
138 SetNextToken(std::forward<NextTokenT>(value));
139 return *this;
140 }
142
144
145 inline const Aws::String& GetRequestId() const { return m_requestId; }
146 template <typename RequestIdT = Aws::String>
147 void SetRequestId(RequestIdT&& value) {
148 m_requestIdHasBeenSet = true;
149 m_requestId = std::forward<RequestIdT>(value);
150 }
151 template <typename RequestIdT = Aws::String>
153 SetRequestId(std::forward<RequestIdT>(value));
154 return *this;
155 }
157 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
158
159 private:
160 Aws::Vector<Aws::String> m_profileIds;
161
162 Aws::String m_matchId;
163
164 MatchType m_matchType{MatchType::NOT_SET};
165
166 int m_ruleLevel{0};
167
168 double m_confidenceScore{0.0};
169
170 Aws::String m_nextToken;
171
172 Aws::String m_requestId;
173 Aws::Http::HttpResponseCode m_HttpResponseCode;
174 bool m_profileIdsHasBeenSet = false;
175 bool m_matchIdHasBeenSet = false;
176 bool m_matchTypeHasBeenSet = false;
177 bool m_ruleLevelHasBeenSet = false;
178 bool m_confidenceScoreHasBeenSet = false;
179 bool m_nextTokenHasBeenSet = false;
180 bool m_requestIdHasBeenSet = false;
181};
182
183} // namespace Model
184} // namespace CustomerProfiles
185} // namespace Aws
const Aws::Vector< Aws::String > & GetProfileIds() const
GetSimilarProfilesResult & WithConfidenceScore(double value)
GetSimilarProfilesResult & WithNextToken(NextTokenT &&value)
GetSimilarProfilesResult & AddProfileIds(ProfileIdsT &&value)
AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSimilarProfilesResult & WithMatchId(MatchIdT &&value)
GetSimilarProfilesResult & WithProfileIds(ProfileIdsT &&value)
AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetSimilarProfilesResult & WithMatchType(MatchType value)
AWS_CUSTOMERPROFILES_API GetSimilarProfilesResult()=default
GetSimilarProfilesResult & 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