7#include <aws/core/utils/memory/stl/AWSString.h>
8#include <aws/core/utils/memory/stl/AWSVector.h>
9#include <aws/crt/cbor/Cbor.h>
10#include <aws/memorydb/MemoryDB_EXPORTS.h>
11#include <aws/memorydb/model/Authentication.h>
34 AWS_MEMORYDB_API
User() =
default;
35 AWS_MEMORYDB_API
User(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_MEMORYDB_API
User&
operator=(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
37 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
45 template <
typename NameT = Aws::String>
47 m_nameHasBeenSet =
true;
48 m_name = std::forward<NameT>(value);
50 template <
typename NameT = Aws::String>
52 SetName(std::forward<NameT>(value));
63 template <
typename StatusT = Aws::String>
65 m_statusHasBeenSet =
true;
66 m_status = std::forward<StatusT>(value);
68 template <
typename StatusT = Aws::String>
81 template <
typename AccessStringT = Aws::String>
83 m_accessStringHasBeenSet =
true;
84 m_accessString = std::forward<AccessStringT>(value);
86 template <
typename AccessStringT = Aws::String>
99 template <
typename ACLNamesT = Aws::Vector<Aws::String>>
101 m_aCLNamesHasBeenSet =
true;
102 m_aCLNames = std::forward<ACLNamesT>(value);
104 template <
typename ACLNamesT = Aws::Vector<Aws::String>>
109 template <
typename ACLNamesT = Aws::String>
111 m_aCLNamesHasBeenSet =
true;
112 m_aCLNames.emplace_back(std::forward<ACLNamesT>(value));
123 template <
typename MinimumEngineVersionT = Aws::String>
125 m_minimumEngineVersionHasBeenSet =
true;
126 m_minimumEngineVersion = std::forward<MinimumEngineVersionT>(value);
128 template <
typename MinimumEngineVersionT = Aws::String>
141 template <
typename AuthenticationT = Authentication>
143 m_authenticationHasBeenSet =
true;
144 m_authentication = std::forward<AuthenticationT>(value);
146 template <
typename AuthenticationT = Authentication>
159 template <
typename ARNT = Aws::String>
161 m_aRNHasBeenSet =
true;
162 m_aRN = std::forward<ARNT>(value);
164 template <
typename ARNT = Aws::String>
166 SetARN(std::forward<ARNT>(value));
184 bool m_nameHasBeenSet =
false;
185 bool m_statusHasBeenSet =
false;
186 bool m_accessStringHasBeenSet =
false;
187 bool m_aCLNamesHasBeenSet =
false;
188 bool m_minimumEngineVersionHasBeenSet =
false;
189 bool m_authenticationHasBeenSet =
false;
190 bool m_aRNHasBeenSet =
false;
const Aws::String & GetARN() const
void SetAuthentication(AuthenticationT &&value)
bool MinimumEngineVersionHasBeenSet() const
bool ARNHasBeenSet() const
AWS_MEMORYDB_API User(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
User & WithARN(ARNT &&value)
void SetMinimumEngineVersion(MinimumEngineVersionT &&value)
const Aws::String & GetAccessString() const
const Aws::String & GetName() const
void SetAccessString(AccessStringT &&value)
const Aws::String & GetStatus() const
User & WithAccessString(AccessStringT &&value)
void SetStatus(StatusT &&value)
User & WithACLNames(ACLNamesT &&value)
AWS_MEMORYDB_API User & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API User()=default
bool NameHasBeenSet() const
bool ACLNamesHasBeenSet() const
User & AddACLNames(ACLNamesT &&value)
void SetACLNames(ACLNamesT &&value)
bool StatusHasBeenSet() const
User & WithAuthentication(AuthenticationT &&value)
bool AuthenticationHasBeenSet() const
User & WithStatus(StatusT &&value)
void SetARN(ARNT &&value)
User & WithName(NameT &&value)
User & WithMinimumEngineVersion(MinimumEngineVersionT &&value)
const Aws::Vector< Aws::String > & GetACLNames() const
bool AccessStringHasBeenSet() const
void SetName(NameT &&value)
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
const Authentication & GetAuthentication() const
const Aws::String & GetMinimumEngineVersion() const
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
std::vector< T, Aws::Allocator< T > > Vector