AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchItem.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/memory/stl/AWSVector.h>
10#include <utility>
11
12namespace Aws
13{
14namespace Utils
15{
16namespace Json
17{
18 class JsonValue;
19 class JsonView;
20} // namespace Json
21} // namespace Utils
22namespace CustomerProfiles
23{
24namespace Model
25{
26
33 {
34 public:
35 AWS_CUSTOMERPROFILES_API MatchItem();
36 AWS_CUSTOMERPROFILES_API MatchItem(Aws::Utils::Json::JsonView jsonValue);
37 AWS_CUSTOMERPROFILES_API MatchItem& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetMatchId() const{ return m_matchId; }
46 inline bool MatchIdHasBeenSet() const { return m_matchIdHasBeenSet; }
47 inline void SetMatchId(const Aws::String& value) { m_matchIdHasBeenSet = true; m_matchId = value; }
48 inline void SetMatchId(Aws::String&& value) { m_matchIdHasBeenSet = true; m_matchId = std::move(value); }
49 inline void SetMatchId(const char* value) { m_matchIdHasBeenSet = true; m_matchId.assign(value); }
50 inline MatchItem& WithMatchId(const Aws::String& value) { SetMatchId(value); return *this;}
51 inline MatchItem& WithMatchId(Aws::String&& value) { SetMatchId(std::move(value)); return *this;}
52 inline MatchItem& WithMatchId(const char* value) { SetMatchId(value); return *this;}
54
56
59 inline const Aws::Vector<Aws::String>& GetProfileIds() const{ return m_profileIds; }
60 inline bool ProfileIdsHasBeenSet() const { return m_profileIdsHasBeenSet; }
61 inline void SetProfileIds(const Aws::Vector<Aws::String>& value) { m_profileIdsHasBeenSet = true; m_profileIds = value; }
62 inline void SetProfileIds(Aws::Vector<Aws::String>&& value) { m_profileIdsHasBeenSet = true; m_profileIds = std::move(value); }
63 inline MatchItem& WithProfileIds(const Aws::Vector<Aws::String>& value) { SetProfileIds(value); return *this;}
64 inline MatchItem& WithProfileIds(Aws::Vector<Aws::String>&& value) { SetProfileIds(std::move(value)); return *this;}
65 inline MatchItem& AddProfileIds(const Aws::String& value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(value); return *this; }
66 inline MatchItem& AddProfileIds(Aws::String&& value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(std::move(value)); return *this; }
67 inline MatchItem& AddProfileIds(const char* value) { m_profileIdsHasBeenSet = true; m_profileIds.push_back(value); return *this; }
69
71
81 inline double GetConfidenceScore() const{ return m_confidenceScore; }
82 inline bool ConfidenceScoreHasBeenSet() const { return m_confidenceScoreHasBeenSet; }
83 inline void SetConfidenceScore(double value) { m_confidenceScoreHasBeenSet = true; m_confidenceScore = value; }
84 inline MatchItem& WithConfidenceScore(double value) { SetConfidenceScore(value); return *this;}
86 private:
87
88 Aws::String m_matchId;
89 bool m_matchIdHasBeenSet = false;
90
91 Aws::Vector<Aws::String> m_profileIds;
92 bool m_profileIdsHasBeenSet = false;
93
94 double m_confidenceScore;
95 bool m_confidenceScoreHasBeenSet = false;
96 };
97
98} // namespace Model
99} // namespace CustomerProfiles
100} // namespace Aws
MatchItem & AddProfileIds(const Aws::String &value)
Definition MatchItem.h:65
void SetProfileIds(Aws::Vector< Aws::String > &&value)
Definition MatchItem.h:62
MatchItem & WithConfidenceScore(double value)
Definition MatchItem.h:84
MatchItem & AddProfileIds(Aws::String &&value)
Definition MatchItem.h:66
void SetMatchId(const Aws::String &value)
Definition MatchItem.h:47
AWS_CUSTOMERPROFILES_API MatchItem(Aws::Utils::Json::JsonView jsonValue)
MatchItem & WithMatchId(const char *value)
Definition MatchItem.h:52
void SetMatchId(Aws::String &&value)
Definition MatchItem.h:48
MatchItem & WithProfileIds(const Aws::Vector< Aws::String > &value)
Definition MatchItem.h:63
MatchItem & AddProfileIds(const char *value)
Definition MatchItem.h:67
const Aws::String & GetMatchId() const
Definition MatchItem.h:45
AWS_CUSTOMERPROFILES_API MatchItem()
void SetMatchId(const char *value)
Definition MatchItem.h:49
AWS_CUSTOMERPROFILES_API MatchItem & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchItem & WithMatchId(const Aws::String &value)
Definition MatchItem.h:50
void SetProfileIds(const Aws::Vector< Aws::String > &value)
Definition MatchItem.h:61
MatchItem & WithProfileIds(Aws::Vector< Aws::String > &&value)
Definition MatchItem.h:64
const Aws::Vector< Aws::String > & GetProfileIds() const
Definition MatchItem.h:59
AWS_CUSTOMERPROFILES_API Aws::Utils::Json::JsonValue Jsonize() const
MatchItem & WithMatchId(Aws::String &&value)
Definition MatchItem.h:51
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Json::JsonValue JsonValue