AWS SDK for C++

AWS SDK for C++ Version 1.11.786

Loading...
Searching...
No Matches
UpdateUserProfileResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/datazone/DataZone_EXPORTS.h>
10#include <aws/datazone/model/UserProfileDetails.h>
11#include <aws/datazone/model/UserProfileStatus.h>
12#include <aws/datazone/model/UserProfileType.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Json {
22class JsonValue;
23} // namespace Json
24} // namespace Utils
25namespace DataZone {
26namespace Model {
28 public:
29 AWS_DATAZONE_API UpdateUserProfileResult() = default;
32
34
38 inline const Aws::String& GetDomainId() const { return m_domainId; }
39 template <typename DomainIdT = Aws::String>
40 void SetDomainId(DomainIdT&& value) {
41 m_domainIdHasBeenSet = true;
42 m_domainId = std::forward<DomainIdT>(value);
43 }
44 template <typename DomainIdT = Aws::String>
46 SetDomainId(std::forward<DomainIdT>(value));
47 return *this;
48 }
50
52
55 inline const Aws::String& GetId() const { return m_id; }
56 template <typename IdT = Aws::String>
57 void SetId(IdT&& value) {
58 m_idHasBeenSet = true;
59 m_id = std::forward<IdT>(value);
60 }
61 template <typename IdT = Aws::String>
63 SetId(std::forward<IdT>(value));
64 return *this;
65 }
67
69
72 inline UserProfileType GetType() const { return m_type; }
73 inline void SetType(UserProfileType value) {
74 m_typeHasBeenSet = true;
75 m_type = value;
76 }
78 SetType(value);
79 return *this;
80 }
82
84
87 inline UserProfileStatus GetStatus() const { return m_status; }
88 inline void SetStatus(UserProfileStatus value) {
89 m_statusHasBeenSet = true;
90 m_status = value;
91 }
93 SetStatus(value);
94 return *this;
95 }
97
99
102 inline const UserProfileDetails& GetDetails() const { return m_details; }
103 template <typename DetailsT = UserProfileDetails>
104 void SetDetails(DetailsT&& value) {
105 m_detailsHasBeenSet = true;
106 m_details = std::forward<DetailsT>(value);
107 }
108 template <typename DetailsT = UserProfileDetails>
110 SetDetails(std::forward<DetailsT>(value));
111 return *this;
112 }
114
116
117 inline const Aws::String& GetRequestId() const { return m_requestId; }
118 template <typename RequestIdT = Aws::String>
119 void SetRequestId(RequestIdT&& value) {
120 m_requestIdHasBeenSet = true;
121 m_requestId = std::forward<RequestIdT>(value);
122 }
123 template <typename RequestIdT = Aws::String>
125 SetRequestId(std::forward<RequestIdT>(value));
126 return *this;
127 }
129 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
130
131 private:
132 Aws::String m_domainId;
133
134 Aws::String m_id;
135
137
139
140 UserProfileDetails m_details;
141
142 Aws::String m_requestId;
143 Aws::Http::HttpResponseCode m_HttpResponseCode;
144 bool m_domainIdHasBeenSet = false;
145 bool m_idHasBeenSet = false;
146 bool m_typeHasBeenSet = false;
147 bool m_statusHasBeenSet = false;
148 bool m_detailsHasBeenSet = false;
149 bool m_requestIdHasBeenSet = false;
150};
151
152} // namespace Model
153} // namespace DataZone
154} // namespace Aws
AWS_DATAZONE_API UpdateUserProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
UpdateUserProfileResult & WithDomainId(DomainIdT &&value)
AWS_DATAZONE_API UpdateUserProfileResult()=default
AWS_DATAZONE_API UpdateUserProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
UpdateUserProfileResult & WithId(IdT &&value)
UpdateUserProfileResult & WithType(UserProfileType value)
UpdateUserProfileResult & WithDetails(DetailsT &&value)
UpdateUserProfileResult & WithStatus(UserProfileStatus value)
UpdateUserProfileResult & WithRequestId(RequestIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue