AWS SDK for C++

AWS SDK for C++ Version 1.11.608

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() = default;
35
36
38
41 inline const Aws::Vector<Aws::String>& GetProfileIds() const { return m_profileIds; }
42 template<typename ProfileIdsT = Aws::Vector<Aws::String>>
43 void SetProfileIds(ProfileIdsT&& value) { m_profileIdsHasBeenSet = true; m_profileIds = std::forward<ProfileIdsT>(value); }
44 template<typename ProfileIdsT = Aws::Vector<Aws::String>>
45 GetSimilarProfilesResult& WithProfileIds(ProfileIdsT&& value) { SetProfileIds(std::forward<ProfileIdsT>(value)); return *this;}
46 template<typename ProfileIdsT = Aws::String>
47 GetSimilarProfilesResult& AddProfileIds(ProfileIdsT&& value) { m_profileIdsHasBeenSet = true; m_profileIds.emplace_back(std::forward<ProfileIdsT>(value)); return *this; }
49
51
54 inline const Aws::String& GetMatchId() const { return m_matchId; }
55 template<typename MatchIdT = Aws::String>
56 void SetMatchId(MatchIdT&& value) { m_matchIdHasBeenSet = true; m_matchId = std::forward<MatchIdT>(value); }
57 template<typename MatchIdT = Aws::String>
58 GetSimilarProfilesResult& WithMatchId(MatchIdT&& value) { SetMatchId(std::forward<MatchIdT>(value)); return *this;}
60
62
65 inline MatchType GetMatchType() const { return m_matchType; }
66 inline void SetMatchType(MatchType value) { m_matchTypeHasBeenSet = true; m_matchType = value; }
67 inline GetSimilarProfilesResult& WithMatchType(MatchType value) { SetMatchType(value); return *this;}
69
71
74 inline int GetRuleLevel() const { return m_ruleLevel; }
75 inline void SetRuleLevel(int value) { m_ruleLevelHasBeenSet = true; m_ruleLevel = value; }
76 inline GetSimilarProfilesResult& WithRuleLevel(int value) { SetRuleLevel(value); return *this;}
78
80
91 inline double GetConfidenceScore() const { return m_confidenceScore; }
92 inline void SetConfidenceScore(double value) { m_confidenceScoreHasBeenSet = true; m_confidenceScore = value; }
93 inline GetSimilarProfilesResult& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;}
95
97
101 inline const Aws::String& GetNextToken() const { return m_nextToken; }
102 template<typename NextTokenT = Aws::String>
103 void SetNextToken(NextTokenT&& value) { m_nextTokenHasBeenSet = true; m_nextToken = std::forward<NextTokenT>(value); }
104 template<typename NextTokenT = Aws::String>
105 GetSimilarProfilesResult& WithNextToken(NextTokenT&& value) { SetNextToken(std::forward<NextTokenT>(value)); return *this;}
107
109
110 inline const Aws::String& GetRequestId() const { return m_requestId; }
111 template<typename RequestIdT = Aws::String>
112 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
113 template<typename RequestIdT = Aws::String>
114 GetSimilarProfilesResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
116 private:
117
118 Aws::Vector<Aws::String> m_profileIds;
119 bool m_profileIdsHasBeenSet = false;
120
121 Aws::String m_matchId;
122 bool m_matchIdHasBeenSet = false;
123
124 MatchType m_matchType{MatchType::NOT_SET};
125 bool m_matchTypeHasBeenSet = false;
126
127 int m_ruleLevel{0};
128 bool m_ruleLevelHasBeenSet = false;
129
130 double m_confidenceScore{0.0};
131 bool m_confidenceScoreHasBeenSet = false;
132
133 Aws::String m_nextToken;
134 bool m_nextTokenHasBeenSet = false;
135
136 Aws::String m_requestId;
137 bool m_requestIdHasBeenSet = false;
138 };
139
140} // namespace Model
141} // namespace CustomerProfiles
142} // 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