AWS SDK for C++

AWS SDK for C++ Version 1.11.788

Loading...
Searching...
No Matches
DeleteUserResult.h
1
6#pragma once
7#include <aws/core/http/HttpResponse.h>
8#include <aws/core/utils/memory/stl/AWSString.h>
9#include <aws/core/utils/memory/stl/AWSVector.h>
10#include <aws/elasticache/ElastiCache_EXPORTS.h>
11#include <aws/elasticache/model/Authentication.h>
12#include <aws/elasticache/model/ResponseMetadata.h>
13
14#include <utility>
15
16namespace Aws {
17template <typename RESULT_TYPE>
18class AmazonWebServiceResult;
19
20namespace Utils {
21namespace Xml {
22class XmlDocument;
23} // namespace Xml
24} // namespace Utils
25namespace ElastiCache {
26namespace Model {
28 public:
29 AWS_ELASTICACHE_API DeleteUserResult() = default;
32
34
37 inline const Aws::String& GetUserId() const { return m_userId; }
38 template <typename UserIdT = Aws::String>
39 void SetUserId(UserIdT&& value) {
40 m_userIdHasBeenSet = true;
41 m_userId = std::forward<UserIdT>(value);
42 }
43 template <typename UserIdT = Aws::String>
44 DeleteUserResult& WithUserId(UserIdT&& value) {
45 SetUserId(std::forward<UserIdT>(value));
46 return *this;
47 }
49
51
54 inline const Aws::String& GetUserName() const { return m_userName; }
55 template <typename UserNameT = Aws::String>
56 void SetUserName(UserNameT&& value) {
57 m_userNameHasBeenSet = true;
58 m_userName = std::forward<UserNameT>(value);
59 }
60 template <typename UserNameT = Aws::String>
61 DeleteUserResult& WithUserName(UserNameT&& value) {
62 SetUserName(std::forward<UserNameT>(value));
63 return *this;
64 }
66
68
71 inline const Aws::String& GetStatus() const { return m_status; }
72 template <typename StatusT = Aws::String>
73 void SetStatus(StatusT&& value) {
74 m_statusHasBeenSet = true;
75 m_status = std::forward<StatusT>(value);
76 }
77 template <typename StatusT = Aws::String>
78 DeleteUserResult& WithStatus(StatusT&& value) {
79 SetStatus(std::forward<StatusT>(value));
80 return *this;
81 }
83
85
88 inline const Aws::String& GetEngine() const { return m_engine; }
89 template <typename EngineT = Aws::String>
90 void SetEngine(EngineT&& value) {
91 m_engineHasBeenSet = true;
92 m_engine = std::forward<EngineT>(value);
93 }
94 template <typename EngineT = Aws::String>
95 DeleteUserResult& WithEngine(EngineT&& value) {
96 SetEngine(std::forward<EngineT>(value));
97 return *this;
98 }
100
102
105 inline const Aws::String& GetMinimumEngineVersion() const { return m_minimumEngineVersion; }
106 template <typename MinimumEngineVersionT = Aws::String>
107 void SetMinimumEngineVersion(MinimumEngineVersionT&& value) {
108 m_minimumEngineVersionHasBeenSet = true;
109 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
110 }
111 template <typename MinimumEngineVersionT = Aws::String>
112 DeleteUserResult& WithMinimumEngineVersion(MinimumEngineVersionT&& value) {
113 SetMinimumEngineVersion(std::forward<MinimumEngineVersionT>(value));
114 return *this;
115 }
117
119
122 inline const Aws::String& GetAccessString() const { return m_accessString; }
123 template <typename AccessStringT = Aws::String>
124 void SetAccessString(AccessStringT&& value) {
125 m_accessStringHasBeenSet = true;
126 m_accessString = std::forward<AccessStringT>(value);
127 }
128 template <typename AccessStringT = Aws::String>
129 DeleteUserResult& WithAccessString(AccessStringT&& value) {
130 SetAccessString(std::forward<AccessStringT>(value));
131 return *this;
132 }
134
136
139 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const { return m_userGroupIds; }
140 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
141 void SetUserGroupIds(UserGroupIdsT&& value) {
142 m_userGroupIdsHasBeenSet = true;
143 m_userGroupIds = std::forward<UserGroupIdsT>(value);
144 }
145 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
146 DeleteUserResult& WithUserGroupIds(UserGroupIdsT&& value) {
147 SetUserGroupIds(std::forward<UserGroupIdsT>(value));
148 return *this;
149 }
150 template <typename UserGroupIdsT = Aws::String>
151 DeleteUserResult& AddUserGroupIds(UserGroupIdsT&& value) {
152 m_userGroupIdsHasBeenSet = true;
153 m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value));
154 return *this;
155 }
157
159
162 inline const Authentication& GetAuthentication() const { return m_authentication; }
163 template <typename AuthenticationT = Authentication>
164 void SetAuthentication(AuthenticationT&& value) {
165 m_authenticationHasBeenSet = true;
166 m_authentication = std::forward<AuthenticationT>(value);
167 }
168 template <typename AuthenticationT = Authentication>
169 DeleteUserResult& WithAuthentication(AuthenticationT&& value) {
170 SetAuthentication(std::forward<AuthenticationT>(value));
171 return *this;
172 }
174
176
179 inline const Aws::String& GetARN() const { return m_aRN; }
180 template <typename ARNT = Aws::String>
181 void SetARN(ARNT&& value) {
182 m_aRNHasBeenSet = true;
183 m_aRN = std::forward<ARNT>(value);
184 }
185 template <typename ARNT = Aws::String>
186 DeleteUserResult& WithARN(ARNT&& value) {
187 SetARN(std::forward<ARNT>(value));
188 return *this;
189 }
191
193
194 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
195 template <typename ResponseMetadataT = ResponseMetadata>
196 void SetResponseMetadata(ResponseMetadataT&& value) {
197 m_responseMetadataHasBeenSet = true;
198 m_responseMetadata = std::forward<ResponseMetadataT>(value);
199 }
200 template <typename ResponseMetadataT = ResponseMetadata>
201 DeleteUserResult& WithResponseMetadata(ResponseMetadataT&& value) {
202 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
203 return *this;
204 }
206 inline Aws::Http::HttpResponseCode GetHttpResponseCode() const { return m_HttpResponseCode; }
207
208 private:
209 Aws::String m_userId;
210
211 Aws::String m_userName;
212
213 Aws::String m_status;
214
215 Aws::String m_engine;
216
217 Aws::String m_minimumEngineVersion;
218
219 Aws::String m_accessString;
220
221 Aws::Vector<Aws::String> m_userGroupIds;
222
223 Authentication m_authentication;
224
225 Aws::String m_aRN;
226
227 ResponseMetadata m_responseMetadata;
228 Aws::Http::HttpResponseCode m_HttpResponseCode;
229 bool m_userIdHasBeenSet = false;
230 bool m_userNameHasBeenSet = false;
231 bool m_statusHasBeenSet = false;
232 bool m_engineHasBeenSet = false;
233 bool m_minimumEngineVersionHasBeenSet = false;
234 bool m_accessStringHasBeenSet = false;
235 bool m_userGroupIdsHasBeenSet = false;
236 bool m_authenticationHasBeenSet = false;
237 bool m_aRNHasBeenSet = false;
238 bool m_responseMetadataHasBeenSet = false;
239};
240
241} // namespace Model
242} // namespace ElastiCache
243} // namespace Aws
void SetResponseMetadata(ResponseMetadataT &&value)
void SetAccessString(AccessStringT &&value)
AWS_ELASTICACHE_API DeleteUserResult()=default
DeleteUserResult & WithStatus(StatusT &&value)
const Aws::String & GetMinimumEngineVersion() const
DeleteUserResult & WithAuthentication(AuthenticationT &&value)
DeleteUserResult & WithUserId(UserIdT &&value)
const Aws::String & GetUserName() const
DeleteUserResult & WithUserGroupIds(UserGroupIdsT &&value)
DeleteUserResult & AddUserGroupIds(UserGroupIdsT &&value)
DeleteUserResult & WithAccessString(AccessStringT &&value)
Aws::Http::HttpResponseCode GetHttpResponseCode() const
AWS_ELASTICACHE_API DeleteUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteUserResult & WithEngine(EngineT &&value)
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
const Aws::String & GetAccessString() const
void SetAuthentication(AuthenticationT &&value)
AWS_ELASTICACHE_API DeleteUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
DeleteUserResult & WithUserName(UserNameT &&value)
void SetUserGroupIds(UserGroupIdsT &&value)
const Authentication & GetAuthentication() const
DeleteUserResult & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
DeleteUserResult & WithARN(ARNT &&value)
const ResponseMetadata & GetResponseMetadata() const
const Aws::Vector< Aws::String > & GetUserGroupIds() const
DeleteUserResult & WithResponseMetadata(ResponseMetadataT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument