AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
UserMatch.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/rekognition/model/MatchedUser.h>
9#include <utility>
10
11namespace Aws
12{
13namespace Utils
14{
15namespace Json
16{
17 class JsonValue;
18 class JsonView;
19} // namespace Json
20} // namespace Utils
21namespace Rekognition
22{
23namespace Model
24{
25
33 {
34 public:
35 AWS_REKOGNITION_API UserMatch();
36 AWS_REKOGNITION_API UserMatch(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API UserMatch& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline double GetSimilarity() const{ return m_similarity; }
46 inline bool SimilarityHasBeenSet() const { return m_similarityHasBeenSet; }
47 inline void SetSimilarity(double value) { m_similarityHasBeenSet = true; m_similarity = value; }
48 inline UserMatch& WithSimilarity(double value) { SetSimilarity(value); return *this;}
50
52
55 inline const MatchedUser& GetUser() const{ return m_user; }
56 inline bool UserHasBeenSet() const { return m_userHasBeenSet; }
57 inline void SetUser(const MatchedUser& value) { m_userHasBeenSet = true; m_user = value; }
58 inline void SetUser(MatchedUser&& value) { m_userHasBeenSet = true; m_user = std::move(value); }
59 inline UserMatch& WithUser(const MatchedUser& value) { SetUser(value); return *this;}
60 inline UserMatch& WithUser(MatchedUser&& value) { SetUser(std::move(value)); return *this;}
62 private:
63
64 double m_similarity;
65 bool m_similarityHasBeenSet = false;
66
67 MatchedUser m_user;
68 bool m_userHasBeenSet = false;
69 };
70
71} // namespace Model
72} // namespace Rekognition
73} // namespace Aws
void SetUser(MatchedUser &&value)
Definition UserMatch.h:58
UserMatch & WithSimilarity(double value)
Definition UserMatch.h:48
UserMatch & WithUser(MatchedUser &&value)
Definition UserMatch.h:60
AWS_REKOGNITION_API UserMatch()
AWS_REKOGNITION_API UserMatch & operator=(Aws::Utils::Json::JsonView jsonValue)
UserMatch & WithUser(const MatchedUser &value)
Definition UserMatch.h:59
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
const MatchedUser & GetUser() const
Definition UserMatch.h:55
AWS_REKOGNITION_API UserMatch(Aws::Utils::Json::JsonView jsonValue)
void SetSimilarity(double value)
Definition UserMatch.h:47
void SetUser(const MatchedUser &value)
Definition UserMatch.h:57
Aws::Utils::Json::JsonValue JsonValue