AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
RegisterUserResult.h
1
6#pragma once
7#include <aws/quicksight/QuickSight_EXPORTS.h>
8#include <aws/quicksight/model/User.h>
9#include <aws/core/utils/memory/stl/AWSString.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 QuickSight
25{
26namespace Model
27{
29 {
30 public:
31 AWS_QUICKSIGHT_API RegisterUserResult();
34
35
37
40 inline const User& GetUser() const{ return m_user; }
41 inline void SetUser(const User& value) { m_user = value; }
42 inline void SetUser(User&& value) { m_user = std::move(value); }
43 inline RegisterUserResult& WithUser(const User& value) { SetUser(value); return *this;}
44 inline RegisterUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
46
48
52 inline const Aws::String& GetUserInvitationUrl() const{ return m_userInvitationUrl; }
53 inline void SetUserInvitationUrl(const Aws::String& value) { m_userInvitationUrl = value; }
54 inline void SetUserInvitationUrl(Aws::String&& value) { m_userInvitationUrl = std::move(value); }
55 inline void SetUserInvitationUrl(const char* value) { m_userInvitationUrl.assign(value); }
56 inline RegisterUserResult& WithUserInvitationUrl(const Aws::String& value) { SetUserInvitationUrl(value); return *this;}
57 inline RegisterUserResult& WithUserInvitationUrl(Aws::String&& value) { SetUserInvitationUrl(std::move(value)); return *this;}
58 inline RegisterUserResult& WithUserInvitationUrl(const char* value) { SetUserInvitationUrl(value); return *this;}
60
62
63 inline const Aws::String& GetRequestId() const{ return m_requestId; }
64 inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
65 inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
66 inline void SetRequestId(const char* value) { m_requestId.assign(value); }
67 inline RegisterUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
68 inline RegisterUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
69 inline RegisterUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
71
73
76 inline int GetStatus() const{ return m_status; }
77 inline void SetStatus(int value) { m_status = value; }
78 inline RegisterUserResult& WithStatus(int value) { SetStatus(value); return *this;}
80 private:
81
82 User m_user;
83
84 Aws::String m_userInvitationUrl;
85
86 Aws::String m_requestId;
87
88 int m_status;
89 };
90
91} // namespace Model
92} // namespace QuickSight
93} // namespace Aws
RegisterUserResult & WithUserInvitationUrl(const Aws::String &value)
RegisterUserResult & WithRequestId(const char *value)
const Aws::String & GetUserInvitationUrl() const
RegisterUserResult & WithUser(User &&value)
RegisterUserResult & WithUser(const User &value)
void SetRequestId(const Aws::String &value)
AWS_QUICKSIGHT_API RegisterUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
RegisterUserResult & WithRequestId(Aws::String &&value)
RegisterUserResult & WithRequestId(const Aws::String &value)
void SetUserInvitationUrl(const Aws::String &value)
RegisterUserResult & WithStatus(int value)
RegisterUserResult & WithUserInvitationUrl(const char *value)
RegisterUserResult & WithUserInvitationUrl(Aws::String &&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