7#include <aws/core/utils/memory/stl/AWSStreamFwd.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>
22namespace ElastiCache {
27 AWS_ELASTICACHE_API
User() =
default;
40 template <
typename UserIdT = Aws::String>
42 m_userIdHasBeenSet =
true;
43 m_userId = std::forward<UserIdT>(value);
45 template <
typename UserIdT = Aws::String>
58 template <
typename UserNameT = Aws::String>
60 m_userNameHasBeenSet =
true;
61 m_userName = std::forward<UserNameT>(value);
63 template <
typename UserNameT = Aws::String>
76 template <
typename StatusT = Aws::String>
78 m_statusHasBeenSet =
true;
79 m_status = std::forward<StatusT>(value);
81 template <
typename StatusT = Aws::String>
94 template <
typename EngineT = Aws::String>
96 m_engineHasBeenSet =
true;
97 m_engine = std::forward<EngineT>(value);
99 template <
typename EngineT = Aws::String>
112 template <
typename MinimumEngineVersionT = Aws::String>
114 m_minimumEngineVersionHasBeenSet =
true;
115 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
117 template <
typename MinimumEngineVersionT = Aws::String>
130 template <
typename AccessStringT = Aws::String>
132 m_accessStringHasBeenSet =
true;
133 m_accessString = std::forward<AccessStringT>(value);
135 template <
typename AccessStringT = Aws::String>
148 template <
typename UserGroupIdsT = Aws::Vector<Aws::String>>
150 m_userGroupIdsHasBeenSet =
true;
151 m_userGroupIds = std::forward<UserGroupIdsT>(value);
153 template <
typename UserGroupIdsT = Aws::Vector<Aws::String>>
158 template <
typename UserGroupIdsT = Aws::String>
160 m_userGroupIdsHasBeenSet =
true;
161 m_userGroupIds.emplace_back(std::forward<UserGroupIdsT>(value));
172 template <
typename AuthenticationT = Authentication>
174 m_authenticationHasBeenSet =
true;
175 m_authentication = std::forward<AuthenticationT>(value);
177 template <
typename AuthenticationT = Authentication>
190 template <
typename ARNT = Aws::String>
192 m_aRNHasBeenSet =
true;
193 m_aRN = std::forward<ARNT>(value);
195 template <
typename ARNT = Aws::String>
197 SetARN(std::forward<ARNT>(value));
205 template <
typename ResponseMetadataT = ResponseMetadata>
207 m_responseMetadataHasBeenSet =
true;
208 m_responseMetadata = std::forward<ResponseMetadataT>(value);
210 template <
typename ResponseMetadataT = ResponseMetadata>
236 bool m_userIdHasBeenSet =
false;
237 bool m_userNameHasBeenSet =
false;
238 bool m_statusHasBeenSet =
false;
239 bool m_engineHasBeenSet =
false;
240 bool m_minimumEngineVersionHasBeenSet =
false;
241 bool m_accessStringHasBeenSet =
false;
242 bool m_userGroupIdsHasBeenSet =
false;
243 bool m_authenticationHasBeenSet =
false;
244 bool m_aRNHasBeenSet =
false;
245 bool m_responseMetadataHasBeenSet =
true;
const Aws::Vector< Aws::String > & GetUserGroupIds() const
User & WithUserGroupIds(UserGroupIdsT &&value)
bool MinimumEngineVersionHasBeenSet() const
User & WithUserId(UserIdT &&value)
const Authentication & GetAuthentication() const
User & AddUserGroupIds(UserGroupIdsT &&value)
void SetUserName(UserNameT &&value)
bool StatusHasBeenSet() const
AWS_ELASTICACHE_API User & operator=(const Aws::Utils::Xml::XmlNode &xmlNode)
User & WithAccessString(AccessStringT &&value)
void SetUserId(UserIdT &&value)
bool EngineHasBeenSet() const
const Aws::String & GetEngine() const
User & WithUserName(UserNameT &&value)
const Aws::String & GetMinimumEngineVersion() const
bool ARNHasBeenSet() const
bool UserIdHasBeenSet() const
bool AccessStringHasBeenSet() const
void SetAuthentication(AuthenticationT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &oStream, const char *location) const
void SetUserGroupIds(UserGroupIdsT &&value)
const Aws::String & GetAccessString() const
void SetAccessString(AccessStringT &&value)
void SetARN(ARNT &&value)
bool UserNameHasBeenSet() const
bool AuthenticationHasBeenSet() const
User & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
const Aws::String & GetStatus() const
bool UserGroupIdsHasBeenSet() const
const Aws::String & GetUserId() const
User & WithStatus(StatusT &&value)
User & WithARN(ARNT &&value)
User & WithResponseMetadata(ResponseMetadataT &&value)
AWS_ELASTICACHE_API User()=default
const Aws::String & GetUserName() const
User & WithAuthentication(AuthenticationT &&value)
void SetEngine(EngineT &&value)
const ResponseMetadata & GetResponseMetadata() const
AWS_ELASTICACHE_API User(const Aws::Utils::Xml::XmlNode &xmlNode)
void SetResponseMetadata(ResponseMetadataT &&value)
User & WithEngine(EngineT &&value)
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
AWS_ELASTICACHE_API void OutputToStream(Aws::OStream &ostream, const char *location, unsigned index, const char *locationValue) const
const Aws::String & GetARN() const
void SetStatus(StatusT &&value)
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector
std::basic_ostream< char, std::char_traits< char > > OStream