AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
GetUserDetailsResult.h
1
6#pragma once
7#include <aws/codecatalyst/CodeCatalyst_EXPORTS.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/codecatalyst/model/EmailAddress.h>
10#include <utility>
11
12namespace Aws
13{
14template<typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils
18{
19namespace Json
20{
21 class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace CodeCatalyst
25{
26namespace Model
27{
29 {
30 public:
31 AWS_CODECATALYST_API GetUserDetailsResult();
34
35
37
40 inline const Aws::String& GetUserId() const{ return m_userId; }
41 inline void SetUserId(const Aws::String& value) { m_userId = value; }
42 inline void SetUserId(Aws::String&& value) { m_userId = std::move(value); }
43 inline void SetUserId(const char* value) { m_userId.assign(value); }
44 inline GetUserDetailsResult& WithUserId(const Aws::String& value) { SetUserId(value); return *this;}
45 inline GetUserDetailsResult& WithUserId(Aws::String&& value) { SetUserId(std::move(value)); return *this;}
46 inline GetUserDetailsResult& WithUserId(const char* value) { SetUserId(value); return *this;}
48
50
53 inline const Aws::String& GetUserName() const{ return m_userName; }
54 inline void SetUserName(const Aws::String& value) { m_userName = value; }
55 inline void SetUserName(Aws::String&& value) { m_userName = std::move(value); }
56 inline void SetUserName(const char* value) { m_userName.assign(value); }
57 inline GetUserDetailsResult& WithUserName(const Aws::String& value) { SetUserName(value); return *this;}
58 inline GetUserDetailsResult& WithUserName(Aws::String&& value) { SetUserName(std::move(value)); return *this;}
59 inline GetUserDetailsResult& WithUserName(const char* value) { SetUserName(value); return *this;}
61
63
66 inline const Aws::String& GetDisplayName() const{ return m_displayName; }
67 inline void SetDisplayName(const Aws::String& value) { m_displayName = value; }
68 inline void SetDisplayName(Aws::String&& value) { m_displayName = std::move(value); }
69 inline void SetDisplayName(const char* value) { m_displayName.assign(value); }
70 inline GetUserDetailsResult& WithDisplayName(const Aws::String& value) { SetDisplayName(value); return *this;}
71 inline GetUserDetailsResult& WithDisplayName(Aws::String&& value) { SetDisplayName(std::move(value)); return *this;}
72 inline GetUserDetailsResult& WithDisplayName(const char* value) { SetDisplayName(value); return *this;}
74
76
79 inline const EmailAddress& GetPrimaryEmail() const{ return m_primaryEmail; }
80 inline void SetPrimaryEmail(const EmailAddress& value) { m_primaryEmail = value; }
81 inline void SetPrimaryEmail(EmailAddress&& value) { m_primaryEmail = std::move(value); }
82 inline GetUserDetailsResult& WithPrimaryEmail(const EmailAddress& value) { SetPrimaryEmail(value); return *this;}
83 inline GetUserDetailsResult& WithPrimaryEmail(EmailAddress&& value) { SetPrimaryEmail(std::move(value)); return *this;}
85
87
90 inline const Aws::String& GetVersion() const{ return m_version; }
91 inline void SetVersion(const Aws::String& value) { m_version = value; }
92 inline void SetVersion(Aws::String&& value) { m_version = std::move(value); }
93 inline void SetVersion(const char* value) { m_version.assign(value); }
94 inline GetUserDetailsResult& WithVersion(const Aws::String& value) { SetVersion(value); return *this;}
95 inline GetUserDetailsResult& WithVersion(Aws::String&& value) { SetVersion(std::move(value)); return *this;}
96 inline GetUserDetailsResult& WithVersion(const char* value) { SetVersion(value); return *this;}
98
100
101 inline const Aws::String& GetRequestId() const{ return m_requestId; }
102 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
103 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
104 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
105 inline GetUserDetailsResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
106 inline GetUserDetailsResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
107 inline GetUserDetailsResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
109 private:
110
111 Aws::String m_userId;
112
113 Aws::String m_userName;
114
115 Aws::String m_displayName;
116
117 EmailAddress m_primaryEmail;
118
119 Aws::String m_version;
120
121 Aws::String m_requestId;
122 };
123
124} // namespace Model
125} // namespace CodeCatalyst
126} // namespace Aws
GetUserDetailsResult & WithUserName(const char *value)
GetUserDetailsResult & WithVersion(Aws::String &&value)
GetUserDetailsResult & WithDisplayName(Aws::String &&value)
GetUserDetailsResult & WithVersion(const char *value)
GetUserDetailsResult & WithRequestId(const Aws::String &value)
GetUserDetailsResult & WithUserId(const Aws::String &value)
GetUserDetailsResult & WithPrimaryEmail(EmailAddress &&value)
AWS_CODECATALYST_API GetUserDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUserDetailsResult & WithRequestId(Aws::String &&value)
GetUserDetailsResult & WithPrimaryEmail(const EmailAddress &value)
GetUserDetailsResult & WithUserName(Aws::String &&value)
GetUserDetailsResult & WithDisplayName(const Aws::String &value)
AWS_CODECATALYST_API GetUserDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUserDetailsResult & WithUserId(Aws::String &&value)
GetUserDetailsResult & WithRequestId(const char *value)
GetUserDetailsResult & WithVersion(const Aws::String &value)
GetUserDetailsResult & WithUserId(const char *value)
GetUserDetailsResult & WithUserName(const Aws::String &value)
GetUserDetailsResult & WithDisplayName(const char *value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue