AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MatchedUser.h
1
6#pragma once
7#include <aws/rekognition/Rekognition_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/rekognition/model/UserStatus.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 Rekognition
23{
24namespace Model
25{
26
34 {
35 public:
36 AWS_REKOGNITION_API MatchedUser();
37 AWS_REKOGNITION_API MatchedUser(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API MatchedUser& operator=(Aws::Utils::Json::JsonView jsonValue);
39 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
40
41
43
46 inline const Aws::String& GetUserId() const{ return m_userId; }
47 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
48 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
49 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
50 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
51 inline MatchedUser& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
52 inline MatchedUser& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
53 inline MatchedUser& WithUserId(const char* value) { SetUserId(value); return *this;}
55
57
60 inline const UserStatus& GetUserStatus() const{ return m_userStatus; }
61 inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; }
62 inline void SetUserStatus(const UserStatus& value) { m_userStatusHasBeenSet = true; m_userStatus = value; }
63 inline void SetUserStatus(UserStatus&& value) { m_userStatusHasBeenSet = true; m_userStatus = std::move(value); }
64 inline MatchedUser& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;}
65 inline MatchedUser& WithUserStatus(UserStatus&& value) { SetUserStatus(std::move(value)); return *this;}
67 private:
68
69 Aws::String m_userId;
70 bool m_userIdHasBeenSet = false;
71
72 UserStatus m_userStatus;
73 bool m_userStatusHasBeenSet = false;
74 };
75
76} // namespace Model
77} // namespace Rekognition
78} // namespace Aws
AWS_REKOGNITION_API MatchedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchedUser & WithUserId(const char *value)
Definition MatchedUser.h:53
void SetUserId(Aws::String &&value)
Definition MatchedUser.h:49
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserId(const char *value)
Definition MatchedUser.h:50
const UserStatus & GetUserStatus() const
Definition MatchedUser.h:60
void SetUserStatus(UserStatus &&value)
Definition MatchedUser.h:63
MatchedUser & WithUserId(Aws::String &&value)
Definition MatchedUser.h:52
AWS_REKOGNITION_API MatchedUser(Aws::Utils::Json::JsonView jsonValue)
AWS_REKOGNITION_API MatchedUser()
void SetUserId(const Aws::String &value)
Definition MatchedUser.h:48
MatchedUser & WithUserStatus(UserStatus &&value)
Definition MatchedUser.h:65
void SetUserStatus(const UserStatus &value)
Definition MatchedUser.h:62
MatchedUser & WithUserStatus(const UserStatus &value)
Definition MatchedUser.h:64
MatchedUser & WithUserId(const Aws::String &value)
Definition MatchedUser.h:51
const Aws::String & GetUserId() const
Definition MatchedUser.h:46
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue