AWS SDK for C++  1.9.158
AWS SDK for C++
RegisterUserResult.h
Go to the documentation of this file.
1 
6 #pragma once
10 #include <utility>
11 
12 namespace Aws
13 {
14 template<typename RESULT_TYPE>
15 class AmazonWebServiceResult;
16 
17 namespace Utils
18 {
19 namespace Json
20 {
21  class JsonValue;
22 } // namespace Json
23 } // namespace Utils
24 namespace QuickSight
25 {
26 namespace Model
27 {
29  {
30  public:
34 
35 
39  inline const User& GetUser() const{ return m_user; }
40 
44  inline void SetUser(const User& value) { m_user = value; }
45 
49  inline void SetUser(User&& value) { m_user = std::move(value); }
50 
54  inline RegisterUserResult& WithUser(const User& value) { SetUser(value); return *this;}
55 
59  inline RegisterUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
60 
61 
66  inline const Aws::String& GetUserInvitationUrl() const{ return m_userInvitationUrl; }
67 
72  inline void SetUserInvitationUrl(const Aws::String& value) { m_userInvitationUrl = value; }
73 
78  inline void SetUserInvitationUrl(Aws::String&& value) { m_userInvitationUrl = std::move(value); }
79 
84  inline void SetUserInvitationUrl(const char* value) { m_userInvitationUrl.assign(value); }
85 
90  inline RegisterUserResult& WithUserInvitationUrl(const Aws::String& value) { SetUserInvitationUrl(value); return *this;}
91 
96  inline RegisterUserResult& WithUserInvitationUrl(Aws::String&& value) { SetUserInvitationUrl(std::move(value)); return *this;}
97 
102  inline RegisterUserResult& WithUserInvitationUrl(const char* value) { SetUserInvitationUrl(value); return *this;}
103 
104 
108  inline const Aws::String& GetRequestId() const{ return m_requestId; }
109 
113  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
114 
118  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
119 
123  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
124 
128  inline RegisterUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
129 
133  inline RegisterUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
134 
138  inline RegisterUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
139 
140 
144  inline int GetStatus() const{ return m_status; }
145 
149  inline void SetStatus(int value) { m_status = value; }
150 
154  inline RegisterUserResult& WithStatus(int value) { SetStatus(value); return *this;}
155 
156  private:
157 
158  User m_user;
159 
160  Aws::String m_userInvitationUrl;
161 
162  Aws::String m_requestId;
163 
164  int m_status;
165  };
166 
167 } // namespace Model
168 } // namespace QuickSight
169 } // namespace Aws
Aws::QuickSight::Model::RegisterUserResult::WithUser
RegisterUserResult & WithUser(User &&value)
Definition: RegisterUserResult.h:59
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
Aws::QuickSight::Model::RegisterUserResult::RegisterUserResult
RegisterUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
QuickSight_EXPORTS.h
Aws::QuickSight::Model::RegisterUserResult::WithUser
RegisterUserResult & WithUser(const User &value)
Definition: RegisterUserResult.h:54
Aws::QuickSight::Model::RegisterUserResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: RegisterUserResult.h:108
Aws::QuickSight::Model::RegisterUserResult::WithStatus
RegisterUserResult & WithStatus(int value)
Definition: RegisterUserResult.h:154
Aws::QuickSight::Model::RegisterUserResult::WithRequestId
RegisterUserResult & WithRequestId(const char *value)
Definition: RegisterUserResult.h:138
Aws::QuickSight::Model::RegisterUserResult::WithRequestId
RegisterUserResult & WithRequestId(Aws::String &&value)
Definition: RegisterUserResult.h:133
Aws::QuickSight::Model::RegisterUserResult::SetUser
void SetUser(const User &value)
Definition: RegisterUserResult.h:44
Aws::QuickSight::Model::RegisterUserResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: RegisterUserResult.h:113
Aws::QuickSight::Model::User
Definition: User.h:34
Aws::QuickSight::Model::RegisterUserResult::SetUserInvitationUrl
void SetUserInvitationUrl(Aws::String &&value)
Definition: RegisterUserResult.h:78
Aws::QuickSight::Model::RegisterUserResult::SetUser
void SetUser(User &&value)
Definition: RegisterUserResult.h:49
Aws::QuickSight::Model::RegisterUserResult::SetRequestId
void SetRequestId(const char *value)
Definition: RegisterUserResult.h:123
Aws::QuickSight::Model::RegisterUserResult::GetStatus
int GetStatus() const
Definition: RegisterUserResult.h:144
Aws::QuickSight::Model::RegisterUserResult::SetUserInvitationUrl
void SetUserInvitationUrl(const Aws::String &value)
Definition: RegisterUserResult.h:72
Aws::QuickSight::Model::RegisterUserResult::RegisterUserResult
RegisterUserResult()
User.h
Aws::QuickSight::Model::RegisterUserResult::WithUserInvitationUrl
RegisterUserResult & WithUserInvitationUrl(const Aws::String &value)
Definition: RegisterUserResult.h:90
Aws::QuickSight::Model::RegisterUserResult::operator=
RegisterUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::QuickSight::Model::RegisterUserResult::GetUserInvitationUrl
const Aws::String & GetUserInvitationUrl() const
Definition: RegisterUserResult.h:66
AWSString.h
Aws::QuickSight::Model::RegisterUserResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: RegisterUserResult.h:118
Aws::QuickSight::Model::RegisterUserResult::GetUser
const User & GetUser() const
Definition: RegisterUserResult.h:39
Aws::QuickSight::Model::RegisterUserResult
Definition: RegisterUserResult.h:29
Aws::QuickSight::Model::RegisterUserResult::SetUserInvitationUrl
void SetUserInvitationUrl(const char *value)
Definition: RegisterUserResult.h:84
Aws::MigrationHubStrategyRecommendations::Model::OutputFormat::NOT_SET
@ NOT_SET
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::QuickSight::Model::RegisterUserResult::SetStatus
void SetStatus(int value)
Definition: RegisterUserResult.h:149
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::RegisterUserResult::WithUserInvitationUrl
RegisterUserResult & WithUserInvitationUrl(const char *value)
Definition: RegisterUserResult.h:102
Aws::QuickSight::Model::RegisterUserResult::WithRequestId
RegisterUserResult & WithRequestId(const Aws::String &value)
Definition: RegisterUserResult.h:128
Aws::QuickSight::Model::RegisterUserResult::WithUserInvitationUrl
RegisterUserResult & WithUserInvitationUrl(Aws::String &&value)
Definition: RegisterUserResult.h:96