AWS SDK for C++

AWS SDK for C++ Version 1.11.606

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() = default;
34
35
37
40 inline const Aws::String& GetUserId() const { return m_userId; }
41 template<typename UserIdT = Aws::String>
42 void SetUserId(UserIdT&& value) { m_userIdHasBeenSet = true; m_userId = std::forward<UserIdT>(value); }
43 template<typename UserIdT = Aws::String>
44 GetUserDetailsResult& WithUserId(UserIdT&& value) { SetUserId(std::forward<UserIdT>(value)); return *this;}
46
48
51 inline const Aws::String& GetUserName() const { return m_userName; }
52 template<typename UserNameT = Aws::String>
53 void SetUserName(UserNameT&& value) { m_userNameHasBeenSet = true; m_userName = std::forward<UserNameT>(value); }
54 template<typename UserNameT = Aws::String>
55 GetUserDetailsResult& WithUserName(UserNameT&& value) { SetUserName(std::forward<UserNameT>(value)); return *this;}
57
59
62 inline const Aws::String& GetDisplayName() const { return m_displayName; }
63 template<typename DisplayNameT = Aws::String>
64 void SetDisplayName(DisplayNameT&& value) { m_displayNameHasBeenSet = true; m_displayName = std::forward<DisplayNameT>(value); }
65 template<typename DisplayNameT = Aws::String>
66 GetUserDetailsResult& WithDisplayName(DisplayNameT&& value) { SetDisplayName(std::forward<DisplayNameT>(value)); return *this;}
68
70
73 inline const EmailAddress& GetPrimaryEmail() const { return m_primaryEmail; }
74 template<typename PrimaryEmailT = EmailAddress>
75 void SetPrimaryEmail(PrimaryEmailT&& value) { m_primaryEmailHasBeenSet = true; m_primaryEmail = std::forward<PrimaryEmailT>(value); }
76 template<typename PrimaryEmailT = EmailAddress>
77 GetUserDetailsResult& WithPrimaryEmail(PrimaryEmailT&& value) { SetPrimaryEmail(std::forward<PrimaryEmailT>(value)); return *this;}
79
81
84 inline const Aws::String& GetVersion() const { return m_version; }
85 template<typename VersionT = Aws::String>
86 void SetVersion(VersionT&& value) { m_versionHasBeenSet = true; m_version = std::forward<VersionT>(value); }
87 template<typename VersionT = Aws::String>
88 GetUserDetailsResult& WithVersion(VersionT&& value) { SetVersion(std::forward<VersionT>(value)); return *this;}
90
92
93 inline const Aws::String& GetRequestId() const { return m_requestId; }
94 template<typename RequestIdT = Aws::String>
95 void SetRequestId(RequestIdT&& value) { m_requestIdHasBeenSet = true; m_requestId = std::forward<RequestIdT>(value); }
96 template<typename RequestIdT = Aws::String>
97 GetUserDetailsResult& WithRequestId(RequestIdT&& value) { SetRequestId(std::forward<RequestIdT>(value)); return *this;}
99 private:
100
101 Aws::String m_userId;
102 bool m_userIdHasBeenSet = false;
103
104 Aws::String m_userName;
105 bool m_userNameHasBeenSet = false;
106
107 Aws::String m_displayName;
108 bool m_displayNameHasBeenSet = false;
109
110 EmailAddress m_primaryEmail;
111 bool m_primaryEmailHasBeenSet = false;
112
113 Aws::String m_version;
114 bool m_versionHasBeenSet = false;
115
116 Aws::String m_requestId;
117 bool m_requestIdHasBeenSet = false;
118 };
119
120} // namespace Model
121} // namespace CodeCatalyst
122} // namespace Aws
GetUserDetailsResult & WithUserId(UserIdT &&value)
AWS_CODECATALYST_API GetUserDetailsResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUserDetailsResult & WithUserName(UserNameT &&value)
GetUserDetailsResult & WithDisplayName(DisplayNameT &&value)
GetUserDetailsResult & WithVersion(VersionT &&value)
AWS_CODECATALYST_API GetUserDetailsResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
GetUserDetailsResult & WithRequestId(RequestIdT &&value)
AWS_CODECATALYST_API GetUserDetailsResult()=default
GetUserDetailsResult & WithPrimaryEmail(PrimaryEmailT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue