AWS SDK for C++

AWS SDK for C++ Version 1.11.747

Loading...
Searching...
No Matches
UpdateUserResult.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 UpdateUserResult() = 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 UpdateUserResult& WithUser(UserT&& value) {
42 SetUser(std::forward<UserT>(value));
43 return *this;
44 }
46
48
49 inline const Aws::String& GetRequestId() const { return m_requestId; }
50 template <typename RequestIdT = Aws::String>
51 void SetRequestId(RequestIdT&& value) {
52 m_requestIdHasBeenSet = true;
53 m_requestId = std::forward<RequestIdT>(value);
54 }
55 template <typename RequestIdT = Aws::String>
56 UpdateUserResult& WithRequestId(RequestIdT&& value) {
57 SetRequestId(std::forward<RequestIdT>(value));
58 return *this;
59 }
61
63
66 inline int GetStatus() const { return m_status; }
67 inline void SetStatus(int value) {
68 m_statusHasBeenSet = true;
69 m_status = value;
70 }
71 inline UpdateUserResult& WithStatus(int value) {
72 SetStatus(value);
73 return *this;
74 }
76 private:
77 User m_user;
78
79 Aws::String m_requestId;
80
81 int m_status{0};
82 bool m_userHasBeenSet = false;
83 bool m_requestIdHasBeenSet = false;
84 bool m_statusHasBeenSet = false;
85};
86
87} // namespace Model
88} // namespace QuickSight
89} // namespace Aws
UpdateUserResult & WithRequestId(RequestIdT &&value)
AWS_QUICKSIGHT_API UpdateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
AWS_QUICKSIGHT_API UpdateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
const Aws::String & GetRequestId() const
UpdateUserResult & WithUser(UserT &&value)
AWS_QUICKSIGHT_API UpdateUserResult()=default
UpdateUserResult & WithStatus(int value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue