7#include <aws/elasticache/ElastiCache_EXPORTS.h>
8#include <aws/elasticache/ElastiCacheRequest.h>
9#include <aws/core/utils/memory/stl/AWSString.h>
10#include <aws/core/utils/memory/stl/AWSVector.h>
11#include <aws/elasticache/model/AuthenticationMode.h>
12#include <aws/elasticache/model/Tag.h>
50 inline void SetUserId(
const char* value) { m_userIdHasBeenSet =
true; m_userId.assign(value); }
64 inline void SetUserName(
const char* value) { m_userNameHasBeenSet =
true; m_userName.assign(value); }
78 inline void SetEngine(
const char* value) { m_engineHasBeenSet =
true; m_engine.assign(value); }
108 inline void SetAccessString(
const char* value) { m_accessStringHasBeenSet =
true; m_accessString.assign(value); }
120 inline void SetNoPasswordRequired(
bool value) { m_noPasswordRequiredHasBeenSet =
true; m_noPasswordRequired = value; }
153 bool m_userIdHasBeenSet =
false;
156 bool m_userNameHasBeenSet =
false;
159 bool m_engineHasBeenSet =
false;
162 bool m_passwordsHasBeenSet =
false;
165 bool m_accessStringHasBeenSet =
false;
167 bool m_noPasswordRequired;
168 bool m_noPasswordRequiredHasBeenSet =
false;
171 bool m_tagsHasBeenSet =
false;
174 bool m_authenticationModeHasBeenSet =
false;
void SetAccessString(const char *value)
CreateUserRequest & WithNoPasswordRequired(bool value)
void SetUserName(Aws::String &&value)
void SetUserId(const char *value)
CreateUserRequest & WithEngine(const char *value)
void SetEngine(const Aws::String &value)
CreateUserRequest & WithTags(const Aws::Vector< Tag > &value)
bool GetNoPasswordRequired() const
void SetTags(const Aws::Vector< Tag > &value)
CreateUserRequest & WithPasswords(Aws::Vector< Aws::String > &&value)
CreateUserRequest & WithAuthenticationMode(const AuthenticationMode &value)
CreateUserRequest & WithUserId(const char *value)
bool UserIdHasBeenSet() const
void SetTags(Aws::Vector< Tag > &&value)
void SetAccessString(Aws::String &&value)
void SetAuthenticationMode(AuthenticationMode &&value)
const Aws::String & GetEngine() const
CreateUserRequest & WithUserName(const Aws::String &value)
void SetEngine(const char *value)
bool UserNameHasBeenSet() const
const Aws::Vector< Aws::String > & GetPasswords() const
CreateUserRequest & WithUserId(const Aws::String &value)
CreateUserRequest & AddPasswords(const char *value)
const Aws::Vector< Tag > & GetTags() const
CreateUserRequest & WithAuthenticationMode(AuthenticationMode &&value)
CreateUserRequest & WithAccessString(const Aws::String &value)
CreateUserRequest & WithEngine(Aws::String &&value)
void SetUserName(const char *value)
void SetAuthenticationMode(const AuthenticationMode &value)
bool AccessStringHasBeenSet() const
void SetPasswords(const Aws::Vector< Aws::String > &value)
CreateUserRequest & WithAccessString(const char *value)
const Aws::String & GetUserId() const
void SetUserName(const Aws::String &value)
const Aws::String & GetAccessString() const
bool AuthenticationModeHasBeenSet() const
virtual const char * GetServiceRequestName() const override
CreateUserRequest & WithEngine(const Aws::String &value)
CreateUserRequest & WithTags(Aws::Vector< Tag > &&value)
bool PasswordsHasBeenSet() const
void SetUserId(const Aws::String &value)
AWS_ELASTICACHE_API void DumpBodyToUrl(Aws::Http::URI &uri) const override
bool NoPasswordRequiredHasBeenSet() const
const Aws::String & GetUserName() const
void SetNoPasswordRequired(bool value)
CreateUserRequest & WithUserName(Aws::String &&value)
void SetEngine(Aws::String &&value)
AWS_ELASTICACHE_API CreateUserRequest()
CreateUserRequest & AddPasswords(Aws::String &&value)
CreateUserRequest & AddTags(const Tag &value)
CreateUserRequest & AddTags(Tag &&value)
CreateUserRequest & AddPasswords(const Aws::String &value)
CreateUserRequest & WithPasswords(const Aws::Vector< Aws::String > &value)
CreateUserRequest & WithUserName(const char *value)
bool EngineHasBeenSet() const
const AuthenticationMode & GetAuthenticationMode() const
void SetUserId(Aws::String &&value)
void SetAccessString(const Aws::String &value)
CreateUserRequest & WithAccessString(Aws::String &&value)
void SetPasswords(Aws::Vector< Aws::String > &&value)
CreateUserRequest & WithUserId(Aws::String &&value)
AWS_ELASTICACHE_API Aws::String SerializePayload() const override
bool TagsHasBeenSet() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector