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/InputAuthenticationType.h>
34 AWS_MEMORYDB_API
AuthenticationMode(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
36 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
46 m_typeHasBeenSet =
true;
61 template <
typename PasswordsT = Aws::Vector<Aws::String>>
63 m_passwordsHasBeenSet =
true;
64 m_passwords = std::forward<PasswordsT>(value);
66 template <
typename PasswordsT = Aws::Vector<Aws::String>>
71 template <
typename PasswordsT = Aws::String>
73 m_passwordsHasBeenSet =
true;
74 m_passwords.emplace_back(std::forward<PasswordsT>(value));
82 bool m_typeHasBeenSet =
false;
83 bool m_passwordsHasBeenSet =
false;
AuthenticationMode & WithType(InputAuthenticationType value)
AWS_MEMORYDB_API AuthenticationMode & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AuthenticationMode & WithPasswords(PasswordsT &&value)
AWS_MEMORYDB_API AuthenticationMode()=default
void SetPasswords(PasswordsT &&value)
const Aws::Vector< Aws::String > & GetPasswords() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
InputAuthenticationType GetType() const
AuthenticationMode & AddPasswords(PasswordsT &&value)
void SetType(InputAuthenticationType value)
bool PasswordsHasBeenSet() const
bool TypeHasBeenSet() const
AWS_MEMORYDB_API AuthenticationMode(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
std::vector< T, Aws::Allocator< T > > Vector