AWS SDK for C++

AWS SDK for C++ Version 1.11.748

Loading...
Searching...
No Matches
RegisterUserResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/quicksight/QuickSight_EXPORTS.h>
9#include <aws/quicksight/model/User.h>
10
11#include <utility>
12
13namespace Aws {
14template <typename RESULT_TYPE>
15class AmazonWebServiceResult;
16
17namespace Utils {
18namespace Json {
19class JsonValue;
20} // namespace Json
21} // namespace Utils
22namespace QuickSight {
23namespace Model {
25 public:
26 AWS_QUICKSIGHT_API RegisterUserResult() = default;
29
31
34 inline const User& GetUser() const { return m_user; }
35 template <typename UserT = User>
36 void SetUser(UserT&& value) {
37 m_userHasBeenSet = true;
38 m_user = std::forward<UserT>(value);
39 }
40 template <typename UserT = User>
41 RegisterUserResult& WithUser(UserT&& value) {
42 SetUser(std::forward<UserT>(value));
43 return *this;
44 }
46
48
52 inline const Aws::String& GetUserInvitationUrl() const { return m_userInvitationUrl; }
53 template <typename UserInvitationUrlT = Aws::String>
54 void SetUserInvitationUrl(UserInvitationUrlT&& value) {
55 m_userInvitationUrlHasBeenSet = true;
56 m_userInvitationUrl = std::forward<UserInvitationUrlT>(value);
57 }
58 template <typename UserInvitationUrlT = Aws::String>
59 RegisterUserResult& WithUserInvitationUrl(UserInvitationUrlT&& value) {
60 SetUserInvitationUrl(std::forward<UserInvitationUrlT>(value));
61 return *this;
62 }
64
66
67 inline const Aws::String& GetRequestId() const { return m_requestId; }
68 template <typename RequestIdT = Aws::String>
69 void SetRequestId(RequestIdT&& value) {
70 m_requestIdHasBeenSet = true;
71 m_requestId = std::forward<RequestIdT>(value);
72 }
73 template <typename RequestIdT = Aws::String>
74 RegisterUserResult& WithRequestId(RequestIdT&& value) {
75 SetRequestId(std::forward<RequestIdT>(value));
76 return *this;
77 }
79
81
84 inline int GetStatus() const { return m_status; }
85 inline void SetStatus(int value) {
86 m_statusHasBeenSet = true;
87 m_status = value;
88 }
89 inline RegisterUserResult& WithStatus(int value) {
90 SetStatus(value);
91 return *this;
92 }
94 private:
95 User m_user;
96
97 Aws::String m_userInvitationUrl;
98
99 Aws::String m_requestId;
100
101 int m_status{0};
102 bool m_userHasBeenSet = false;
103 bool m_userInvitationUrlHasBeenSet = false;
104 bool m_requestIdHasBeenSet = false;
105 bool m_statusHasBeenSet = false;
106};
107
108} // namespace Model
109} // namespace QuickSight
110} // namespace Aws
RegisterUserResult & WithRequestId(RequestIdT &&value)
const Aws::String & GetUserInvitationUrl() const
AWS_QUICKSIGHT_API RegisterUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterUserResult & WithUser(UserT &&value)
AWS_QUICKSIGHT_API RegisterUserResult()=default
RegisterUserResult & WithStatus(int value)
RegisterUserResult & WithUserInvitationUrl(UserInvitationUrlT &&value)
void SetUserInvitationUrl(UserInvitationUrlT &&value)
AWS_QUICKSIGHT_API RegisterUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue