AWS SDK for C++

AWS SDK for C++ Version 1.11.719

Loading...
Searching...
No Matches
MatchedUser.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/rekognition/Rekognition_EXPORTS.h>
9#include <aws/rekognition/model/UserStatus.h>
10
11#include <utility>
12
13namespace Aws {
14namespace Utils {
15namespace Json {
16class JsonValue;
17class JsonView;
18} // namespace Json
19} // namespace Utils
20namespace Rekognition {
21namespace Model {
22
30 public:
31 AWS_REKOGNITION_API MatchedUser() = default;
32 AWS_REKOGNITION_API MatchedUser(Aws::Utils::Json::JsonView jsonValue);
33 AWS_REKOGNITION_API MatchedUser& operator=(Aws::Utils::Json::JsonView jsonValue);
34 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
35
37
40 inline const Aws::String& GetUserId() const { return m_userId; }
41 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
42 template <typename UserIdT = Aws::String>
43 void SetUserId(UserIdT&& value) {
44 m_userIdHasBeenSet = true;
45 m_userId = std::forward<UserIdT>(value);
46 }
47 template <typename UserIdT = Aws::String>
48 MatchedUser& WithUserId(UserIdT&& value) {
49 SetUserId(std::forward<UserIdT>(value));
50 return *this;
51 }
53
55
58 inline UserStatus GetUserStatus() const { return m_userStatus; }
59 inline bool UserStatusHasBeenSet() const { return m_userStatusHasBeenSet; }
60 inline void SetUserStatus(UserStatus value) {
61 m_userStatusHasBeenSet = true;
62 m_userStatus = value;
63 }
65 SetUserStatus(value);
66 return *this;
67 }
69 private:
70 Aws::String m_userId;
71
72 UserStatus m_userStatus{UserStatus::NOT_SET};
73 bool m_userIdHasBeenSet = false;
74 bool m_userStatusHasBeenSet = false;
75};
76
77} // namespace Model
78} // namespace Rekognition
79} // namespace Aws
AWS_REKOGNITION_API MatchedUser & operator=(Aws::Utils::Json::JsonView jsonValue)
MatchedUser & WithUserStatus(UserStatus value)
Definition MatchedUser.h:64
void SetUserId(UserIdT &&value)
Definition MatchedUser.h:43
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
void SetUserStatus(UserStatus value)
Definition MatchedUser.h:60
AWS_REKOGNITION_API MatchedUser(Aws::Utils::Json::JsonView jsonValue)
MatchedUser & WithUserId(UserIdT &&value)
Definition MatchedUser.h:48
AWS_REKOGNITION_API MatchedUser()=default
const Aws::String & GetUserId() const
Definition MatchedUser.h:40
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue