7#include <aws/crt/cbor/Cbor.h>
8#include <aws/memorydb/MemoryDB_EXPORTS.h>
9#include <aws/memorydb/model/AuthenticationType.h>
32 AWS_MEMORYDB_API
Authentication(
const std::shared_ptr<Aws::Crt::Cbor::CborDecoder>& decoder);
34 AWS_MEMORYDB_API
void CborEncode(Aws::Crt::Cbor::CborEncoder& encoder)
const;
43 m_typeHasBeenSet =
true;
59 m_passwordCountHasBeenSet =
true;
60 m_passwordCount = value;
70 int64_t m_passwordCount{0};
71 bool m_typeHasBeenSet =
false;
72 bool m_passwordCountHasBeenSet =
false;
bool PasswordCountHasBeenSet() const
Authentication & WithPasswordCount(int64_t value)
AWS_MEMORYDB_API Authentication()=default
AuthenticationType GetType() const
bool TypeHasBeenSet() const
AWS_MEMORYDB_API void CborEncode(Aws::Crt::Cbor::CborEncoder &encoder) const
void SetPasswordCount(int64_t value)
void SetType(AuthenticationType value)
AWS_MEMORYDB_API Authentication(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
AWS_MEMORYDB_API Authentication & operator=(const std::shared_ptr< Aws::Crt::Cbor::CborDecoder > &decoder)
Authentication & WithType(AuthenticationType value)
int64_t GetPasswordCount() const