7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/memorydb/MemoryDBRequest.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/AuthenticationMode.h>
12#include <aws/memorydb/model/Tag.h>
43 template <
typename UserNameT = Aws::String>
45 m_userNameHasBeenSet =
true;
46 m_userName = std::forward<UserNameT>(value);
48 template <
typename UserNameT = Aws::String>
62 template <
typename AuthenticationModeT = AuthenticationMode>
64 m_authenticationModeHasBeenSet =
true;
65 m_authenticationMode = std::forward<AuthenticationModeT>(value);
67 template <
typename AuthenticationModeT = AuthenticationMode>
80 template <
typename AccessStringT = Aws::String>
82 m_accessStringHasBeenSet =
true;
83 m_accessString = std::forward<AccessStringT>(value);
85 template <
typename AccessStringT = Aws::String>
99 template <
typename TagsT = Aws::Vector<Tag>>
101 m_tagsHasBeenSet =
true;
102 m_tags = std::forward<TagsT>(value);
104 template <
typename TagsT = Aws::Vector<Tag>>
106 SetTags(std::forward<TagsT>(value));
109 template <
typename TagsT = Tag>
111 m_tagsHasBeenSet =
true;
112 m_tags.emplace_back(std::forward<TagsT>(value));
124 bool m_userNameHasBeenSet =
false;
125 bool m_authenticationModeHasBeenSet =
false;
126 bool m_accessStringHasBeenSet =
false;
127 bool m_tagsHasBeenSet =
false;
bool AccessStringHasBeenSet() const
CreateUserRequest & AddTags(TagsT &&value)
AWS_MEMORYDB_API Aws::Http::HeaderValueCollection GetRequestSpecificHeaders() const override
CreateUserRequest & WithAccessString(AccessStringT &&value)
AWS_MEMORYDB_API Aws::String SerializePayload() const override
void SetAccessString(AccessStringT &&value)
virtual const char * GetServiceRequestName() const override
void SetTags(TagsT &&value)
bool UserNameHasBeenSet() const
const Aws::String & GetAccessString() const
const Aws::String & GetUserName() const
AWS_MEMORYDB_API CreateUserRequest()=default
bool TagsHasBeenSet() const
bool AuthenticationModeHasBeenSet() const
void SetAuthenticationMode(AuthenticationModeT &&value)
CreateUserRequest & WithUserName(UserNameT &&value)
const AuthenticationMode & GetAuthenticationMode() const
const Aws::Vector< Tag > & GetTags() const
CreateUserRequest & WithAuthenticationMode(AuthenticationModeT &&value)
CreateUserRequest & WithTags(TagsT &&value)
void SetUserName(UserNameT &&value)
Aws::Map< Aws::String, Aws::String > HeaderValueCollection
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector