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>
16template <
typename RESULT_TYPE>
17class AmazonWebServiceResult;
24namespace ElastiCache {
37 template <
typename UserIdT = Aws::String>
39 m_userIdHasBeenSet =
true;
40 m_userId = std::forward<UserIdT>(value);
42 template <
typename UserIdT = Aws::String>
54 template <
typename UserNameT = Aws::String>
56 m_userNameHasBeenSet =
true;
57 m_userName = std::forward<UserNameT>(value);
59 template <
typename UserNameT = Aws::String>
71 template <
typename StatusT = Aws::String>
73 m_statusHasBeenSet =
true;
74 m_status = std::forward<StatusT>(value);
76 template <
typename StatusT = Aws::String>
88 template <
typename EngineT = Aws::String>
90 m_engineHasBeenSet =
true;
91 m_engine = std::forward<EngineT>(value);
93 template <
typename EngineT = Aws::String>
105 template <
typename MinimumEngineVersionT = Aws::String>
107 m_minimumEngineVersionHasBeenSet =
true;
108 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
110 template <
typename MinimumEngineVersionT = Aws::String>
122 template <
typename AccessStringT = Aws::String>
124 m_accessStringHasBeenSet =
true;
125 m_accessString = std::forward<AccessStringT>(value);
127 template <
typename AccessStringT = Aws::String>
139 template <
typename UserGroupIdsT = Aws::Vector<Aws::String>>
141 m_userGroupIdsHasBeenSet =
true;
142 m_userGroupIds = std::forward<UserGroupIdsT>(value);
144 template <
typename UserGroupIdsT = Aws::Vector<Aws::String>>
149 template <
typename UserGroupIdsT = Aws::String>
151 m_userGroupIdsHasBeenSet =
true;
152 m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value));
162 template <
typename AuthenticationT = Authentication>
164 m_authenticationHasBeenSet =
true;
165 m_authentication = std::forward<AuthenticationT>(value);
167 template <
typename AuthenticationT = Authentication>
179 template <
typename ARNT = Aws::String>
181 m_aRNHasBeenSet =
true;
182 m_aRN = std::forward<ARNT>(value);
184 template <
typename ARNT = Aws::String>
186 SetARN(std::forward<ARNT>(value));
194 template <
typename ResponseMetadataT = ResponseMetadata>
196 m_responseMetadataHasBeenSet =
true;
197 m_responseMetadata = std::forward<ResponseMetadataT>(value);
199 template <
typename ResponseMetadataT = 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;
CreateUserResult & WithStatus(StatusT &&value)
const Aws::String & GetAccessString() const
const Aws::Vector< Aws::String > & GetUserGroupIds() const
CreateUserResult & WithEngine(EngineT &&value)
void SetStatus(StatusT &&value)
CreateUserResult & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
void SetResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API CreateUserResult()=default
void SetAccessString(AccessStringT &&value)
void SetEngine(EngineT &&value)
const Aws::String & GetUserId() const
const Aws::String & GetEngine() const
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
CreateUserResult & AddUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithUserId(UserIdT &&value)
CreateUserResult & WithAuthentication(AuthenticationT &&value)
void SetARN(ARNT &&value)
AWS_ELASTICACHE_API CreateUserResult & operator=(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
CreateUserResult & WithAccessString(AccessStringT &&value)
const Aws::String & GetARN() const
AWS_ELASTICACHE_API CreateUserResult(const Aws::AmazonWebServiceResult< Aws::Utils::Xml::XmlDocument > &result)
const Authentication & GetAuthentication() const
void SetUserId(UserIdT &&value)
void SetUserName(UserNameT &&value)
const Aws::String & GetMinimumEngineVersion() const
void SetAuthentication(AuthenticationT &&value)
CreateUserResult & WithResponseMetadata(ResponseMetadataT &&value)
const Aws::String & GetStatus() const
const ResponseMetadata & GetResponseMetadata() const
void SetUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithUserGroupIds(UserGroupIdsT &&value)
CreateUserResult & WithARN(ARNT &&value)
CreateUserResult & WithUserName(UserNameT &&value)
const Aws::String & GetUserName() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
Aws::Utils::Xml::XmlDocument XmlDocument