AWS SDK for C++

AWS SDK for C++ Version 1.11.716

Loading...
Searching...
No Matches
DeleteUserResult.h
1
6#pragma once
7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/elasticache/ElastiCache_EXPORTS.h>
10#include <aws/elasticache/model/Authentication.h>
11#include <aws/elasticache/model/ResponseMetadata.h>
12
13#include <utility>
14
15namespace Aws {
16template <typename RESULT_TYPE>
17class AmazonWebServiceResult;
18
19namespace Utils {
20namespace Xml {
21class XmlDocument;
22} // namespace Xml
23} // namespace Utils
24namespace ElastiCache {
25namespace Model {
27 public:
28 AWS_ELASTICACHE_API DeleteUserResult() = default;
31
33
36 inline const Aws::String& GetUserId() const { return m_userId; }
37 template <typename UserIdT = Aws::String>
38 void SetUserId(UserIdT&& value) {
39 m_userIdHasBeenSet = true;
40 m_userId = std::forward<UserIdT>(value);
41 }
42 template <typename UserIdT = Aws::String>
43 DeleteUserResult& WithUserId(UserIdT&& value) {
44 SetUserId(std::forward<UserIdT>(value));
45 return *this;
46 }
48
50
53 inline const Aws::String& GetUserName() const { return m_userName; }
54 template <typename UserNameT = Aws::String>
55 void SetUserName(UserNameT&& value) {
56 m_userNameHasBeenSet = true;
57 m_userName = std::forward<UserNameT>(value);
58 }
59 template <typename UserNameT = Aws::String>
60 DeleteUserResult& WithUserName(UserNameT&& value) {
61 SetUserName(std::forward<UserNameT>(value));
62 return *this;
63 }
65
67
70 inline const Aws::String& GetStatus() const { return m_status; }
71 template <typename StatusT = Aws::String>
72 void SetStatus(StatusT&& value) {
73 m_statusHasBeenSet = true;
74 m_status = std::forward<StatusT>(value);
75 }
76 template <typename StatusT = Aws::String>
77 DeleteUserResult& WithStatus(StatusT&& value) {
78 SetStatus(std::forward<StatusT>(value));
79 return *this;
80 }
82
84
87 inline const Aws::String& GetEngine() const { return m_engine; }
88 template <typename EngineT = Aws::String>
89 void SetEngine(EngineT&& value) {
90 m_engineHasBeenSet = true;
91 m_engine = std::forward<EngineT>(value);
92 }
93 template <typename EngineT = Aws::String>
94 DeleteUserResult& WithEngine(EngineT&& value) {
95 SetEngine(std::forward<EngineT>(value));
96 return *this;
97 }
99
101
104 inline const Aws::String& GetMinimumEngineVersion() const { return m_minimumEngineVersion; }
105 template <typename MinimumEngineVersionT = Aws::String>
106 void SetMinimumEngineVersion(MinimumEngineVersionT&& value) {
107 m_minimumEngineVersionHasBeenSet = true;
108 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
109 }
110 template <typename MinimumEngineVersionT = Aws::String>
111 DeleteUserResult& WithMinimumEngineVersion(MinimumEngineVersionT&& value) {
112 SetMinimumEngineVersion(std::forward<MinimumEngineVersionT>(value));
113 return *this;
114 }
116
118
121 inline const Aws::String& GetAccessString() const { return m_accessString; }
122 template <typename AccessStringT = Aws::String>
123 void SetAccessString(AccessStringT&& value) {
124 m_accessStringHasBeenSet = true;
125 m_accessString = std::forward<AccessStringT>(value);
126 }
127 template <typename AccessStringT = Aws::String>
128 DeleteUserResult& WithAccessString(AccessStringT&& value) {
129 SetAccessString(std::forward<AccessStringT>(value));
130 return *this;
131 }
133
135
138 inline const Aws::Vector<Aws::String>& GetUserGroupIds() const { return m_userGroupIds; }
139 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
140 void SetUserGroupIds(UserGroupIdsT&& value) {
141 m_userGroupIdsHasBeenSet = true;
142 m_userGroupIds = std::forward<UserGroupIdsT>(value);
143 }
144 template <typename UserGroupIdsT = Aws::Vector<Aws::String>>
145 DeleteUserResult& WithUserGroupIds(UserGroupIdsT&& value) {
146 SetUserGroupIds(std::forward<UserGroupIdsT>(value));
147 return *this;
148 }
149 template <typename UserGroupIdsT = Aws::String>
150 DeleteUserResult& AddUserGroupIds(UserGroupIdsT&& value) {
151 m_userGroupIdsHasBeenSet = true;
152 m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value));
153 return *this;
154 }
156
158
161 inline const Authentication& GetAuthentication() const { return m_authentication; }
162 template <typename AuthenticationT = Authentication>
163 void SetAuthentication(AuthenticationT&& value) {
164 m_authenticationHasBeenSet = true;
165 m_authentication = std::forward<AuthenticationT>(value);
166 }
167 template <typename AuthenticationT = Authentication>
168 DeleteUserResult& WithAuthentication(AuthenticationT&& value) {
169 SetAuthentication(std::forward<AuthenticationT>(value));
170 return *this;
171 }
173
175
178 inline const Aws::String& GetARN() const { return m_aRN; }
179 template <typename ARNT = Aws::String>
180 void SetARN(ARNT&& value) {
181 m_aRNHasBeenSet = true;
182 m_aRN = std::forward<ARNT>(value);
183 }
184 template <typename ARNT = Aws::String>
185 DeleteUserResult& WithARN(ARNT&& value) {
186 SetARN(std::forward<ARNT>(value));
187 return *this;
188 }
190
192
193 inline const ResponseMetadata& GetResponseMetadata() const { return m_responseMetadata; }
194 template <typename ResponseMetadataT = ResponseMetadata>
195 void SetResponseMetadata(ResponseMetadataT&& value) {
196 m_responseMetadataHasBeenSet = true;
197 m_responseMetadata = std::forward<ResponseMetadataT>(value);
198 }
199 template <typename ResponseMetadataT = ResponseMetadata>
200 DeleteUserResult& WithResponseMetadata(ResponseMetadataT&& value) {
201 SetResponseMetadata(std::forward<ResponseMetadataT>(value));
202 return *this;
203 }
205 private:
206 Aws::String m_userId;
207
208 Aws::String m_userName;
209
210 Aws::String m_status;
211
212 Aws::String m_engine;
213
214 Aws::String m_minimumEngineVersion;
215
216 Aws::String m_accessString;
217
218 Aws::Vector<Aws::String> m_userGroupIds;
219
220 Authentication m_authentication;
221
222 Aws::String m_aRN;
223
224 ResponseMetadata m_responseMetadata;
225 bool m_userIdHasBeenSet = false;
226 bool m_userNameHasBeenSet = false;
227 bool m_statusHasBeenSet = false;
228 bool m_engineHasBeenSet = false;
229 bool m_minimumEngineVersionHasBeenSet = false;
230 bool m_accessStringHasBeenSet = false;
231 bool m_userGroupIdsHasBeenSet = false;
232 bool m_authenticationHasBeenSet = false;
233 bool m_aRNHasBeenSet = false;
234 bool m_responseMetadataHasBeenSet = false;
235};
236
237} // namespace Model
238} // namespace ElastiCache
239} // 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_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