AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
User.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
32 class User
33 {
34 public:
35 AWS_REKOGNITION_API User();
36 AWS_REKOGNITION_API User(Aws::Utils::Json::JsonView jsonValue);
37 AWS_REKOGNITION_API User& operator=(Aws::Utils::Json::JsonView jsonValue);
38 AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const;
39
40
42
45 inline const Aws::String& GetUserId() const{ return m_userId; }
46 inline bool UserIdHasBeenSet() const { return m_userIdHasBeenSet; }
47 inline void SetUserId(const Aws::String& value) { m_userIdHasBeenSet = true; m_userId = value; }
48 inline void SetUserId(Aws::String&& value) { m_userIdHasBeenSet = true; m_userId = std::move(value); }
49 inline void SetUserId(const char* value) { m_userIdHasBeenSet = true; m_userId.assign(value); }
50 inline User& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
51 inline User& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
52 inline User& WithUserId(const char* value) { SetUserId(value); return *this;}
54
56
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 User& WithUserStatus(const UserStatus& value) { SetUserStatus(value); return *this;}
65 inline User& 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
User & WithUserId(const char *value)
Definition User.h:52
const UserStatus & GetUserStatus() const
Definition User.h:60
void SetUserStatus(UserStatus &&value)
Definition User.h:63
User & WithUserId(Aws::String &&value)
Definition User.h:51
AWS_REKOGNITION_API User()
AWS_REKOGNITION_API Aws::Utils::Json::JsonValue Jsonize() const
bool UserStatusHasBeenSet() const
Definition User.h:61
void SetUserId(const char *value)
Definition User.h:49
AWS_REKOGNITION_API User & operator=(Aws::Utils::Json::JsonView jsonValue)
void SetUserStatus(const UserStatus &value)
Definition User.h:62
void SetUserId(const Aws::String &value)
Definition User.h:47
User & WithUserStatus(const UserStatus &value)
Definition User.h:64
bool UserIdHasBeenSet() const
Definition User.h:46
void SetUserId(Aws::String &&value)
Definition User.h:48
AWS_REKOGNITION_API User(Aws::Utils::Json::JsonView jsonValue)
User & WithUserId(const Aws::String &value)
Definition User.h:50
const Aws::String & GetUserId() const
Definition User.h:45
User & WithUserStatus(UserStatus &&value)
Definition User.h:65
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue