AWS SDK for C++  1.9.3
AWS SDK for C++
UpdateUserResult.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 UpdateUserResult& WithUser(const User& value) { SetUser(value); return *this;}
55 
59  inline UpdateUserResult& WithUser(User&& value) { SetUser(std::move(value)); return *this;}
60 
61 
65  inline const Aws::String& GetRequestId() const{ return m_requestId; }
66 
70  inline void SetRequestId(const Aws::String& value) { m_requestId = value; }
71 
75  inline void SetRequestId(Aws::String&& value) { m_requestId = std::move(value); }
76 
80  inline void SetRequestId(const char* value) { m_requestId.assign(value); }
81 
85  inline UpdateUserResult& WithRequestId(const Aws::String& value) { SetRequestId(value); return *this;}
86 
90  inline UpdateUserResult& WithRequestId(Aws::String&& value) { SetRequestId(std::move(value)); return *this;}
91 
95  inline UpdateUserResult& WithRequestId(const char* value) { SetRequestId(value); return *this;}
96 
97 
101  inline int GetStatus() const{ return m_status; }
102 
106  inline void SetStatus(int value) { m_status = value; }
107 
111  inline UpdateUserResult& WithStatus(int value) { SetStatus(value); return *this;}
112 
113  private:
114 
115  User m_user;
116 
117  Aws::String m_requestId;
118 
119  int m_status;
120  };
121 
122 } // namespace Model
123 } // namespace QuickSight
124 } // namespace Aws
Aws::QuickSight::Model::UpdateUserResult
Definition: UpdateUserResult.h:29
Aws::AmazonWebServiceResult
Definition: AmazonWebServiceResult.h:19
QuickSight_EXPORTS.h
Aws::QuickSight::Model::UpdateUserResult::WithRequestId
UpdateUserResult & WithRequestId(Aws::String &&value)
Definition: UpdateUserResult.h:90
Aws::QuickSight::Model::UpdateUserResult::WithUser
UpdateUserResult & WithUser(const User &value)
Definition: UpdateUserResult.h:54
Aws::QuickSight::Model::UpdateUserResult::WithUser
UpdateUserResult & WithUser(User &&value)
Definition: UpdateUserResult.h:59
Aws::QuickSight::Model::User
Definition: User.h:34
Aws::QuickSight::Model::UpdateUserResult::SetUser
void SetUser(User &&value)
Definition: UpdateUserResult.h:49
User.h
Aws::QuickSight::Model::UpdateUserResult::SetRequestId
void SetRequestId(const char *value)
Definition: UpdateUserResult.h:80
Aws::QuickSight::Model::UpdateUserResult::GetUser
const User & GetUser() const
Definition: UpdateUserResult.h:39
Aws::QuickSight::Model::UpdateUserResult::operator=
UpdateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWSString.h
Aws::QuickSight::Model::UpdateUserResult::SetUser
void SetUser(const User &value)
Definition: UpdateUserResult.h:44
Aws::QuickSight::Model::UpdateUserResult::GetStatus
int GetStatus() const
Definition: UpdateUserResult.h:101
Aws::QuickSight::Model::UpdateUserResult::WithRequestId
UpdateUserResult & WithRequestId(const char *value)
Definition: UpdateUserResult.h:95
Aws::QuickSight::Model::UpdateUserResult::SetStatus
void SetStatus(int value)
Definition: UpdateUserResult.h:106
Aws::QuickSight::Model::UpdateUserResult::UpdateUserResult
UpdateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API
#define AWS_QUICKSIGHT_API
Definition: QuickSight_EXPORTS.h:28
Aws
Definition: AccessManagementClient.h:15
Aws::String
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::QuickSight::Model::UpdateUserResult::UpdateUserResult
UpdateUserResult()
Aws::QuickSight::Model::UpdateUserResult::WithRequestId
UpdateUserResult & WithRequestId(const Aws::String &value)
Definition: UpdateUserResult.h:85
Aws::QuickSight::Model::UpdateUserResult::WithStatus
UpdateUserResult & WithStatus(int value)
Definition: UpdateUserResult.h:111
Aws::QuickSight::Model::UpdateUserResult::GetRequestId
const Aws::String & GetRequestId() const
Definition: UpdateUserResult.h:65
Aws::QuickSight::Model::UpdateUserResult::SetRequestId
void SetRequestId(const Aws::String &value)
Definition: UpdateUserResult.h:70
Aws::QuickSight::Model::UpdateUserResult::SetRequestId
void SetRequestId(Aws::String &&value)
Definition: UpdateUserResult.h:75