AWS SDK for C++

AWS SDK for C++ Version 1.11.745

Loading...
Searching...
No Matches
CreateUserProfileResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/datazone/DataZone_EXPORTS.h>
9#include <aws/datazone/model/UserProfileDetails.h>
10#include <aws/datazone/model/UserProfileStatus.h>
11#include <aws/datazone/model/UserProfileType.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Json {
21class JsonValue;
22} // namespace Json
23} // namespace Utils
24namespace DataZone {
25namespace Model {
27 public:
28 AWS_DATAZONE_API CreateUserProfileResult() = default;
31
33
37 inline const Aws::String& GetDomainId() const { return m_domainId; }
38 template <typename DomainIdT = Aws::String>
39 void SetDomainId(DomainIdT&& value) {
40 m_domainIdHasBeenSet = true;
41 m_domainId = std::forward<DomainIdT>(value);
42 }
43 template <typename DomainIdT = Aws::String>
45 SetDomainId(std::forward<DomainIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetId() const { return m_id; }
55 template <typename IdT = Aws::String>
56 void SetId(IdT&& value) {
57 m_idHasBeenSet = true;
58 m_id = std::forward<IdT>(value);
59 }
60 template <typename IdT = Aws::String>
62 SetId(std::forward<IdT>(value));
63 return *this;
64 }
66
68
71 inline UserProfileType GetType() const { return m_type; }
72 inline void SetType(UserProfileType value) {
73 m_typeHasBeenSet = true;
74 m_type = value;
75 }
77 SetType(value);
78 return *this;
79 }
81
83
86 inline UserProfileStatus GetStatus() const { return m_status; }
87 inline void SetStatus(UserProfileStatus value) {
88 m_statusHasBeenSet = true;
89 m_status = value;
90 }
92 SetStatus(value);
93 return *this;
94 }
96
98
101 inline const UserProfileDetails& GetDetails() const { return m_details; }
102 template <typename DetailsT = UserProfileDetails>
103 void SetDetails(DetailsT&& value) {
104 m_detailsHasBeenSet = true;
105 m_details = std::forward<DetailsT>(value);
106 }
107 template <typename DetailsT = UserProfileDetails>
109 SetDetails(std::forward<DetailsT>(value));
110 return *this;
111 }
113
115
116 inline const Aws::String& GetRequestId() const { return m_requestId; }
117 template <typename RequestIdT = Aws::String>
118 void SetRequestId(RequestIdT&& value) {
119 m_requestIdHasBeenSet = true;
120 m_requestId = std::forward<RequestIdT>(value);
121 }
122 template <typename RequestIdT = Aws::String>
124 SetRequestId(std::forward<RequestIdT>(value));
125 return *this;
126 }
128 private:
129 Aws::String m_domainId;
130
131 Aws::String m_id;
132
134
136
137 UserProfileDetails m_details;
138
139 Aws::String m_requestId;
140 bool m_domainIdHasBeenSet = false;
141 bool m_idHasBeenSet = false;
142 bool m_typeHasBeenSet = false;
143 bool m_statusHasBeenSet = false;
144 bool m_detailsHasBeenSet = false;
145 bool m_requestIdHasBeenSet = false;
146};
147
148} // namespace Model
149} // namespace DataZone
150} // namespace Aws
CreateUserProfileResult & WithRequestId(RequestIdT &&value)
AWS_DATAZONE_API CreateUserProfileResult()=default
AWS_DATAZONE_API CreateUserProfileResult(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUserProfileResult & WithType(UserProfileType value)
CreateUserProfileResult & WithStatus(UserProfileStatus value)
AWS_DATAZONE_API CreateUserProfileResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Json::JsonValue > &result)
CreateUserProfileResult & WithDetails(DetailsT &&value)
CreateUserProfileResult & WithId(IdT &&value)
CreateUserProfileResult & WithDomainId(DomainIdT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Json::JsonValue JsonValue